Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #321403

    Hi!

    I would like to remove the add to cart, select option and others, everything that customer can choose the product to buy,

    remove from everywhere such as homepage, category page, archive page, etc. and also the cart popup from the top right of
    every page too.

    I use this code

    .cart_dropdown .dropdown_widget { display: none !important; }

    The buttons are removed

    but, if there’re options on page, the option still shows the add to cart button

    Thank you in advance

    #321410

    Hey Pearwcz!

    Please add following code to Functions.php file in Appearance > Editor

    remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' );
    			remove_action( 'woocommerce_single_product_summary', 'woocommerce_add_to_cart' );

    Regards,
    Yigit

    #321655

    Hi, Yigit,

    thanks for your code, but on shop page and archive page, there’re still the ‘add to cart’ button..

    suggest me another code please

    thank you very much

    #321929

    Hey!

    Please try adding following code to Quick CSS in Enfold theme options under General Styling tab

    .add_to_cart_button {
    display: none!important;
    }

    Regards,
    Yigit

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

You must be logged in to reply to this topic.