Category tree path

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #105837
    alex
    Guest

    Hallo i would like to know if there is a way to get the category tree path? Is it possbile? For example if a product has ticked just a subcat , i want to havethe full path not just the subcat name. Home page , cat1 ,subcat1

    Thank you in advance !

    • This topic was modified 1 year, 2 months ago by Omar Dabbas.
    #105838
    WPWhale
    Moderator

    Hi Alex,

    To make sure I got you correctly, are you referring to URL path here? Since homepage is not a category as you know.

    You can use something like

    [alg_product_terms taxonomy="product_cat" orderby="hierarchy" sep=">"]
    And it will show the hierarchy of categories (but in this case, product should be part of parent category as well).

    Please let us know if you need further help.

    Omar

    #105839
    alex
    Guest

    Still doesn’t work. I need a way to show the path . From the start.  Home-page / Μελάνια – Τόνερ / Μελανοταινίες Συμβατές I need something like that seperated with commas. All greek letters are product categories . Is this possible? Thank you in advance for the response

    #105840
    WPWhale
    Moderator

    Hi Alex,

    Using the current shortcodes, unfortunately it’s not doable since we don’t have a shortcode to show homepage ULR (generally it would be website domain name), please send us to [email protected] with a link to your site so we can check, then we might be able to create such a shortcode for you.

    Omar

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.