• Hi, im using yootheme for the template editor… and i added your plugin for use a custom badges…. if you can check the product page, the product: nome instagram have a badge but is not showing. Can you please help me? thank you ??

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Facundo Arano

    (@aranofacundo)

    Hi there,
    Try adding the following code to the functions.php file of your current theme:

    if ( ! function_exists( 'yith_wcbm_customization_badge_container_start' ) && ! function_exists( 'yith_wcbm_customization_badge_container_end' ) ) {
    	add_action( 'woocommerce_before_single_product_summary', 'yith_wcbm_customization_badge_container_start', 9 );
    	add_action( 'woocommerce_before_single_product_summary', 'yith_wcbm_customization_badge_container_end', 20 );
    	function yith_wcbm_customization_badge_container_start() {
    		do_action( 'yith_wcbm_theme_badge_container_start' );
    	}
    	function yith_wcbm_customization_badge_container_end() {
    		do_action( 'yith_wcbm_theme_badge_container_end' );
    	}
    }

    Let me know if this helped you.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom template is not showing badge’ is closed to new replies.