Forums / Setting Up Categories, Products, Attributes / Wrong prices with Qty Discounts that apply to mixed attributes

Wrong prices with Qty Discounts that apply to mixed attributes

Locked

Views: 1,561

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
7 Jan 2010, 10:33 PM
#1
bodyjewelrystores avatar

bodyjewelrystores

Zen Follower

Join Date:
Jun 2006
Posts:
123
Plugin Contributions:
0

Wrong prices with Qty Discounts that apply to mixed attributes

We have a store where most products have qty discounts (of the "Actual Price" discount type - i.e. fixed price breakdowns for each range of quantities).

The problem appears when the item also has different "color" attributes. The color attributes themselves do not affect price - but if more than one color is added to cart, the quantity discount start messing up. Here's an example of what happens.

The product is priced like this -

  • Price: $2.85

  • Qty Min: 2

  • Qty Units: 2
    And the discount qtys are set up like this -

  • Discount Qty Applies to Mixed Attributes: Yes

  • Discount Type: Actual Price

  • Discount Levels:

  1. min qty = 6, discount value = $1.95
  2. min qty = 12, discount value = $1.75
  3. min qty = 24, discount value = $1.55

Now, the product has 3 colors. Let's say that 2 units of each color are added to cart (=6 in total).
The discounts apply to mixed attributes - so according to the discount levels, the unit price should be $1.95 for all of them. Right?

Right? ...Wrong. This is what happens in the shopping cart:

  • Color A: Qty = 2, Unit price = $2.85, Total = $5.70
  • Color B: Qty = 2, Unit price = $2.85, Total = $5.70
  • Color C: Qty = 2, Unit price = $1.95, Total = $3.90

Obviously, this is very far from our intention.
What's happening here? Why is it applying the discount only to one of the colors? What can I do to get it to apply the correct unit price to all colors of this product - based on the total qty in cart?

Would appreciate any help... this problem is already showing up in orders - so I really should solve this as soon as possible.

Thanks in advance

8 Jan 2010, 1:22 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Wrong prices with Qty Discounts that apply to mixed attributes

Check that you have applied all of the Known Bug Fixes for v1.3.8 to your site:
http://www.zen-cart.com/forum/showthread.php?t=82619

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Jan 2010, 12:54 PM
#3
bodyjewelrystores avatar

bodyjewelrystores

Zen Follower

Join Date:
Jun 2006
Posts:
123
Plugin Contributions:
0

Re: Wrong prices with Qty Discounts that apply to mixed attributes

Ajeh:

Check that you have applied all of the Known Bug Fixes for v1.3.8 to your site:
http://www.zen-cart.com/forum/showthread.php?t=82619

Thanks - found it, all works well now!

Funny, I could swear I've already gone over this list before we uploaded the live site... guess I did that without the proper amounts of caffeine in the system :) Thanks for the heads-up.

8 Jan 2010, 2:24 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Wrong prices with Qty Discounts that apply to mixed attributes

Thanks for the update that adding the Known Bug Fixes to v1.3.8 was able to resolve the pricing problem on your Discount Quantities ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!