recursively call categories
Hello everyone ,
As I can see there is only three level of child categories fetching in the velocity code in packages/Webkul/Velocity/src/Resources/assets/js/UI/components/sidebar.vue
How we can fetch categories recursively insted of fechting only three level child of categories.
devansh-webkul last edited by
Well, as per the recursive you need to fully customize it. For e.g.,
You already mentioned the component i.e.
packages/Webkul/Velocity/src/Resources/assets/js/UI/components/sidebar.vue. You are getting full categories with its child categories from
The major challenge you will face is the template part i.e. design. You need to do a recursive loop till
categories.childrennot equal to the blank array.
For better information, you can console log the