New Zenner
- Join Date:
- Oct 2007
- Posts:
- 15
- Plugin Contributions:
- 0
simple navigation: cpath->categories
Hello,
I'm new to zencart and something confuses me why is there no function to **lookup the current categories to display them on product_info_display **
I just want it like here:
http://www.zencart137.jadetrue.com/index.php?main_page=product_info&cPath=1&products_id=1
Home :: Testing (Toplevel) :: Testing2 (Sub)
This is a must have for every shop I'm so confused why it's not in the main code.
I've tried a lot and searched here and there but usually people want to hide
categories or want to display them horizontally O_o
I found out that $cpath displays the category path id's but it's difficult for me to read the first number and then if there is a "_" to start reading again.
Is there a php function (just like ereg or preg_match to test a value) to get the real numbers into a simple variable I can output via ECHO? That would solve that because then it's easy to read out the categories in the CATEGORIES_DESCR table.
Thanks in advance, maybe someone can even come up with a better solution or someone knows how its done at jadetrue.com