• Hi,

    I installed your plugin, and re-ordered the products within the bags sub-category in a specific order. The order is saved properly in the admin, and remains ok after refresh, but this custom order within the category is not applied in the front-end of the site – In the category page here in the attached link.

    I use the following query to show the products in the category php template:

    $args = ['post_type'=>'product', 'post_status'=>'publish', 'posts_per_page'=>-1, 'fields'=>'ids', 'orderby'=>'menu_order', 'order'=>'ASC'];
    if ($current_cat_id){
    	$args['tax_query'] = [['taxonomy'=>'product_cat', 'field'=>'term_id', 'terms'=>$current_cat_id]];
    }
    $products_loop = new WP_Query($args);

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Products not ordered in category’ is closed to new replies.