Home Forums WoodMart support forum how to change the zoom magnify?

how to change the zoom magnify?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #176403

    oscarviana
    Participant

    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.
    #176490

    Artem Temos
    Keymaster

    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

Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)