Jump to content

fancybox


Recommended Posts

Hi...

by default prestashop no support the   "Thumbnail helper" when you open th image on fancybox

 

you can add the 'jquery.fancybox-thumbs.css' and 'jquery.fancybox-thumbs.js' your theme die

and then after you can change the "product.js" which is locate on the themes/your_themes/js./product.js file
 

replace code apporx line 173

if (!contentOnly && !!$.prototype.fancybox) {
$('li:visible .fancybox, .fancybox.shown').fancybox({
'hideOnContentClick': true,
'openEffect'    : 'elastic',
'closeEffect'   : 'elastic',
helpers : {
thumbs : {
width : 80,
height : 80
}
   }
});

thanks

  • Like 1
Link to comment
Share on other sites

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