Support » Theme: OceanWP » Add result count to bottom

  • Hi,

    I am using woocommerce with your theme and I am wondering wether it would be possible to add the result count on the archive page to the bottom of the page as well.

    Thank you,
    Olga

Viewing 1 replies (of 1 total)
  • Hello,

    Kindly try to use the below code and check it works or not –

    function prefix_result_count() {
    
        // Return if is not in shop page
        if ( ! oceanwp_is_woo_shop()
            && ! is_product_category()
            && ! is_product_tag() ) {
            return;
        }
    
        get_template_part( 'woocommerce/result-count' );
    }
    add_action( 'woocommerce_after_shop_loop', 'prefix_result_count' );
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.