Hi guys,

One of my attributes a discount and for that attribute value I have -$30. The item is completely priced by attributes.

Although zen cart calculates the correct total in the checkout, it adds that $30 instead of subtracting it for the products base price.

Am i doing it correctly? All i am placing in the price_prefix field is '-'

e.g Product price = 0

Attribute 1 = + 70
Attribute 2 = - 30

Final Checkout Price = 40
The problem is that zencart has the base price set to $100! It doesn't take into account the prefix (-) rather just adds the price field into the base price.


How do i fix this?

I have tried this out on clean installs and it has the same bug. Where is the price product by attribute code? can we add a conditional statement along the lines of:

for name="price_prefix" if value="-" then SUBTRACT from base price, else if value="+", then ADD?