Dans le fichier product.js dans /themes/votretheme/js/product.js :
-Version 1.5 -> ligne 587
Ancien code : Commenter les lignes suivantes
$('.thickbox').fancybox({
'hideOnContentClick': true,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic'
});
Nouveau code :
/*$('.thickbox').fancybox({
'hideOnContentClick': true,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic'
});*/
-Version 1.6 -> ligne 170
Ancien code :
if (typeof(contentOnly) != 'undefined' && !contentOnly)
{
if (!!$.prototype.fancybox)
$('li:visible .fancybox, .fancybox.shown').fancybox({
'hideOnContentClick': true,
'openEffect' : 'elastic',
'closeEffect' : 'elastic'
});
}
else if (typeof ajax_allowed != 'undefined' && !ajax_allowed)
$('#buy_block').attr('target', '_top');
Nouveau code :
if (typeof(contentOnly) != 'undefined' && !contentOnly)
{
/*if (!!$.prototype.fancybox)
$('li:visible .fancybox, .fancybox.shown').fancybox({
'hideOnContentClick': true,
'openEffect' : 'elastic',
'closeEffect' : 'elastic'
});*/
if (typeof ajax_allowed != 'undefined' && !ajax_allowed)
$('#buy_block').attr('target', '_top');
}
Utilisez ensuite le "css" pour cacher le button "Agrandir l'image" .
Good luck
xlynx