Home Forums Pro Themes Clean Commerce Pro Remove 'Select options' button on mobile site

This topic contains 3 replies, has 2 voices, and was last updated by  wensolutions 1 month, 2 weeks ago.

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

    Adam Harris
    Participant

    Hi again,

    How can I remove the ‘Select options’ button that overlays on the product image when hovering/clicking on the mobile site?

    Thanks
    Adam

    #82787

    wensolutions
    Keymaster

    Hello @adamharrisuk,

    Can you please provide your site URL, so that we can provide a precise fix on the issue?

    Thank you.

    Regards!!

    #82790

    Adam Harris
    Participant

    It’s: https://www.regal1.co.uk/shop/

    I want to remove the ‘add to basket’ one too when there are not options.

    Thanks
    Adam

    #82829

    wensolutions
    Keymaster

    Hello @adamharrisuk,

    To remove the button you have to go through the child theme.

    To know how to create and activate the child theme please go through below given link:

    https://wptravel.io/how-to-create-a-child-theme/

    After activating the child theme in your child theme functions.php add below given code.

    remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' );
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );

    Hope this helps.

    Regards!!

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

You must be logged in to reply to this topic.