Guest Posted September 3, 2005 Share Posted September 3, 2005 I have searched the forum and looked through contributions but dont actually know what I should be looking for. I don't even know which page I should be editing <_< I would like for my products page to display the 'old' price (striked-through) above the 'sale' price. How would I do this? Thank you. Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 Sorry I'm just plain stupid :rolleyes: I didnt even check out 'specials' in my own admin section :-" It looks exactly how I wanted it to haha. Thanks Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 you need to edit the catalog\product_info.php Not sure maybe there is a contribution around to change the layout of the products description. Anyways in this file you have these lines of code that assign the product_price string if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $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 { $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); } so if you want to place the special price underneath the old insert a <br> tag right after the </s> so it becomes '</s><br><span class="productSpecialPrice">' And if you see few lines after, it places the price in the table cells <td class="pageHeading" valign="top"><?php echo $products_name; ?></td> <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.