Tag Info

New answers tagged

0

Here is the simplest way to display product child categories from specific parent id $parent_id = 12; // parent category id // Get child categories from parent id $get_child_category = get_terms('product_cat',array('child_of' => $parent_id)); // Filter products from child category foreach($get_child_category as $child_category){ $args = array( ...



Top 50 recent answers are included