New Landing How can we help? Atelier Disable share button on product page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Atelier
  • #200361
    formschmiede
    Member
    Post count: 3

    Hello There. I would like to turn on the product side , the Share function . Can you help me to do so.

    Attachments:
    You must be logged in to view attached files.
    #200366
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Add the code below to your custom css option.

    .woocommerce div.product div.summary .sf-share-counts {
        display: none;
    }

    -Rui

    #228778
    mccaul
    Member
    Post count: 28
    This reply has been marked as private.
    #228848
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at functions.php of child theme.
    remove_action( 'woocommerce_single_product_summary', 'sf_product_share', 45 );
    Thanks
    Mohammad

    #266600
    hallobliss
    Member
    Post count: 2
    This reply has been marked as private.
    #266650
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    @hallobliss
    – Just try to use this custom css code:-

    .woocommerce div.product div.summary .sf-share-counts {
      display: none !important;
    }

    Thanks
    Mohammad

    #303281
    adriboixet
    Member
    Post count: 41

    Hi,

    This code doesn’t work. How can I remove this action?

    remove_action( 'woocommerce_single_product_summary', 'sf_product_share', 45 );

    #303284
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Try this one

    function sf_custom_remove(){
         remove_action( 'woocommerce_single_product_summary', 'sf_product_share', 45 );
    }
    
    add_action('init', 'sf_custom_remove');

    -Rui

Viewing 8 posts - 1 through 8 (of 8 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