Forums / Bug Reports / Cart price doesn't include attribute qty discount after restoring/merging contents

Cart price doesn't include attribute qty discount after restoring/merging contents

Views: 2,058

Results 1 to 9 of 9
26 Nov 2013, 12:08 AM
#1
capty avatar

capty

New Zenner

Join Date:
Nov 2013
Location:
san diego
Posts:
5
Plugin Contributions:
0

Cart price doesn't include attribute qty discount after restoring/merging contents

Hi,

I have a product:
price = 0
priced by attributes = yes

and one of its attribute options:
price = 10
attributes qty price discount = 9 : 0, 24: -1, 99 : -2, 0 : -3
include in base price when priced by attributes = yes

no specials no sales.

When I add 10 to the shopping cart it correctly shows:

10 @ $9.00 = $90.00

If I then login, it incorrectly shows:

10 @ $10.00 = $100.00

which is the price without the attribute quantity discount applied.
Please help.

capty

26 Nov 2013, 12:18 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Cart price doesn't include attribute qty discount after restoring/merging contents

Have you an URL where we could perhaps peek at this Product?

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!

26 Nov 2013, 1:00 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Cart price doesn't include attribute qty discount after restoring/merging contents

So far, I cannot reproduce this on my site ...

Do you have all that space in the settings or do you have it written like:

9:0,24:-1,99:-2,0:-3

On the attribute?

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!

26 Nov 2013, 1:06 AM
#5
capty avatar

capty

New Zenner

Join Date:
Nov 2013
Location:
san diego
Posts:
5
Plugin Contributions:
0

Re: Cart price doesn't include attribute qty discount after restoring/merging contents

I have the spaces.

26 Nov 2013, 1:14 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Cart price doesn't include attribute qty discount after restoring/merging contents

Can you get rid of the spaces ...

Then, when logged in get rid of everything in the cart ...

Next, log out and then add 10 to the cart and login ...

Then logout ... and log back in ... does it work right?

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!

26 Nov 2013, 4:17 PM
#7
capty avatar

capty

New Zenner

Join Date:
Nov 2013
Location:
san diego
Posts:
5
Plugin Contributions:
0

Re: Cart price doesn't include attribute qty discount after restoring/merging contents

Yes, without the spaces it works correctly. I'll go with that for now. Still seems like something to be addressed since it works with the spaces in other contexts. Thanks for the help.

capty

30 Nov 2013, 12:55 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: Cart price doesn't include attribute qty discount after restoring/merging contents

capty:

... since it works with the spaces in other contexts.
Can you help me find those "other contexts" so we can fix it fully?

.
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.

2 Dec 2013, 5:54 PM
#9
capty avatar

capty

New Zenner

Join Date:
Nov 2013
Location:
san diego
Posts:
5
Plugin Contributions:
0

Re: Cart price doesn't include attribute qty discount after restoring/merging contents

Without spaces it works correctly everywhere.

With spaces it works when adding to the cart but not when merging or restoring the cart.