deyan4 Posted November 3, 2016 Share Posted November 3, 2016 Hello, after an update to Prestashop 1.6 the product navigation disappeared. I've got the following code in my product.tpl: <div id="productNavigation"> <div id="prevProd" class="navProds"> {if $next_product} <a title="{$next_product.name}" class="" style="float:right" href="{$link->getProductLink($next_product.id_product, $next_product.link_rewrite)}"><img src="/themes/ladies/images/icon-product-prev.png" border="0" /><span class="navproducts">{$next_product.name|truncate:40}</span></a> {/if} </div> <div id="nextProd" class="navProds"> {if $prev_product} <a title="{$prev_product.name}" class="" href="{$link->getProductLink($prev_product.id_product, $prev_product.link_rewrite)}"><span class="navproducts">{$prev_product.name|truncate:40}</span><img src="/themes/ladies/images/icon-product-next.png" border="0" />HUi</a> {/if} </div> </div> and also followed: http://nemops.com/prestashop-previous-next-product-buttons/#.WBtaRfl96Uk but without a success. It simply doesn't enter in the if's to visualize the links. What else I can try? Thanks. Link to comment Share on other sites More sharing options...
deyan4 Posted November 8, 2016 Author Share Posted November 8, 2016 (edited) The values of both $next_product and $prev_product variables are empty, how can I check which part is failing - the query result, or somewhere else. Edited November 8, 2016 by deyan4 (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