Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 434 Bytes

File metadata and controls

13 lines (8 loc) · 434 Bytes

Script printing category in tree structure with product count & ID

Using this script you can print all category in a magento store with all the child in tree structure.

First bracket () shows ID, while second shows count.

Attributes used in script are- Count of product in particular category ID of the particular category URL of the category

You can hard code category ID, in case you are looking to print a partcular tree.