myselfidem Posted December 13, 2014 Share Posted December 13, 2014 (edited) Hello, Many thanks to Nemo1 for his awesome project ! http://nemops.com/prestashop-previous-next-product-buttons/#.VIyzvCl0yUl Working fine for me with PS 1.6.0.6 I made only one change about the text buttons to have with my French language : <div itemscope itemtype="http://schema.org/Product"> <div class="product-navigation clearfix" style="margin-bottom:20px"> {if $prev_product} <a title="{$prev_product.name}" class="btn btn-default" href="{$link->getProductLink($prev_product.id_product, $prev_product.link_rewrite)}">{l s='Previous'}</a> {/if} {if $next_product} <a title="{$next_product.name}" class="btn btn-default" style="float:right"href="{$link->getProductLink($next_product.id_product, $next_product.link_rewrite)}">{l s='Next'}</a> {/if} </div> http://www.librairie-eauvive.ch/dictionnaires-encyclopedies/1112-dictionnaire-biblique-pour-tous-9782850312861.html Friendly Edited December 13, 2014 by myselfidem (see edit history) Link to comment Share on other sites More sharing options...
myselfidem Posted April 7, 2015 Author Share Posted April 7, 2015 (edited) Hello Nemo1 I found a trouble using Quick View. We can see the buttons : previous and next also using Quick View and doesn't work very well. To avoid this trouble we can add some code Inside your nice tip for : product.tpl ----------------------------------- <!-- Navigation --> {if !$content_only} <!-- added --> <div class="product-navigation clearfix" style="margin-bottom:20px" itemscope itemtype="http://schema.org/Product"> {if $prev_product} <a title="{$prev_product.name}" class="btn btn-default" href="{$link->getProductLink($prev_product.id_product, $prev_product.link_rewrite)}">{l s='Previous'}</a> {/if} {if $next_product} <a title="{$next_product.name}" class="btn btn-default" style="float:right" href="{$link->getProductLink($next_product.id_product, $next_product.link_rewrite)}">{l s='Next'}</a> {/if} </div> {/if} <!-- added --> ---------------------------------- Now works fine using Quick View ! Friendly Edited April 7, 2015 by myselfidem (see edit history) Link to comment Share on other sites More sharing options...
wimogas Posted November 24, 2015 Share Posted November 24, 2015 What if I want to "pass" products which are Unavailable (Status: Disabled), how can I do that using the arrows? Currently it doesn't happen, it goes to the unavailable product page and comes with an error: Hit next arrow here: http://mingproductions.com/catalogue/joan-miro/240-cotton-t-shirts-miro.html Anyone? Thanks! G 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