Posted on

Add a custom attribute to Cart Price Rule Coupon

I want to add a boolean attribute published to the coupon rule form (different from activate) but the same kind of attribute.

From what I see the only attribute linked are product attributes.

I’ve found this as a reference : Add attribute to Shopping Cart Price Rule coupon

But it’s kinda old already.

Though, It’s giving the idea of extending the table salesrule to add one column.

But I’m not really sure this is the best practice cause it would modify a core table.
Have you ever been facing this issue ? Thanks.

Leave a Reply

Your email address will not be published.