News:

AbanteCart v1.4.2 is released.

Main Menu

Use coupon for certain category only

Started by Sam_78, December 04, 2023, 06:35:56 PM

Previous topic - Next topic

Sam_78

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.

Basara

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

Forum Rules Code of conduct
AbanteCart.com 2010 -