Skip to content

How to display subcategories on shop #282

Answered by givanz
admirf asked this question in Q&A
Discussion options

You must be logged in to vote

Hi

By default the categories component has data-v-parent_id="0" attribute set that makes it show only top level categories, you can remove it to show all subcategories

/public/themes/landing/src/product/_sidebar.html#L2

/public/themes/landing/product/index.html#L679

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by admirf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants