Product

@if ( get_field( ‘product_category’ ) )
@foreach (get_field( ‘product_category’ ) as $term)

@define $cates[] = $term->slug
@endforeach
@endif

      @foreach(get_posts(array(‘posts_per_page’ => 100,’post_type’ => ‘product’, ‘product_category’ => implode(‘,’, $cates))) as $post)

 

@endforeach

−−−The items will continue to add−−−

logo1 logo4

© 2015 NATURAL HERB ENTERPRISE CO., Ltd All Rights Reserved.