I'm trying to modify an extension which adds an equals sign as one of the possibilities for option value. This works fine with the regular price, but the special price messes it up. The developer hasn't been around for pretty much a year.
Here is the code it uses for calculating the price (it edits system/library/cart/cart.php):
Code: Select all
$option_price += $option_value_query->row['price'] - $product_query->row['price']
Essentially, I just need some code which will output the value of the special price (100% of products will have a special price, so it doesn't need to do anything fancy like check if it's cheaper or anything like that - just outputting the value of the special price will do.
If anyone can help, that would be great.
Running on 126.96.36.199.