Jump to content

Get rid of view_scroll_right and view_scroll_left from product page


Recommended Posts

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.

post-61615-0-98219000-1400701829_thumb.png

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 by IGNITER (see edit history)
Link to comment
Share on other sites

... 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

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...