Forums / Bug Reports / [Duplicate] Mixed Attributes ON - Quantity Discounts - not calculating correctly

[Duplicate] Mixed Attributes ON - Quantity Discounts - not calculating correctly

Locked

Views: 2,306

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
1 Feb 2009, 12:41 PM
#1
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

[Duplicate] Mixed Attributes ON - Quantity Discounts - not calculating correctly

ZC 138a
Fresh Install, Demo store
No addons
Totally uncustomized
Prob started right after install

  1. Did fresh install of zc138a and enabled the demo store

  2. Added an item called Widget 1:

Price: $100.00
Weight: 1 pound

  1. Added Color Attribute from native selections: 9 colors, black default, no pricing features for attributes

  2. Added 5 Quantity Discount boxes:

2:$90
4:$80
6:$70
8:$60
10:$50


  1. Added "Widget 1" to shopping cart:

1 Black
2 Blue
4 Brown


  1. With "Discount Qty Applies to Mixed Attributes" OFF, shopping cart shows:

1 Black - $100.00 ($100.00 each)
2 Blue - $180.00 ($90.00 each)
4 Brown - $320.00 ($80.00 each)

All above is correct

  1. However, with "Discount Qty Applies to Mixed Attributes" ON, shopping cart shows:

1 Black - $70.00 ($70.00 each)
2 Blue - $160.00 ($80.00 each)
4 Brown - $$280.00 ($70.00 each)

See the "2 Blue - $160.00 ($80.00 each)" ?

Rather, that should be:

2 Blue - $140.00 ($70.00 each) with Discount Qty Applies to Mixed Attributes ON (if I understand things correctly)

1 Feb 2009, 3:09 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Duplicate] Mixed Attributes ON - Quantity Discounts - not calculating correctly

Isn't this a duplicate of this other duplicate? http://www.zen-cart.com/forum/showthread.php?t=109077

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Feb 2009, 7:11 PM
#3
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: [Duplicate] Mixed Attributes ON - Quantity Discounts - not calculating correctly

Oh, geez, sorry.....