Hello There,
Thanks for providing the information. I have logged in and checked your products in your dashboard. I can see that you have 26 published products and 22 out of 26 were being counted and only 13 products were displayed.
I have taken a closer look and it seems that you have filtered out some of the products not to be displayed in your shop page. You have added this code;
function custom_pre_get_posts_query( $q ) {
if ( ! $q->is_main_query() ) return;
if ( ! $q->is_post_type_archive() ) return;
if ( ! is_admin() && is_shop() ) {
$q->set( 'tax_query', array(array(
'taxonomy' => 'product_cat',
'field' => 'slug',
'terms' => array( 'extras', 'maintenance', 'huoltopalvelut', 'merchandise' ), // Don't display products in the extras category on the shop page
'operator' => 'NOT IN'
)));
}
remove_action( 'pre_get_posts', 'custom_pre_get_posts_query' );
}
This code will not display any products under these terms: ‘extras’, ‘maintenance’, ‘huoltopalvelut’, ‘merchandise’.
This is the main reason why the count is different from what is being displayed. You may need to change the way the count has been displayed since you have change the number of product items displayed in your shop page. Since this is a WooCommerce customization, it is best that you consult this issue in WooCommerce support section. You can visit this page: https://docs.woocommerce.com/document/how-to-get-help/
Hope this helps.