| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Exclude Products from Percent Off Special Offers | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Exclude Products from Percent Off Special Offers
We often run store wide sales but have to exclude certain products or categories. We have the xcart Special Offers module installed so I modified it to exclude the products that we don't want to have the sale applied to.
To do this open modules\Special_Offers\func.php and search for "case 'D':" and change it to: Quote:
Now any product that you want to exclude from a site wide sale in Special Offers just uncheck the "Apply Global Discounts" box in the Product Admin page. If you have a ton of products from one company that you want to exclude and have access to php_myadim you can run the following script to update them (just add whatever your table prefix is and put in the company name Quote:
__________________
X-Cart 4.1.6 |
|||||||
#2
|
|||||||
|
|||||||
Re: Exclude Products from Percent Off Special Offers
Hi KurtVeloc,
I'm trying to apply discount via Special Offers as well, but i want to limit the discount to only one category. Supposing using your method above, if I were to change the discount_avail from "Y" to "N", meaning "if($product["discount_avail"] =="N"){", will it work? This is because I have quite a few discounts happening altogether, like the global discount and discount coupon.. is there a way to mod this? Thanks!
__________________
Vi8e Interactive X-Cart Gold 4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|