sudconnect Posted August 3, 2013 Share Posted August 3, 2013 Bonsoir, voilà pb tout simple mais j'ai beau modifier le product-list.tpl je n'arrive pas a le resoudre. Sur mes pages catégories, la photo d'article renvoie bien sur l'article, mais pas le lien dessous, il renvoi sur la page de catégorie... Si quelqu'un peu me donner un petit coup de main, voila le tpl : {* * 2007-2012 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2012 PrestaShop SA * @version Release: $Revision: 7457 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if isset($products)} <!-- Products list --> <ul id="product_list" class="clear"> {foreach from=$products item=product name=products} <li class="ajax_block_product {if $smarty.foreach.products.first}first_item{elseif $smarty.foreach.products.last}last_item{else}item{/if} {if $smarty.foreach.products.iteration%$nbItemsPerLine == 0}last_item_of_line{elseif $smarty.foreach.products.iteration%$nbItemsPerLine == 1}{/if} {if $smarty.foreach.products.iteration > ($smarty.foreach.products.total - ($smarty.foreach.products.total % $nbItemsPerLine))}last_line{/if}"> <a href="{$product.link}" title="{$product.name|escape:html:'UTF-8'}" class="product_image"> <img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" /> </a> <div>{if isset($product.on_sale) && $product.on_sale}<span class="on_sale_img_list">{l s='On sale' mod='homefeatured'}</span> {/if} </div> <a class="f_title" href="{$product.Link_rewrite}" title="{$product.legend}">{$product.name|escape:htmlall:'UTF-8'|truncate:35}</a> <div class="price"> <span>{convertPrice price=$product.price_tax_exc}</span> {if ($product.quantity > 0 OR $product.allow_oosp)} <a class="exclusive ajax_add_to_cart_button" rel="ajax_id_product_{$product.id_product}" href="{$link->getPageLink('cart.php')}?qty=1&id_product={$product.id_product}&token={$static_token}&add" title="{l s='Add to cart' mod='productsCarousel'}">{l s='Add to cart' mod='homefeatured'}</a> {else} <span class="exclusive">{l s='Add to cart' mod='productsCarousel'}</span> {/if} </div> <!-- Old price --> <id="old_price" class="old_price"><span class="bold"> {if $priceDisplay >= 0 && $priceDisplay <= 2} {if $product.price_without_reduction > $product.price} <span id="old_price_display">{convertPrice price=$product.price_without_reduction}</span> {if $tax_enabled} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if} {/if} {/if} <!-- End Old price --> {if isset($comparator_max_item) && $comparator_max_item} <p class="compare"> <input type="checkbox" class="comparator" id="comparator_item_{$product.id_product}" value="comparator_item_{$product.id_product}" {if isset($compareProducts) && in_array($product.id_product, $compareProducts)}checked="checked"{/if} /> <label for="comparator_item_{$product.id_product}">{l s='Select to compare'}</label> </p> {/if} </li> {/foreach} </ul> <!-- /Products list --> {/if} Merci encore, bonne soirée Link to comment Share on other sites More sharing options...
Recommended Posts