Zen Cart Logo
Forums / All Other Contributions/Addons / How to exclude "Sold: NET" items from Quantity discount module

How to exclude "Sold: NET" items from Quantity discount module

Views: 639

Results 1 to 4 of 4
19 Jan 2015, 9:13 AM
#1
mnow avatar

mnow

New Zenner

Join Date:
Jan 2015
Location:
Michigan
Posts:
2
Plugin Contributions:
0

How to exclude "Sold: NET" items from Quantity discount module

I have around 400 items that are sold as NET out of 8000 and would like to find a convenient way to exclude them from quantity discount.
Under v_products_description_1, I have items described as this; Country Fishing<br/>Size: Mural<br/>Pieces: 1<br/>Sold: Net<br/>Crystal: 0<br/>Dimensions: 18" x 14"
and would like to exclude these from the discount.

19 Jan 2015, 12:24 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,701
Plugin Contributions:
56

Re: How to exclude "Sold: NET" items from Quantity discount module

I assume you're talking about my Quantity Discounts module from the plugins section, not the native Quantity Discounting feature, accessed through the Products Price Manager, right?

If so, you'll need to customize the function exclude_product. Retrieve the description and search for the string you're using ("Sold: Net").

20 Jan 2015, 10:24 AM
#3
mnow avatar

mnow

New Zenner

Join Date:
Jan 2015
Location:
Michigan
Posts:
2
Plugin Contributions:
0

Re: How to exclude "Sold: NET" items from Quantity discount module

Yes, your Quantity discount mod works wonders.

Just need to know how exactly would I "Retrive" the description and search for the string?
I am assuming in include/modules/order_total.php?

20 Jan 2015, 11:23 AM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,701
Plugin Contributions:
56

Re: How to exclude "Sold: NET" items from Quantity discount module

Correct.
Look in the FAQ - I posted an example of how to do this.
http://www.thatsoftwareguy.com/zencart_quantity_discounts.html#faq