<?php
/**
* Call Counter Bar in product loop below product name using shortcode.
* This inherit product's bar settings and follow campaign rules.
*/
add_action('woocommerce_after_shop_loop_item', 'wcct_shop_loop_bar_display', 5);
if (!function_exists('wcct_shop_loop_bar_display')) {
function wcct_shop_loop_bar_display() {
echo do_shortcode('[finale_counter_bar skip_rules="no"]');
}
}