how to change the zoom magnify?
-
hello staff
I need to change the magnify scale of the products zoom.
in my case reduce the zoom image
thanks for your help
in Functions.php
add_filter( ‘woocommerce_single_product_zoom_options’, ‘custom_single_product_zoom_options’, 10, 3 );
function custom_single_product_zoom_options( $zoom_options ) {
// Changing the magnification level:
$zoom_options[‘magnify’] = 0.2;
return $zoom_options;
}
Attachments:
You must be
logged in to view attached files.
Hi,
Sorry, but there is no such option in our theme and WooCommerce by default. It may require additional code customization or extra plugin but we don’t have an instruction for this. It is out of our theme support scope.
Regards