
-
AuthorPosts
-
July 26, 2020 at 1:39 pm #1233335
Hi,
I want to use “Default enfold product gallery” option, because not like woo 3.0 zoom effect.
If I set this to default in Shop options, variation image switching stopped, but if set WooCommerce 3.0 product gallery, image switching working.
Please help me, how to solve the problem.Enfold: 4.7.6.1
Woocommerce: 4.3.1 (it didn’t work in previous versions either)
PHP: 7.3.16July 26, 2020 at 3:01 pm #1233345Hey FRIGORIA,
Yes, you need to use the WooCommerce gallery to be able to have variations.
If you need further assistance please let us know.
Best regards,
VictoriaJuly 26, 2020 at 3:08 pm #1233346Hi Victoria,
I don’t want to use the Woo gallery!
I want to use variation images without image zoom,
but with onclick it opens lightbox just like the default mode.July 30, 2020 at 6:36 am #1234083Hi,
Thank you for the update.
Unfortunately, the variation image switch is only available in the Woocommerce gallery because the markup of the default one is different. If you want to disable the zoom effect, you can add this snippet in the fucntions.php file.
remove_theme_support( 'wc-product-gallery-zoom' );
You can also disable other functionality if necessary.
// https://createandcode.com/how-to-disable-zoom-lightbox-and-gallery-slider-on-woocommerce-product-pages/
Best regards,
IsmaelJuly 30, 2020 at 9:15 am #1234105Hi,
ok I understand, but this code has no effect.
I placed in child theme functions.php, but nothing changed in zoom.
Example: https://www.frigoriakiado.hu/termek/crosso-dry-60-kerekparos-csomagtartotaska-parban/
Other solution for disable zoom icon, and to work on on click with lightbox?
Best regards
LaszloAugust 3, 2020 at 12:51 am #1234689Hi,
Sorry for the late reply, I believe the code Ismael shared is to remove the zoom from the product image on a single product page.
I checked the link above to your sample page and the product image is not zooming for me.
Is it still zooming for you?
Your items under “Érdekelhetnek még” still zoom, to correct that please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.thumbnail_container:hover { transform: scale(1) !important; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeAugust 7, 2020 at 12:08 pm #1235975Hi,
We have successfully removed the zoom functionality by introducing this code snippet into child theme functions.php:
//remove zoom function under single product image
function remove_image_zoom_support() {
remove_theme_support( ‘wc-product-gallery-zoom’ );
}
add_action( ‘wp’, ‘remove_image_zoom_support’, 100 );Thank you for your support.
Best regards
LaszloAugust 8, 2020 at 5:48 am #1236184 -
AuthorPosts
- You must be logged in to reply to this topic.