help with price variable
I hace defined 2 different prices for an article on my DB, one is PRICE and the other is OFFER_PRICE.
I would like to be able to add a product to the cart and display its acual price, so that if OFFER_PRICE < PRICE, the lowest price is displayed on the cart.
I have tried to change this line:
if ($row_productos_RS['offer_price']< $row_productos_RS['price'])
But all I get is "Parse error: syntax error, unexpected T_IF"....please help.