arturobelver Posted April 25, 2014 Share Posted April 25, 2014 (edited) PS 1.6 | default-bootstrap Hi! I like to put the unit price, if they have one, next to the product price in list view of product-list. Someone knows? Edited May 19, 2014 by arturobelver (see edit history) Link to comment Share on other sites More sharing options...
Martin Uker K Posted April 25, 2014 Share Posted April 25, 2014 Good morning, Searching someone here to help you achieve this is like searching sand on Tatooine...There's plenty! Simply put, you need to edit the file product-list and to add these lines : {if isset($product.show_price) && $product.show_price && $product.unit_price_ratio > 0} {convertPrice price=$product.unit_price_ratio} {/if} Make sure to check show_price like I did, otherwise the configuration will be useless. Martin Link to comment Share on other sites More sharing options...
arturobelver Posted April 28, 2014 Author Share Posted April 28, 2014 Hahaha, Thanks Martin! Only the price shown isn't correct . What can i do? Link to comment Share on other sites More sharing options...
arturobelver Posted April 28, 2014 Author Share Posted April 28, 2014 I think that its solved. I shown the price without tax The ecuation makes: [$product.unit_price_ratio = price_without_tax / unit_price]. I use this way: {convertPrice price=(1/$product.unit_price_ratio)* $product.price_without_reduction} Link to comment Share on other sites More sharing options...
prestabbr Posted May 19, 2014 Share Posted May 19, 2014 Hi, for me it's fine in grid view, but if I change the product list view to list, the unit price disappears.... any idea? Link to comment Share on other sites More sharing options...
arturobelver Posted May 19, 2014 Author Share Posted May 19, 2014 sorry Link to comment Share on other sites More sharing options...
Recommended Posts