Home › Forums › Jevelin Theme › Product Lightbox not working
Home › Forums › Jevelin Theme › Product Lightbox not working
Hi @moudy3000,
I hope you are well today and thank you for your question.
I can see clicking on the image, it opens single product page and this is how it works.
You can either try using any of the following plugins or develop custom code to achieve what you want to.
https://wordpress.org/plugins/lightbox/
https://wordpress.org/plugins/lightbox-popup/
https://wordpress.org/plugins/simple-lightbox/
https://wordpress.org/plugins/wp-lightbox-2/
https://wordpress.org/plugins/responsive-lightbox/
Best regards,
Shufflehound team
When i check the Javelin template it works different the image opens in a lightbox but mine opens as a new tab.i can’t even exit unless i go back. i sent you a screenshot to show you the difference.the top image is the theme template the bottom part is mine.
Thanks,
It is not opening for me on new tab on your site but it opens single product page as shown in the attached screenshot.
Could you please share me Javelin template URL where it’s displaying as shown in your screenshot?
To make it easier go to
http://athleticsinternational.com/product/imported-soccer-jersey/
Then click on the product image it will open the image as a new tab and this is the link it will generate
http://athleticsinternational.com/wp-content/uploads/2017/03/1-11.jpg
instead it should open it as a light box.
now go to
click on the product image and you’ll see what i’m talking about.
Thanks,
Ok it seems you are talking about single product page.
This can be due to plugin conflict on your site so please try temporary deactivating all plugins except woocommerce & unyson plugins and see whether everything works fine and then enable the plugins one by one to see which plugin is conflicting if any.
Also please try resetting your htaccess file as described on the following pages.
http://www.bordercrossingmedia.com/2009/01/how-to-restore-your-wordpress-htaccess-file/
That didn’t work. I installed the theme and didn’t make any changes and still having the same issue.
http://londonlube.ca/product/striped-watch/
Thanks,
Would you mind if i log in to your site and do some troubleshooting? If this is ok then could you please share me your site log in details privately by adding them in the box having text “Click here to share private content. Only you and forum moderators will bee able see it.”?
Can you confirm you received my website info for troubleshooting? Were you able to find the issue?
No i didn’t receive it so could you please share it again?
Please confirm you received my web info. Thanks
I can see you are using older version of Jevelin theme on your site.
Could you please update it to the following latest version?
Please login to access this file
I updated my theme and still having the same issue
After lot of troubleshooting i could confirm the bug on your site therefore notified the theme developer about this so that it will be fixed.
The issue will be fixed ASAP.
In the meanwhile i have resolved the issue on your site by editing following line of code.
'lightbox_woocommerce' => ( get_option( 'woocommerce_enable_lightbox' ) != 'yes' ) ? ', .woocommerce-page a[data-rel^="prettyPhoto[product-gallery]"]' : '',
The issue is fixed in the following latest version of theme.
Please login to access this file
Unfortunately this is not working for our site either – we have updated and removed all plugins – not working on the jevelin main site either – can you let me know where the code that you edited is placed please and we will attempt to fix
Cheers
D.
@NorthumbrianTin I have replied you on your following topic and the codeediting fix not longer works with latest version of theme.