Adding a cart rule condition
-
I would like to add a custom coupon rule that discounts an entire category. Can I add this without editing the source code?
Or could this be the same item as https://forums.bagisto.com/topic/154/how-can-i-add-coupon-code-using-api
-
Hi,
We will release this feature in next release & you need to edit source code for it.
Thanks
-
To add new conditions under Cart Item Attribute you need to follow the below steps: Step 1: Create registration php under. we will add custom sales rule conditions in slope unblocked the custom module. It allows us to create dynamic conditions for the shopping carts.The difference between the two is that Catalog Price Rules represent promotions on category or product pages while Cart Price Rule applies promotions to the Cart in the Checkout phase. Offers like coupon code, free shipping, discounts in order total, buy 1 get 1 free, etc., are examples of Cart Price Rule.
-
Hello there,
Also, you can take a reference from here cart rule and catalog rule.