Your account expired support, please renew to get your support.

Home Forums Themes Support Claue Twice Social Icon in Popup Sale

Topic Resolution: Resolved
Viewing 2 reply threads
  • Author
    Posts
    • #40002
      seventalents
      Support Expired

      Hi,

      when I click on “Acquista (or Buy)” on Product in Shop Page, on Popup Sale I see 2 facebook icon like in screenshot.

      How can I solve, please?

      Attachments:
      You must be logged in to view attached files.
    • #40005
      Harry
      Support Expired

      Hi,

      Please change your code in claue-child > functions.php

      /* Icone Social sotto pagina prodotto */
      add_action( 'wp_head', 'remove_my_action' );
      function remove_my_action(){
         remove_action( 'woocommerce_single_product_summary', 'jas_claue_wc_single_social_share', 50 );
      }
      function jas_claue_child_wc_single_social_share() {
              if ( cs_get_option( 'wc-social-share' ) ) {
                      echo '<h6>Condividi su:</h6>';
                      jas_claue_social_share();
              }
      }
      add_action( 'woocommerce_single_product_summary', 'jas_claue_child_wc_single_social_share', 50 );

      To

      function jas_claue_child_wc_single_social_share_title() {
      	if ( cs_get_option( 'wc-social-share' ) ) {
      		?>
      		
      		<h3><?php esc_html_e( 'Share on', 'claue' ); ?></h3>
      
      		<?php
      	}
      }
      add_action( 'woocommerce_single_product_summary', 'jas_claue_child_wc_single_social_share_title', 45 );

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #40008
      seventalents
      Support Expired

      Now it’s ok … Thanks Harry!

Viewing 2 reply threads

You must be logged in to reply to this topic.