Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Quantity Discount Pricing Issues -- Price not updating

Quantity Discount Pricing Issues -- Price not updating

Locked

Views: 1,263

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
15 May 2010, 2:28 AM
#1
absurdparadox avatar

absurdparadox

New Zenner

Join Date:
Mar 2010
Posts:
11
Plugin Contributions:
0

Quantity Discount Pricing Issues -- Price not updating

Hey guys, I'm having an issue with quantity discounts on our cart.

I'm using fairly typical volume discounts (1-3 items is $69.95, 4-8 is $64.95, etc), and they are set up using the controller on the product edit screen.

The problem I am having is that if the customer orders say, 3 of Product A with Option A, they get $69.95 each, which is correct. Then, if you add 2 more of Product A with Option B, that specific entry in the cart is getting the 4-8 price, which is correct -- however the other items in the cart are not updating to reflect the new price.

It seems like it only looks at what the price should be when it is added to the cart, but not if you update the cart or add new items to it. Is there a simple way to force this, either through an admin setting or through simple code changes without getting mired down into the core of zen cart, lol (I'm an experienced developer, but want to make sure I'm not missing something stupid-obvious).

15 May 2010, 9:39 PM
#3
absurdparadox avatar

absurdparadox

New Zenner

Join Date:
Mar 2010
Posts:
11
Plugin Contributions:
0

Re: Quantity Discount Pricing Issues -- Price not updating

Exactly what I needed, thanks a ton man.

20 May 2010, 3:43 PM
#4
robbie_79 avatar

robbie_79

New Zenner

Join Date:
Oct 2008
Location:
Netherlands
Posts:
26
Plugin Contributions:
0

Re: Quantity Discount Pricing Issues -- Price not updating

Hi,

I am curious about something regarding this topic...

I have 2 identical installations on 2 differend servers.
On server1 I did not have the the problem (mentioned above).
On server2 the problem occured.

Obviously my first guess was to compare scripts and to compare configdata from the db.
If only I searched this forum earlyer, it could have saved me some hours of frustration ;)

Now my question is, how can it be that the identical scripts respond differend on the 2 servers with the same php version?

21 May 2010, 6:57 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Quantity Discount Pricing Issues -- Price not updating

If you put a copy of your working site on the broken server in a test directory using a test data base ... does it work?

If you then replace the database on the test site with a copy of the bad data base does it work?

If you put a copy of the bad site in a test directory with a test copy of the bad site database on the good server does it work?

Are you able to do an FTP compare between the two servers?

22 May 2010, 12:50 PM
#6
robbie_79 avatar

robbie_79

New Zenner

Join Date:
Oct 2008
Location:
Netherlands
Posts:
26
Plugin Contributions:
0

Re: Quantity Discount Pricing Issues -- Price not updating

The things you ask are the things I did to find the cause of the error before I posted my question above.

The one thing I didnt do is a FTP compare. (do you know a tool to do this?)

An import difference between the 2 servers I did not mention before;
Server1 is a linux/apache server, which I use for my live website.
Server2 is a local windows/IIS6 server I use for developing purposes.

I now know the difference is not in the scripts, nor in the DB.
This all strikes me as a PHP issue, but never before did I experience something like this.

22 May 2010, 3:07 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Quantity Discount Pricing Issues -- Price not updating

The purchased version of Beyond Compare allows FTP compares between two servers or your computer an the server ...

I am not sure what other programs may allow this ...