News:

Support the VirtueMart project and become a member

Main Menu

Lightbox problem on product detail page, script conflict?

Started by vedtam, March 26, 2014, 21:18:53 PM

Previous topic - Next topic

vedtam

Hi,

This is a really FAQ, but I can't find any post which could help me to fix this problem. The lightbox won't open on my product details page, but it is working correctly on the category page.

If it would be a script conflict, it should not be working at all, right? Could someone help me out please?

http://trust-models.ro/web_testing/index.php/casa-si-gradina/cg1-10-detail

Regards,
ved.

jenkinhill

Are you using an old VM version? http://forum.virtuemart.net/index.php?topic=79799.0

Your template is not programmed to use the lightbox there, the page code is a simple image display:

<div class="main-image">
<img src="/web_testing/images/stories/virtuemart/product/dsc_2647.jpg" alt="" class="medium-image" id="medium-image" />
    </div>


On a default VM template product details image the code is:

<div class="main-image">
<a  rel='vm-additional-images' href="/vm2-6/images/stories/virtuemart/product/cowboy_hat.jpg"><img src="/vm2-6/images/stories/virtuemart/product/cowboy_hat.jpg" alt="Cowboy Hat"  /></a>
<div class="clear"></div>
</div>


In addition, in current VM versions there is no lighbox used on the category page images.

You are obviously using a template with overrides, so will need to consult the template developer. http://forum.virtuemart.net/index.php?topic=108212.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum