Viewing 1 replies (of 1 total)
  • Plugin Support Alessio Torrisi

    (@alessio91)

    Hello there,

    please add following code in the file functions.php of your theme and check again:

    if ( !function_exists( 'yith_wcbm_shop_badge_container_start' ) && !function_exists( 'yith_wcbm_shop_badge_container_end' ) ) {
    add_action( 'woocommerce_before_shop_loop_item_title', 'yith_wcbm_shop_badge_container_start', 9 );
    add_action( 'woocommerce_before_shop_loop_item_title', 'yith_wcbm_shop_badge_container_end', 20 );
    function yith_wcbm_shop_badge_container_start() {
    do_action( 'yith_wcbm_theme_badge_container_start' );
    }

    function yith_wcbm_shop_badge_container_end() {
    do_action( 'yith_wcbm_theme_badge_container_end' );
    }
    }

    If the issue persists, please try plugin with a WordPress default theme and WooCommerce only.

Viewing 1 replies (of 1 total)
  • The topic ‘Badges not working on archive pages’ is closed to new replies.