You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anyone had to implement a similar scenario to this one?
Currently, when a customer uses a coupon, the next time that the same users tries to use that coupon receives the message "You can use the same promo code only once."
Would altering the validation condition there be a good start? I already added my logic to check if it's the correct coupon and it allows it to be used, adding it to the cart and the order itself.
Open to suggestions/ideas, eventually would like to contribute that logic to the core - if needed/requested.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi everyone!
Has anyone had to implement a similar scenario to this one?
Currently, when a customer uses a coupon, the next time that the same users tries to use that coupon receives the message "You can use the same promo code only once."
I found that the validation is being done in
plugins\offline\mall\classes\traits\cart\Discounts.php
Would altering the validation condition there be a good start? I already added my logic to check if it's the correct coupon and it allows it to be used, adding it to the cart and the order itself.
Open to suggestions/ideas, eventually would like to contribute that logic to the core - if needed/requested.
Thanks.
The text was updated successfully, but these errors were encountered: