Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Quantity Discounts and Options

Quantity Discounts and Options

Views: 3,059

Results 1 to 18 of 18
6 Jan 2011, 7:13 AM
#1
fredmccay avatar

fredmccay

New Zenner

Join Date:
Dec 2010
Posts:
60
Plugin Contributions:
0

Quantity Discounts and Options

i am using Zencart 1.3.9 and have the following issue. I have many products that are discounted according to price such as:
10-100 $3.99
101-500 $3.75
501-1000 $3.50
this works great and is easy to set up.
Now, when I add options such as colors or size my discounts all stop working. The options I use do not modify the price in any way. Obviously I am missing setting a switch somewhere but I have searched for a long time and seem to be lost.

Any guidance is much appreciated.

Fred McCaughey
[email protected]
https://www.idsupply.co

6 Jan 2011, 9:10 AM
#2
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts and Options

Go to configuration->attribute settings and set "Enable Qty Price Discount" to true.

6 Jan 2011, 9:20 AM
#3
fredmccay avatar

fredmccay

New Zenner

Join Date:
Dec 2010
Posts:
60
Plugin Contributions:
0

Re: Quantity Discounts and Options

Thank you fro the reply. I already have it set to true. the discounts all worked until I added no cost options such as colors, size, etc.

Appreciate your help,
Fred McCaughey

6 Jan 2011, 9:24 AM
#4
fredmccay avatar

fredmccay

New Zenner

Join Date:
Dec 2010
Posts:
60
Plugin Contributions:
0

Re: Quantity Discounts and Options

Do I need to manually add the discount schedule to the options (like color) as well and if so what is the proper syntax to do so?

Thank You,
Fred McCaughey

6 Jan 2011, 9:33 AM
#5
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts and Options

When you created the quantity discounts did you set the "Discount Qty Applies to Mixed Attributes" radio button to "Yes"?

6 Jan 2011, 10:07 AM
#6
fredmccay avatar

fredmccay

New Zenner

Join Date:
Dec 2010
Posts:
60
Plugin Contributions:
0

Re: Quantity Discounts and Options

Thank you so much. That solved the problem.

Regards,
Fred McCaughey
https://www.idsupply.co

13 Jan 2011, 2:35 AM
#7
fredmccay avatar

fredmccay

New Zenner

Join Date:
Dec 2010
Posts:
60
Plugin Contributions:
0

Re: Quantity Discounts and Options

Is Zencart buggy or me? I have been trying to figure out why all my add to cart buttons disappered from product pages once I started adding pages that had product options. Now i find that some one of them does not work right. If you go to http://idsupply.co/index.php?main_page=index&cPath=5 and select 10 in color black and a 1000 in color blue the prices in the cart will reflect the correct prices. If you select the BR4 and do the same both prices go to the 1000 piece price. I've been messing with things as the add to cart buttons vanished from my product detail pages once I started adding products with options.

Any help is greatly appreciated a,d I'll buy you a beer or whatever.
Fred McCaughey
[email protected]
https://www.idsupply.com

13 Jan 2011, 2:37 AM
#8
fredmccay avatar

fredmccay

New Zenner

Join Date:
Dec 2010
Posts:
60
Plugin Contributions:
0

Re: Quantity Discounts and Options

sorry for the bad typing, my frustration level is high and so is my blood pressure

13 Jan 2011, 2:49 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Quantity Discounts and Options

Check the settings on the Products for the Mixed being ON or OFF ...

13 Jan 2011, 11:56 PM
#11
fredmccay avatar

fredmccay

New Zenner

Join Date:
Dec 2010
Posts:
60
Plugin Contributions:
0

Re: Quantity Discounts and Options

I have tried it on and off. Doesn't seem to make a difference

14 Jan 2011, 12:34 AM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Quantity Discounts and Options

Then I have no clue ...

I go to one Product that this works on and one that it does not and the only difference should be the Mixed setting ...

28 Jan 2011, 5:02 PM
#13
sylvanite avatar

sylvanite

New Zenner

Join Date:
Jan 2011
Posts:
5
Plugin Contributions:
0

Re: Quantity Discounts and Options

I'm seeing a similar problem. I have products with attributes and I want to configure them with a product quantity discount.

Products without attributes seem to work just fine, but the discounts behave strangely once attributes come into play. For example, I have a product X, that costs $2.50. It has an option Color, which has option values Red, Green, and Blue. I have configured a quantity discount under Products Price Manager. Quantity 5 receives a $0.25 discount and quantity 10 receives a $0.50 discount. I have Configuration>Attribute Settings>Enable Qty Price Discount set to true. Under Product Price Manager, I have "Discount Qty Applies to Mixed Attributes" set to Yes. Product X is configured with "Product Priced by Attributes" set to No. All colors have an attribute price of 0.

