Hi Hung,
2. Your question is a bit unclear to me. Please describe in more details or or your desired goal, this will allow me to thoroughly investigate and address your concerns in a more efficient.
I will describe using the example of the category “Ferrous metal products” (taxonomy=product_cat&tag_ID=17) this is the parent category and it has child categories (tag_ID=196 and tag_ID=2794) (I attach screenshot 1). For some reason, they are not displayed in the Product Categories widget (I attach screenshot 2).
However, if I remove the selection from the “Hide empty categories” checkbox (attach screenshot 3), then I get the result that I expect from the Product Categories widget (attach screenshot 4), but I don’t need empty categories, so I set the checkbox, but the parent category disappears in the widget and as a result I get an incorrect structure categories.
Attachments:
You must be
logged in to view attached files.