rodanny Posted April 8, 2007 Posted April 8, 2007 Hello, I need a function . I would like to input a category ( name or id) and return all path in backwards to root or one category parent, predefined. ex. root_category subcategory1 subcategory2 subcategory21 subcategory22 subcategory221 Products_0 subcategory23 subcategory3 function tep_return_tree2prod(Producst_0) ------------------ Return: Products_0 subcategory221 subcategory22 subcategory2 root_category or..... function tep_return_tree2prod(Producst_0,subcategory2) --------------- Return Products_0 subcategory221 subcategory22 subcategory2 Thank's and sorry for my poor english. ;) Have a nice day Danny
Guest Posted April 11, 2007 Posted April 11, 2007 there is one called tep_generate_category_path in your catalog\admin\includes\functions\general.php
Recommended Posts
Archived
This topic is now archived and is closed to further replies.