Home › Forums › Support › désactiver le zoom photo produit This topic has 5 replies, 3 voices, and was last updated 1 year, 11 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts May 3, 2022 at 1:31 am #2207297 Estelle Bonjour, je n’arrive pas à trouver où je peux désactiver le zoom automatique sur les photos produits? Merci May 3, 2022 at 1:52 am #2207315 Fernando Customer Support Hi Estelle, You could try this PHP snippet recommended by Leo here: https://generatepress.com/forums/topic/desactiver-le-zoom-photo-produit/ Adding PHP: https://docs.generatepress.com/article/adding-php/#code-snippets Adding it through Code Snippets should work. Hope this helps! Kindly let us know how it goes. 🙂 May 3, 2022 at 2:17 am #2207340 Estelle je suis sûre d’avoir vu ce réglage quelque part mais je n’arrive pas à le retrouver. Pourriez-vous m’indiquer où je peux trouver le réglage s’il vous plait? Merci May 3, 2022 at 4:31 am #2207437 DavidStaff Customer Support Hi there, you need to add this PHP Snippet to your website: function remove_image_zoom_support() { remove_theme_support( 'wc-product-gallery-zoom' ); remove_theme_support( 'wc-product-gallery-lightbox' ); } add_action( 'wp', 'remove_image_zoom_support', 100 ); This document explains how to add PHP: https://docs.generatepress.com/article/adding-php/ May 3, 2022 at 6:03 am #2207537 Estelle c’est fait et cela fonctionne. merci pour efficacité et rapidité comme toujours May 3, 2022 at 6:23 am #2207561 DavidStaff Customer Support You’re welcome! Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In