Size attribute help

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #105854
    blankLeonard Ghazarian
    Guest

    Hi – i am trying to get the size value in the xml for the google shopping feed.

    We have an attribute for size – how do i get the value only for that attribute.

    When i use [alg_product_list_attributes] it lists all attributes for that product – sometimes 2 or 3. I just want to use the size values.

    Thanks.

    • This topic was modified 6 months, 2 weeks ago by blankOmar.
    #105855
    blankWPWhale
    Moderator

    Hi Leonard,

    Can you please try something like this:

    <product_attribute_size>[alg_product_list_attribute name="size"]</product_attribute_size>

    Omar

    #105856
    blankLeonard
    Guest

    Thanks that worked. i just had to pass the correct slug for the size attributes.

    #105857
    blankWPWhale
    Moderator

    Awesome, glad to hear this Leonard.

    If you’re enjoying the plugin, it would be great if you can review it.

    Omar

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