AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: Sam_78 on December 04, 2023, 06:35:56 PM
-
Hi, is there a way to have coupon apply only to certain products or a selected category ? I added category A for a coupon of 10% discount but now if customer adds coin from category A & B both coupon is applied to total. I want it to apply to only to those product belonging to category A not the entire cart.
-
Hello.
This is expected behavior. If you want to change how the coupon applies you can change this file https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/model/total/coupon.php
The Github Pull request is always welcome