Hi, On the product info page, I would like to display all the categories that a product belongs to and not just the current category. Is there a function to call for this?
Using v1.3.8a.
Hi, On the product info page, I would like to display all the categories that a product belongs to and not just the current category. Is there a function to call for this?
Using v1.3.8a.
Christina - did you ever find a solution for this? I am also looking for this feature.
Jessica
There is an admin function zen_get_master_categories_pulldown($product_id) which returns an array containing id and name of all categories linked to the product (plus a bit of text for the pulldown). I don't know if it is available in the front end (don't think so), but it could be used as a base to make the simple function you want.
It is in /admin/includes/functions/general.php, line 2760.
Bookmarks