Hi all Customer,
When WooCommerce update and maybe some functions doesn’t work with shortcode Products Ajax Category Tab doesn’t work.
So you can fix it by following steps:
Step 1: Go to path {yourwebroot}/wp-content/plugins/milo-bibo-core/includes/shortcodes/products-creative/products-in-category-tabs/utils/ then open file ajax-action.php
Step 2: Find the code
$args = array(
'post_type' => 'product',
'post_status' => 'publish',
'ignore_sticky_posts' => 1,
'posts_per_page' => $per_page,
'orderby' => 'date',
'order' => 'desc',
'meta_query' => array(
array(
'key' => '_visibility',
'value' => array('catalog', 'visible'),
'compare' => 'IN'
)
)
);
and change to
$args = array(
'post_type' => 'product',
'post_status' => 'publish',
'ignore_sticky_posts' => 1,
'posts_per_page' => $per_page,
'orderby' => 'date',
'order' => 'desc'
);
Hope this help all!
P/s: we’ll update this in new version so new customer can don’t worry about this problem!
*********
Best regards,
MiloTheme