Jump to content

Product navigation


deyan4

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...