JING Posted June 19, 2014 Share Posted June 19, 2014 Hi, I would like to show original price which is marked as $69.99, and the new price like $39.99 beside or under the original ones'. I used the "price rule" to set it up, but the price only shows on certain pages, not on the home page. Can someone let me know how to set it up to all pages. Link to comment Share on other sites More sharing options...
dharam Posted October 16, 2014 Share Posted October 16, 2014 I am also looking to show both prices on home page, please let me know if there is anyway to achieve this... Thanks, https://iclothmart.com Link to comment Share on other sites More sharing options...
mickeyboy1 Posted October 16, 2014 Share Posted October 16, 2014 Hi, I would like to show original price which is marked as $69.99, and the new price like $39.99 beside or under the original ones'. I used the "price rule" to set it up, but the price only shows on certain pages, not on the home page. Can someone let me know how to set it up to all pages. On the prices tab in back office, at the bottom just Add A New Specific Price I am also looking to show both prices on home page, please let me know if there is anyway to achieve this... Thanks, https://iclothmart.com Your website is showing both prices already Link to comment Share on other sites More sharing options...
dharam Posted October 17, 2014 Share Posted October 17, 2014 Hi, after posting question here yesterday night I searched other threads too and found some clue to fix this problem, here was my approach:-- Changed only one below file after taking backup, (my prestashop version is 1.6.0.8):-- ..../themes/default-bootstrap/product-list.tpl Just copied and pasted below logic of price display for special products from within the same file:-- {hook h="displayProductPriceBlock" product=$product type="old_price"} <span class="old-price product-price"> {displayWtPrice p=$product.price_without_reduction} </span> The above code is added just above these lines by which special product prices are displayed:-- <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> {if isset($product.specific_prices) && $product.specific_prices && isset($product.specific_prices.reduction) && $product.specific_prices.reduction > 0} By just changing one file now both prices are displayed in the way I wanted on home page as well as on product listing pages. I still need to add some if else conditions as now my special products show original price twice, but it is low priority for me and i will manage it myself. Thanks.. https://iclothmart.com Link to comment Share on other sites More sharing options...
Recommended Posts