Displaying Custom Field for Variation Products in XML Feed

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #105559
    Tomek
    Guest

    How to list custom field from product in variation products only mode?

    For example: i add custom field named: warranty with one value for each product and i want to show same result for each variant of this product in XML.

    • This topic was modified 1 year, 5 months ago by Omar Dabbas.
    #105560
    Tomek
    Guest

    Same problem with [alg_product_excerpt]. How to show it on each variation ?

    #105561
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Tomek,

    I’ve just replied to you by email, but in case if anyone else has similar task – I’ve just added new use_parent_id attribute in our development version. It can be used in all “products” shortcodes. Attribute is set to no by default, but if you will set it to yes it should solve your task, e.g.:

    [alg_product_meta name="total_sales" use_parent_id="yes"]

    Hope that helps.

    Best regards,
    Tom

    #105562
    ucsendre
    Guest

    This made my day sunnier:
    use_parent_id=”yes” can be used in all “products” shortcodes.
    Attribute is set to no by default, but if you will set it to yes it should solve your task.

    #105563
    Tom Anbinder
    Moderator
    Plugin Support

    Happy to help 🙂

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