irenusky Posted October 30, 2014 Share Posted October 30, 2014 (edited) Hola, Necesito mostrar los precios de los productos del bloque "Productos que te pueden interesar" (blockrelatedproductstags). He puesto este código del final en este archivo /modules/blockrelatedproductstags/views/templates/front/products_list.tpl pero donde tiene que aparecer 17,00 € aparece 15.454545 <ul class="products clearfix relatedproductstagslist"> {foreach from=$products item='product'} <li> {assign var="id_image" value="`$product->id`-`$product->getCoverWs()`"} <a class="product_img_link" title="{l s="{$product->name|escape:html:'UTF-8'}" mod='blockrelatedproductstags'}" href="{$link->getProductLink($product)}" target="_self"> <img src="{$link->getImageLink($product->link_rewrite, $id_image)}" height="100" alt="{$product->name|escape:html:'UTF-8'}" /> </a> <a class="product_img_title" title="{l s="{$product->name|escape:html:'UTF-8'}" mod='blockrelatedproductstags'}" href="{$link->getProductLink($product)}" target="_self">{$product->name|truncate:25:'...'|escape:html:'UTF-8'}</a><br /> <span class="price">{$product->price}</span> </li> {/foreach} </ul> Alguien me puede ayudar? Gracias Por cierto, es para la versión de Prestashop 1.5.6.2 Edited October 30, 2014 by irenusky (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now