If you like our themes and support, please SHARE our website! https://theme-sky.com/wordpress-themes/

Okay
  Public Ticket #1047834
Share button in quickview
Closed

Comments

  •  2
    Nicolas started the conversation

    Hello, 

    I'd like to add the share buttons (social networks) on the quickview window of products.

    How can i do it please ?

    Thank you,

    Nicolas

  •  567
    Stormit replied

    Hi Nicolas,

    You can add the custom PHP code below

    add_action('sanzo_quickshop_single_product_summary', 'sanzo_template_social_sharing', 70);
    

    And the custom CSS code below

    div.pp_woocommerce div.ppt{
        display: none !important;
    }
    

    Best regards,

  •  2
    Nicolas replied

    should I add this php code in function.php ?

  •  567
    Stormit replied

    Hi Nicolas,

    If you have installed a child theme, you can add it into the functions.php file of child theme.

    If you add it into the functions.php file of the main theme, your change will be lost when you update the theme in future.

    Best regards,