Forums / Bug Reports / [Done v1.3.9] Negative price factor does not work

[Done v1.3.9] Negative price factor does not work

Locked

Views: 1,182

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
15 May 2009, 10:04 PM
#1
ctlajoie avatar

ctlajoie

New Zenner

Join Date:
May 2009
Posts:
4
Plugin Contributions:
0

[Done v1.3.9] Negative price factor does not work

I believe the issue I described here is actually a bug. I resolved this by changing 2 lines (756 and 894) in the shoppingCart class. Both of the lines looked like this:

if ($attribute_price->fields['attributes_price_factor'] > 0) {

and I changed them to:

if ($attribute_price->fields['attributes_price_factor'] != 0) {

BTW I am using v1.3.8a.

19 May 2009, 1:44 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: [Done v1.3.9] Negative price factor does not work

See your other post on how to use the Price Factor and Price Factor Offset to obtain a negative value ...

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!