• Resolved martin177

    (@martin177)


    Hi,

    I am trying to remove the quickview button from my woocommerce shop. I have tried adding the following codes to the css section, but none of them worked:

    a.woocommerce-main-image.zoom.sc_button.quick_view_button.icon-resize-full-1.inited {
    display: none;
    }

    .wpb_wl_preview_area, .et_overlay { display: none !important; }

    Do you happen to know which code would be correct?
    Thank you so much!
    Martin

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    Go to Customize > Woocommerce > Archive and disable the quick view feature.

    Thread Starter martin177

    (@martin177)

    Hi Amit,

    I had taken it out long ago, didn’t work tho 🙁
    see first picture https://imgur.com/a/8SARXOF

    Can you share your site link so that I can check it?

    Thread Starter martin177

    (@martin177)

    the link shows the single product page where the quick view is still visible…

    http://lrna.is/product/company-courses/

    No, I didn’t see quick view on this page. Can you share a screenshot mentioning where you are seeing this?

    Thread Starter martin177

    (@martin177)

    Oh no, I’m so sorry, appearantly I meant zoom…
    I’ll try to enter “remove_theme_support( ‘wc-product-gallery-zoom’ );” into functions.php file and hopefully it’ll be gone then…
    Just need to be able to access it on the webserver…

    • This reply was modified 7 years, 1 month ago by martin177.
    Thread Starter martin177

    (@martin177)

    I don’t seem to be able to add this line just on its own:

    remove_theme_support( ‘wc-product-gallery-zoom’ );

    does it need to look something like this?:

    <?php
    add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
    function my_theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
    }
    ?>

    thank you again

    Just add the below code to the functions.php file of the child theme to remove zoom effect.

    function disable_image_zoom_support() {    remove_theme_support( 'wc-product-gallery-zoom' );}
    add_action( 'wp', 'disable_image_zoom_support', 100 );
    Thread Starter martin177

    (@martin177)

    I deleted the 100 out of the code you sent me and it’s worked like a charm.

    Closing tab now,
    thank you,
    have a great day,
    Martin

    Glad to hear that it worked!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘remove quickview woocommerce?’ is closed to new replies.