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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.