Is there a way to just display the regular price when using the Specials Module? I want the price to remain the same so I don't want the strikethough price shown at all.
Thanks
This is a discussion on How To Remove StrikeThrough Price On Specials within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Is there a way to just display the regular price when using the Specials Module? I want the price to ...
Is there a way to just display the regular price when using the Specials Module? I want the price to remain the same so I don't want the strikethough price shown at all.
Thanks
Simple solution - don't use the Special Module - change the item's price. Then the Strike though will not be used.
Else change the template file that display the strikethough and comment it out.
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Look in your code for "class="productSpecialPrice" - the code BEFORE that is what displays the strike though prices.
ie: in whats_new.php
Try:PHP Code:...
if (tep_not_null($random_product['specials_new_products_price'])) {
$whats_new_price = '<s>' . $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br>';
$whats_new_price .= '<span class="productSpecialPrice">' . $currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</span>';
} else {
...
in product_info.tpl.phpPHP Code:...
if (tep_not_null($random_product['specials_new_products_price'])) {
$whats_new_price = '<span class="productSpecialPrice">' . $currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</span>';
} else {
...
Try:PHP Code:...
// EOF Separate Price per Customer
$products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
} else {
...
PHP Code:...
// EOF Separate Price per Customer
$products_price = '<span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
} else {
...
There is 13 files you have to look at for this....
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Bookmarks