Left, right, Zoom and autorotate buttons try to pop up

Any issues or questions about WebRotate 360 Product Viewer for OpenCart
SafetybootsUK
Posts: 4
Joined: Tue Apr 19, 2016 1:47 am
Contact:

Left, right, Zoom and autorotate buttons try to pop up

Postby SafetybootsUK » Tue Apr 19, 2016 1:49 am

When I have a Web 360 on a page, if the user tries to manually click a button (left, right etc) then it acts like it's an extra gallery image and attempts to load the image in a lightbox but it fails (obviously).

Is there a workaround for this?

See an example here: http://www.safetybootsuk.co.uk/dewalt-l ... ps-midsole

Many thanks.

WebSupport
Posts: 1016
Joined: Thu Aug 23, 2012 11:35 am
Location: Pasadena, CA
Contact:

Re: Left, right, Zoom and autorotate buttons try to pop up

Postby WebSupport » Tue Apr 19, 2016 9:46 am

Hi,

Please see attached screenshot. Your site has this snippet on the product pages that subscribes to any <a> element under .popup_gallery class which then includes any button inside the 360 product viewer.

You can either change your standard gallery thumb elements (when there's no 360) to have some class like <a class="thumb"....> and then change the delegate value in the screenshot on line 1968 to 'a.thumb'. Or change webrotate module's page placeholder (in admin) such that it embeds itself above .popup_gallery element.

There could be other options like not outputting .popup_gallery class name in the div container when 360 product view is not present, etc.

I hope it helps!
Attachments
4-19-2016 10-40-05 AM.png

SafetybootsUK
Posts: 4
Joined: Tue Apr 19, 2016 1:47 am
Contact:

Re: Left, right, Zoom and autorotate buttons try to pop up

Postby SafetybootsUK » Wed Apr 20, 2016 12:10 am

Thanks, I changed the delegate to a.mythumb and it's fine. I'd been looking everywhere for a solution but for some reason didn't look in the obvious place!

Thanks and excellent support.


Return to “OpenCart Integration”

cron