Product parent category in XML

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #105670
    George Kantze

    Hello and thank you for your great plugin.
    Is there an option to include a product’s parent category in the xml file?
    I’m only checking the child category in every product.

    Let’s say we have a “vehicles” category and a “cars” subcategory.
    I need this in xml file.
    vehicles > cars
    (both parent and child category are shown)

    George Kantze

    I have found a workaround. I have checked the parent category too in the product’s edit page. Is there another option without having to check the parent category? (I have 1.500+ products with only child-category checked!)

    Also, is there a way to change the separator?
    I don want : vehicles, cars
    I want: vehicles > cars



    Regarding changing the separator:

    [alg_product_terms taxonomy="product_cat" sep=" > " orderby="hierarchy"]

    This will also sort categories hierarchically.

    As for including category’s parent – unfortunately, I’m not sure if we can do that. The problem is that parent category is not really a product’s category unless you actually check it for the product.

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