Jump to content

[SOLVED] Problem with "Display all pictures"


w3bsolutions

Recommended Posts

Hi folks,

 

I have an issue with the "Display all pictures" message. When a product has several images (more than 1) and I assign all the images of the product to a combination, when I check that combination on the frontend I see all the images that are assigned but I still get the "Display all pictures" link even though it does not show any pictures more when you click on it because the combination already has all the pics assigned to it.

 

You can check it here, for instance, (all the pictures are assigned to all the combinations of the product).

 

How can I solve this? 

 

The code of that part in product.tpl is the same than on the default theme.

 

Any help is appreciated. Thanks.

Edited by fire2 (see edit history)
Link to comment
Share on other sites

Any ideas?

 

This is the line of code: 

{if isset($images) && count($images) > 1}<p class="resetimg clear"><span id="wrapResetImages" style="display: none;"><img src="{$img_dir}icon/cancel_11x13.gif" alt="{l s='Cancel'}" width="11" height="13"/> <a id="resetImages" href="{$link->getProductLink($product)}" onclick="$('span#wrapResetImages').hide('slow');return (false);">{l s='Display all pictures'}</a></span></p>{/if}

Link to comment
Share on other sites

  • 4 weeks later...

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