nardinomook Posted May 29, 2015 Share Posted May 29, 2015 Bonjour, j'aimerais savoir comment avoir une simple image sans jqZoom/FancyBox. Merci de votre aide Link to comment Share on other sites More sharing options...
xlynx Posted May 29, 2015 Share Posted May 29, 2015 Hello, Préférences -> Produits : Sélectionnez "Non" pour "Activer JqZoom au lieu de Thickbox sur les pages produits" dans la section "Page produit" . puis enregistrez. xlynx Link to comment Share on other sites More sharing options...
nardinomook Posted May 29, 2015 Author Share Posted May 29, 2015 Sauf que si je fais ca j'ai la FancyBox a la place. Je ne veux aucun des deux. Link to comment Share on other sites More sharing options...
xlynx Posted May 29, 2015 Share Posted May 29, 2015 Il faut éditer le fichier product.js dans /themes/votretheme/js/product.js Je vous enverrais le code dés que je peux xlynx Link to comment Share on other sites More sharing options...
xlynx Posted May 29, 2015 Share Posted May 29, 2015 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 1 Link to comment Share on other sites More sharing options...
nardinomook Posted May 29, 2015 Author Share Posted May 29, 2015 C'est bon ca fonctionne merci . J'ai aussi dû changer le pointeur de la souris dans le css. Link to comment Share on other sites More sharing options...
xlynx Posted May 29, 2015 Share Posted May 29, 2015 De rien et bon weekend xlynx 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