Displaying ‘Brands’ Custom Taxonomy in Product XML Feeds

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #105548
    Adolfus Adams
    Guest

    I along with my colleague have created a custom taxonomy called Brands (with slug called ‘brand’) and have associated it to Woocommerce Products. Can the Product XML Feeds for WooCommerce plugin display Brands in the xml from the (Brands) custom taxonomy? If yes, then how?

    • This topic was modified 1 year, 5 months ago by Omar Dabbas.
    #105549
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    As replied in private email: since plugin v1.2.2, you can now get any custom taxonomy for the products with [alg_product_terms] shortcode, e.g.:

    [alg_product_terms taxonomy="brand"]

    In case if there will be more than one brand, you can use sep attribute to set how brands should be “glued”, e.g.:

    [alg_product_terms taxonomy="brand" sep=", "]

    Hope that helps.

    Best regards,
    Tom

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