SuperPower09 Posted April 24, 2020 Share Posted April 24, 2020 I'm trying to create a select element with options that include links all of my categories/subcategories. My categories are up to three levels so a cPath URL would look like: https://example.com/index.php?cPath=1_12_23 Is there a way to grab the full cPath? Is there possibly something I can do with $OSCOM_CategoryTree? Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 25, 2020 Share Posted April 25, 2020 You could copy the tep_generate_category_path in admin/includes.functions/general/ to the shop side to do this. It returns an array but you could change that to a string. It depends on the version you are using but I think they all have this function. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.