Showing specific attributes only

Forums Product XML Feeds for WooCommerce Showing specific attributes only

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #105712
    WPWhale
    Moderator

    Hi Pareidolia,

    Is Color in this case an attribute that’s used for variation? Or just in the parent product?

    I mean having 2 colors & 2 sizes will produce 4 product variations? Just trying to understand how the final feed should look like.

    Omar

    #105713
    Pareidolia
    Participant

    Only size is used for variations, color and every other attribute are just for the parent.

    For example the parent attributes might be:
    Size: 40, 41, 42
    Color: Red
    Material: Leather
    Brand: ABC

    The variations in that case are:
    40
    41
    42

    And what I’m trying to get in the variation only feed is just one size per item with some parent attributes. If I don’t attach use_parent_id to any shortcode I get the correct size attribute but all parent-only attributes are empty. If I do attach use_parent_id in even one shortcode then all shortcodes output the parent attribute, including the one for size which means it lists all sizes instead of one for each item.

    I hope that makes sense.

    #105714
    Pareidolia
    Participant

    Quick update:

    I deleted that feed and started again and it just works, I’m not sure what I missed the first time.

    #105715
    WPWhale
    Moderator

    Glad to know it works fine now.

    Let me know if you need any further help.

    Omar

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