$args = array(
'number' => $number,
'orderby' => $orderby,
'order' => $order,
'hide_empty' => $hide_empty,
'include' => $ids
);
$product_categories = get_terms( 'product_cat', $args );
$count = count($product_categories);
if ( $count > 0 ){
echo "
- ";
- ' . $product_category->name . '
foreach ( $product_categories as $product_category ) {
echo '
';
}
echo "
";
}