Sam Minerve Posted February 25, 2016 Share Posted February 25, 2016 Hello, On default PS theme, when we click on the thumbnail images (on product page), it triggers a fancybox with enlarged view. I would like to disable this functionality. In" product.js file", I commented these lines : if (typeof(contentOnly) != 'undefined' && !contentOnly) { if (!!$.prototype.fancybox) $('li:visible .fancybox, .fancybox.shown').fancybox({ 'hideOnContentClick': true, 'openEffect' : 'elastic', 'closeEffect' : 'elastic' }); } This works for the big image but not for thumbnails. I also tried to remove the thumbnail class in the "product.tpl" file with no success. Someone can help please ? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now