X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Modifying the special offer add on (https://forum.x-cart.com/showthread.php?t=77484)

siddharth.puri@wheelandba 01-09-2020 05:43 PM

Modifying the special offer add on
1 Attachment(s)
Hi I need help modifying the special offer module

We have this special offer set up - Buy x get y where the user has to buy 4 products in total and we can select the categories the customer can buy from underneath (see image attached)
Now the customer can buy 4 products from one and nothing from other. there is an OR condition here Category 1 || Category 2

If we can change it to AND condition it will solve the problem. because then they have to buy the single product that is present in Category 1 to avail the offer

Where can I change the OR condition to AND therefore forcing the customer to buy from both categories.

All times are GMT -8. The time now is 09:45 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.