elnur Posted August 10, 2014 Share Posted August 10, 2014 Hello everyone I'm using version Prestashop 1.4.8.2 and the problem in the next, I need to show price to customer as shown in the attached image. I tried to edit product-list.tpl, but unsuccessfully. I beg you to help. Thanks in advance. Link to comment Share on other sites More sharing options...
vekia Posted August 10, 2014 Share Posted August 10, 2014 what theme you use? what you tried to edit in product-list.tpl ? Link to comment Share on other sites More sharing options...
elnur Posted August 10, 2014 Author Share Posted August 10, 2014 I use Clean & Simple template downloaded from here http://www.prestashop.com/forums/topic/164807-free-theme-clean-simple-v20/ Tried to add this code, find from some topic: <p class="msrp_price">MSRP:<br /> {$msrp_price=($product.price_without_reduction*1.33333)} {$msrp_price|string_format:"$%.2f"}</p> also edited it, but the result is not the one on which I relied. Also these codes, from here http://www.prestashop.com/forums/topic/98671-hot-display-reductionpercent-in-product-listtpl-and-reduction-to-in-producttpl-prestashop-14/ but nothing: {if $product.specific_prices.reduction_type == 'percentage'} {$product.specific_prices.reduction*100} %{/if} {if $product.specific_prices.reduction_type == 'amount'} {$product.specific_prices.reduction|string_format:"%.2f"}{/if} I decided what if a double this code: {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}<p class="price_container"><span class="price" style="display: inline;">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span>{/if} then will be like on attached image, but I dont know how to edit code, to get as need. Link to comment Share on other sites More sharing options...
Recommended Posts