archives category page and [product_categories]
-
Hello
I use divi builder to custom my wordpress and woocommerce.
With shortcode [product_categories parents=0] i can display on my home shop customized page the parents catagories only, all works fine (ie Category a, Category b and Category c)
Once i click on a category, for exemple Category A the url page is my.website/category-product/category-a
To customize this kind of page i apply a personalize layout and still use [product_categories]
But in this category-a page with this shortcode, instead of have child subcategories (ie subcategory-a-1 / subcategory-a-2 / subcategory-a-3) it displays all parents categories, all childs categories (ie subcategory-b-1)How can i do to only display subcategores childs on current page ?
I tried something with success by using a part (line 48 to 81) of archive-product.php but displays was not like a grid
Thank you for your help
- The topic ‘archives category page and [product_categories]’ is closed to new replies.