最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

customization - how to get the categories for a single product in a hierarchical way

programmeradmin1浏览0评论

It's the first time I write here, but I really appreciate your work from long time.

Well, I know there is a very similar question, but I can't get out the solution for my particular case.

In a structure of super-cat > parent-cat > cat > subcat

I have products which can be assigned in many categories, even many super categories.

I would like to have the categories displayed in hierarchical way and formatted if possible as a <ul><li> list without the link to the category archive.

I checked out the hierarchical_category_tree function, it would be good, but it shows the entire tree of categroies while I need to have displayed just the categories the current product is in.

Thanks in advance.

发布评论

评论列表(0)

  1. 暂无评论