IGNITER Posted May 21, 2014 Share Posted May 21, 2014 (edited) Hello, I have resized the left and the right column in product page in order to accommodate larger image. Now there is 5 little thumbnails visible instead of the 3 originally. I have noticed that if there are only 3 pictures per product Prestashop doesn't shows the arrows. How to tell the Presta to show its arrows only if there is more than 5 pictures? Thanks! Edited May 21, 2014 by IGNITER (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 21, 2014 Share Posted May 21, 2014 this is a part of default theme? it's 1.5.x version of prestashop? Link to comment Share on other sites More sharing options...
IGNITER Posted May 22, 2014 Author Share Posted May 22, 2014 Yes, I copied the default theme and then started changing it. It is version 1.5.6.1. Link to comment Share on other sites More sharing options...
IGNITER Posted May 29, 2014 Author Share Posted May 29, 2014 ... anybody? Link to comment Share on other sites More sharing options...
vekia Posted May 29, 2014 Share Posted May 29, 2014 ... anybody? sorry i missed your replies this is why it's worth to quote, then i will see notification that you quoted me :-) open product.tpl file located in your theme directory, there is a code like: {if isset($images) && count($images) > 3}<span class="view_scroll_spacer"><a id="view_scroll_left" class="hidden" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}">{l s='Previous'}</a></span>{/if} change count($images) > 3 to count($images) > 5 :-) do the same for Next button Link to comment Share on other sites More sharing options...
IGNITER Posted May 29, 2014 Author Share Posted May 29, 2014 Thanks! 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