Could someone provide me with a very simple xml structure to add a product with options? Once I see one I can handle it all.
I have a Product that is a Widget and has size 5lb, 10lb,15lb. and lets say I want to have this product and its options in 5 categories. (by brand, by taste, by strength, whole bean, ground)
Here is roughly what I think it should look like. Also, how do I know what all is actually required? For example, I see that the product has all the SEO fields as do the variants, but the variants wont need them since it will be part product right? Lastly, for the categories what would go in xpath?
I picture once this is run and uploaded my product page will have.
Widget
<select box with>5lb
<select box with>10lb
<select box with>15lb
Code:
<product>
.
.
.
<Mappings AutoCleanup="boolean">
<Entity EntityType="Category" Name="By Brand" XPath="string" ID="integer" GUID="uniqueidentifier" DisplayOrder="integer"/>
<Entity EntityType="Category" Name="By taste" XPath="string" ID="integer" GUID="uniqueidentifier" DisplayOrder="integer"/>
.
.
.
</Mappings>
<variants>
<variant Action="Add">
<name >5 lb.</name>
</variant>
<variant Action="Add">
<name >10 lb.</name>
</variant>
<variant Action="Add">
<name >15 lb.</name>
</variant>
</variants>
</product>
Hopefully im not way off base here. Thanks for any insight!
p.s. I did see the W.S.I manual and used their product sample to help get me to this.