Now, if I add 2 of each color of product X to my shopping cart, the first two I added show up at unit price $2.50 (no discount) and the third color shows up at $2.25 (qty 5 discount price). It doesn't seem to matter which color is which. Rather the last one gets the discount and the first two don't. If I add 2 more of each (for a total of 4 of each color), then the shopping cart shows a unit price of $2.25 (qty 5 discount) for the first color, $2.50 (no discount) for the second color, and $2.00 (qty 10 discount) for the third. I'm at a complete loss to explain this behavior.

It doesn't seem to matter what Discount Type (percentage, acutal price, or amount off) I set. The behavior is the same.

If I set Discount Qty Applies to Mixed Attributes to No, then discounts work as expected, but I want to combine attributes for quantity discount.

If I change the product to "Product Priced by Attributes" = Yes, then the discounts all disappear and go back to $2.50 unit price.

Can anybody shed some light on what is happening? How can I get product quantity discounts to work on products with attributes?

Thanks,
Eric

28 Jan 2011, 5:46 PM
#14
fredmccay avatar

fredmccay

New Zenner

Join Date:
Dec 2010
Posts:
60
Plugin Contributions:
0

Re: Quantity Discounts and Options

Try setting Discount Qty Applies to Mixed Attributes to Yes, that is why my discount pricing was acting as you desire, adding together all the products no matter what color, etc. and applying the discount to them all based on the quantity. I did not want mine to act that way.

28 Jan 2011, 6:38 PM
#15
sylvanite avatar

sylvanite

New Zenner

Join Date:
Jan 2011
Posts:
5
Plugin Contributions:
0

Re: Quantity Discounts and Options

I found my answer at http://www.zen-cart.com/forum/showpost.php?p=610860&postcount=24. Apparently this was a known bug in 1.3.8 (which is what I'm using at the moment). Applying this fix corrected my problem.

Regards,
Eric

11 May 2011, 7:09 PM
#16
tabascoman avatar

tabascoman

New Zenner

Join Date:
Oct 2010
Location:
Arizona
Posts:
10
Plugin Contributions:
0

Re: Quantity Discounts and Options

I have been trying to troubleshoot my issue for 2 weeks into the wee hours with no luck.

I am using Zen Cart Versions 1.3.9h and 1.3.9g both versions are not giving desired results.
I'm using "grid module" on the 1.3.9g site and no grid on the 1.3.9h site ( I want to use grid but did not install on 1.3.9h to simplify troubleshooting.)

The expected result is to have my product ( xyz shirt) have multiple amounts of sizes at a variety of quantities (5 sm, 19 med, 21 lg) with other attributes such as number of inks to rollup to the lowest pricing tier for it's respective attribute.
The "Pricing Manager" does Aggregate QTYs and applies the lowest tiered discounts, but I need more flexibility.

I've tried a number of settings:

Product Priced by Attributes: "YES" *Display price will include lowest group attributes prices plus price

Product Qty Min/Unit Mix: "YES"

Discount Qty Applies to Mixed Attributes "Yes" although, I not using the "Pricing Manager"

I have a product (xyz shirt) priced at $10.00 available in Sm,Med,large,XL, XXL
I have "number of inks" attribute

one ink $5.00
Attributes Qty Price Discount: one ink: 10:-1.00,20:-2.00,30:-3.00,40:-4.00

two ink $6.00
Attributes Qty Price Discount: two ink: 10:-1.10,20:-2.25,30:-3.25,40:-4.25

three ink $7.00
Attributes Qty Price Discount: three ink: 10:-1.20,20:-2.35,30:-3.35,40:-4.35

So when I have "xyz" products in my cart I get:

5 med (1ink) unit price: $ 14.00
19 sm (1ink) unit price: $ 13.00
21 lg (1ink) unit price: $ 12.00

I would like my test product to be aggregated (total 45 units) since it is the same product and "include lowest group attributes prices plus price"
($10 xyz shirt + $5.00 ink) (45 units @ the 40 tier -$4.00 pricing )

5 med unit price: $11.00
19 sm unit price: $ 1100
21 lg unit price: $ 11.00

I hope I am making sense and have provided adequate information. I have attached image of a pricing spreadsheet with closer to real world structure, not necessarily pricing.
The QTY discount table is what I'm trying to apply.

HELP,

Tired in Phoenix

12 May 2011, 6:39 PM
#17
tabascoman avatar

tabascoman

New Zenner

Join Date:
Oct 2010
Location:
Arizona
Posts:
10
Plugin Contributions:
0

Re: Quantity Discounts and Options

...and I have validated that the bug in 1.3.8 was corrected in my 1.3.9X version(s).

// reset($this->contents); // breaks cart
$check_contents = $this->contents;
reset($check_contents);
while (list($products_id, ) = each($check_contents)) {

This is the closest issue to mine I could find.

plz help...:lamo:

3 Jun 2013, 9:01 PM
#18
msegal3 avatar

msegal3

New Zenner

Join Date:
May 2013
Location:
United States
Posts:
1
Plugin Contributions:
0

Re: Quantity Discounts and Options

"When you created the quantity discounts did you set the "Discount Qty Applies to Mixed Attributes" radio button to "Yes"?"

This fixed my problem as well. Thanks! :)