How to use custom validation rules with coupon codes ?

  • Andrea
  • Andrea's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
2 months 2 weeks ago #117090 by Andrea
Hi Tuan,

I would like to write a custom validation rule, which checks the coupon code inserted by the user. What is the field value name that I need to use into my function ?

Thanks!

Regards Andrea.

Visit my page! www.elementotango.it

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #117093 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to use custom validation rules with coupon codes ?
Hi Andrea

Coupon code, unfortunately, not a custom field, so you could not add a validation rule to it

Tuan

Please Log in or Create an account to join the conversation.

  • Andrea
  • Andrea's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
2 months 2 weeks ago #117097 by Andrea
Hi Tuan, at least I tried :-) It means I will definitely need to wait for the next release for the full fixes to the coupons' error display :-) !

Thanks!
Andrea.

Visit my page! www.elementotango.it

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc