Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bo Jacobsen 606 posts 2404 karma points
    Jun 11, 2021 @ 13:33
    Bo Jacobsen
    0

    how to make vendr complex variants

    Hi all.

    Ive been playing around with complex variants. But i cant figure out how it works.

    As i understand it i need to make a documenttype as an Element type and add it to the Vendr: Variants Editor, datatype. This gives me an ContentApp on a product called Variants, that are empty with a "Create Product Variants" button that does nothing.

    Can someone show me an example of how to make variants with like Size and Color?

    Thank you :)

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jun 11, 2021 @ 13:37
    Matt Brailsford
    100

    Hi Bo,

    Sure, you are almost there but the last bit is "Product Attribtues". These are defined in the commerce section as generally they will need to be managed by the retailer rather than the developer.

    We haven't written the docs for these yet, but you can find a bit of background on our initial blog post https://vendr.net/blog/vendr-1-5-0-release-candidate/

    Essentially product attributes are things like color, size, fit etc. You define these and all the possible options for them, and then when you go to create your variants, you can select all the combinations you wish to create variants for. For each combination you then get to enter the details of each variant as defined by the variants doc type you've configured.

    Hope this helps, but let me know if you need any more detail.

    Matt

  • Bo Jacobsen 606 posts 2404 karma points
    Jun 11, 2021 @ 16:24
    Bo Jacobsen
    0

    Hi Matt.

    Thank you for a quick response.

    I will try adding some "Product Attribtues" on monday.

    Ill let you know how that goes :)

  • Bo Jacobsen 606 posts 2404 karma points
    Jun 14, 2021 @ 07:45
    Bo Jacobsen
    3

    Thanks again Matt.

    To anyone who come across this and was confused like me. Here is what you have to do:

    1. You need to create your Product Attributes first at Commerce => Options => Product Attributes.

    2. Then you need to create a DocumentType as an ElementType with property aliases as (sku and (price or priceAdjustment)). The sku is a required property. Here you can also set properties like stock and custom ones NOT Product Attributes.

    3. Then you need to create a new Vendr: Variants Editor and select your new ElementType.

    4. The last thing you need to do is to add your new Vendr: Variants Editor to your Product documentType.

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jun 14, 2021 @ 07:59
    Matt Brailsford
    0

    No problem, and thanks for writing out the steps, I'll be sure to get this added to the docs site as soon as I can 👍

    Matt

  • Warren Harding 132 posts 275 karma points
    Aug 10, 2021 @ 02:44
    Warren Harding
    0

    [ comment removed - posted a new question ]

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Aug 10, 2021 @ 08:37
    Matt Brailsford
    1

    Hi Warren,

    Happy to help, but can you please raise your question as a new forum post. This question has been marked complete and so I don't want to muddy the thread with additional questions.

    Many thanks

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft