here is our situation
Parent Product
<item>
<title>
Lichtblauw trouwpak 3 delig met gilet met revers ROKA groen
</title>
<g:id>111200293</g:id>
<g:brand>Armani</g:brand>
<g:manufacturer>Armani</g:manufacturer>
<publication_state>1</publication_state>
<g:featured_product>y</g:featured_product>
<g:description>
Mooi Licht Groen kostuum 3-delig voor de bruidegom van het merk ROKA.Het colbert heeft twee klepzakken, een borstzak, zijsplitten. De pantalon heeft steekzakken, twee paspelzakken aan de achterzijde, een knoopsluiting en een ritssluiting. Het gilet is van dezelfde stof gemaakt als het pak.
</g:description>
<g


<g:google_product_category>5193</g:google_product_category>
<g:mpn>18153-72 Orlando</g:mpn>
<g:image_link>https://www.roka.nl/111200293/800/1500/pep.jpg</g:image_link>
<g:link>
https://www.roka.nl/kostuum-pak-3-delig-licht-groen-18153-71-orlando-111200292
</g:link>
<price_group>3</price_group>
<price_exvat>825,6198</price_exvat>
<g


<sale_price_exvat>767,7685</sale_price_exvat>
<g:sale_price>929.00</g:sale_price>
<g:availability>in stock</g:availability>
<g:condition>new</g:condition>
<g:color>groen</g:color>
<magazijn_1>2</magazijn_1>
<magazijn_2>2</magazijn_2>
<magazijn_3>2</magazijn_3>
<magazijn_4>2</magazijn_4>
<magazijn_5>2</magazijn_5>
<magazijn_6>2</magazijn_6>
<show_stock>
<![CDATA[
<style type="text/css">ul.uk-list.uk-list-divider.uk-accordion li:last-child {display: block;}</style>
]]>
</show_stock>
<g:shipping>
<g:country>NL</g:country>
<g:service>Rembours</g:service>
<g


</g:shipping>
<g:shipping>
<g:country>NL</g:country>
<g:service>Ideal</g:service>
<g


</g:shipping>
<g:shipping>
<g:country>NL</g:country>
<g:service>Vooruit betalen</g:service>
<g


</g:shipping>
</item>
<title> : Title of the product, normal VM field
<g:id> : Product SKU, normal VM field
<g:description> : Custom field, string
<g:manufacturer> : Manufacturer, normal VM field, used in Custom Filters
<g:brand> : Custom field, string
<publication_state> : Custom field, string
<g:mpn> : Custom field, string
<price_group> : Custom field, Customfieldsforall, multiple values, used in Custom Filters
<g:color> : Custom field, Customfieldsforall, multiple values, used in Custom Filters
<show_stock> : Custom field, editor, CSS
<g:featured_product> : not used in VM
<g:shipping> : not used in VM
<price_exvat> : normal price without tax
<g

<sale_price_exvat> : price, without tax
<g:sale_price> : Final price, with tax
<g:availability> : not used in VM
<g:condition> : not used in VM
<g:image_link> : Image in VM
<g:image_link> : not used in VM
<g:google_product_category> : not used in VM
The parent product is created but not orderable because only sizes are. Each suit has a size, each size hat a GTIN and a unique SKU (parent SKU with size)and it has Stock. The stock is devided over our physical stores, that information is there in the feed. The Parent does not need stock as it is not orderable.
Child products (3)
Here we have 3 childs of SKU: 111200293
Child 1, the size is 46, the stock is 1 and the stock is at “magazijn 1”
Child 2, the size is 48, the stock is 4, 1 is at store "magazijn 1”, 2 are at store "magazijn 2” and 1 is at store "magazijn 3”
Child 3, the size is 50, the stock is 5, 2 are at store "magazijn 1”, 1 is at store "magazijn 2” and 2 are at store "magazijn 4”
<child>
<title>
Lichtblauw trouwpak 3 delig met gilet met revers ROKA groen
</title>
<parent_id>111200293</parent_id>
<g:id>111200293_46</g:id>
<gtin>2017000017586</gtin>
<g:size>46</g:size>
<totaalvoorraad>1</totaalvoorraad>
<magazijn_1>1</magazijn_1>
</child>
<child>
<title>
Lichtblauw trouwpak 3 delig met gilet met revers ROKA groen
</title>
<parent_id>111200293</parent_id>
<g:id>111200293_48</g:id>
<gtin>2017000017587</gtin>
<g:size>46</g:size>
<totaalvoorraad>4</totaalvoorraad>
<magazijn_1>1</magazijn_1>
<magazijn_2>2</magazijn_2>
<magazijn_3>1</magazijn_3>
</child>
<child>
<title>
Lichtblauw trouwpak 3 delig met gilet met revers ROKA groen
</title>
<parent_id>111200293</parent_id>
<g:id>111200293_50</g:id>
<gtin>2017000017588</gtin>
<g:size>50</g:size>
<totaalvoorraad>5</totaalvoorraad>
<magazijn_1>2</magazijn_1>
<magazijn_2>1</magazijn_2>
<magazijn_4>2</magazijn_4>
</child>
<title> : Title of the product, normal VM field
<parent_id> : Parent SKU to connect it to the Parent
<g:id> : Product SKU, normal VM field
<g:size> : Custom field, stockablecustomfields, used in Custom Filters
<totaalvoorraad> : Stock information
<magazijn_1> :
Our source file is an XML file or we can create multiple XML files or we can combine it, we can create any kind of field, duplicate or rename it, everything is possible. Until now, no luck.
We tried it with stockable custom fields and with multi variants. there is always an issue.
Can anyone help us to create one ore more import templates? As mentioned, we can create more than one XML import file if that is necessary.