Deceased
- Join Date:
- Jan 2007
- Location:
- Australia
- Posts:
- 6,263
- Plugin Contributions:
- 4
Sales/specials price display change.
Scenario:
Product has a 'normal' price of $39.95, which is then sold as a Special with an 80% discount, showing a sales price of $7.99.
The Store owner then decides to have a 50% off storewide sale, and selects the "If Price is Special" = "Ignore Specials Price - Apply to Product Price and Replace Special"
The 'new' price of the product is now $19.98 - No problem there, BUT, what the customer sees onscreen is
- The original price $39.95 - crossed out
- The Specials Price $7.99 - crossed out
- The current Sales Price - $19.98
In other words, the pricing is correct according to the settings applied, but to the customer (in the words of my client - "It looks like the current sale is a bit of a rip-off as the final cost is more than the previous special"
The fix I've applied for this is to change line#128 of /includes/functions/functions_prices.php (V1.5.4)
From
if ($display_special_price) {
To
if ($display_special_price > $display_sale_price) {
Here's a screenshot of before and after changes. I think it could be worth applying this change to the default code.
Cheers
RodG