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?
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.
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.
To anyone who come across this and was confused like me. Here is what you have to do:
You need to create your Product Attributes first at Commerce => Options => Product Attributes.
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.
Then you need to create a new Vendr: Variants Editor and select your new ElementType.
The last thing you need to do is to add your new Vendr: Variants Editor to your Product documentType.
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.
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 :)
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
Hi Matt.
Thank you for a quick response.
I will try adding some "Product Attribtues" on monday.
Ill let you know how that goes :)
Thanks again Matt.
To anyone who come across this and was confused like me. Here is what you have to do:
You need to create your Product Attributes first at
Commerce => Options => Product Attributes.
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 onesNOT Product Attributes.
Then you need to create a new
Vendr: Variants Editor
and select your new ElementType.The last thing you need to do is to add your new Vendr: Variants Editor to your Product documentType.
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
[ comment removed - posted a new question ]
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
is working on a reply...