MarkDijkstra Posted July 22, 2010 Posted July 22, 2010 How can i show both prices(sales and normal) price at once in the modules/products_new.php file. I cant get it working, they are showing the same 2 value's. Thanks
jhande Posted July 22, 2010 Posted July 22, 2010 I believe there is a contribution (Add-On) for this. - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
MarkDijkstra Posted July 22, 2010 Author Posted July 22, 2010 Hmmm well i have looked but i cant seem to find this add on
jhande Posted July 22, 2010 Posted July 22, 2010 You can use part of this to get your results - Display MSRP & Savings - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
MarkDijkstra Posted July 22, 2010 Author Posted July 22, 2010 Thanks but i have seen that i have to alter a lot of stuff, i am looking for a simple way, because most of pages can display both prices but not on this page/file. here's the code that i am using right now if ($new_price = tep_get_products_special_price($new_products['products_id'])) { //old price $products_price_new = '<del>' . $currencies->display_price($new_price, tep_get_tax_rate($new_products['products_tax_class_id'])) . '</del>'; //new price $p_price = '<span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($new_products['products_tax_class_id'])).'<br/><b>'.INCTAX.'</b></span>'; } else { //price without discount $p_price = '<span class="productSpecialPrice">'.$currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])).'<br/><b>'.INCTAX.'</b> </span>'; }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.