New Landing How can we help? Atelier Remove add to cart using functions.php

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #254234
    doyley3
    Member
    Post count: 22

    Hi I’d like to remove Add to cart and Choose Options button from catalog pages only –

    I’ve tried this
    remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’ );

    but it also removes add to wishlist which i’d like to keep

    #254264
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    WooCommerce > Settings > General to see the ‘Quick View’ settings -> Quick View Trigger Settings > Select Any non-ajax add-to-cart button.
    Thanks
    Mohammad

    #254294
    doyley3
    Member
    Post count: 22

    Hi,

    apologies but I can’t quite follow where this setting is.

    Woocommerce/Settings/General there’s no add to cart settings here.

    Woocommerce/Quickview/Quickview Trigger Settings – Only settings for Quick View but none for add to cart.

    #254307
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me login detail to check and resolve the issue.
    Thanks
    Mohammad

    #254324
    doyley3
    Member
    Post count: 22
    This reply has been marked as private.
    #254340
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .product .add-to-cart-wrap, .product .yith-wcwl-add-to-wishlist{
    display:none !important;
    }

    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register