Skip to content

Instantly share code, notes, and snippets.

@intel352
Created May 25, 2016 15:50
Show Gist options
  • Save intel352/7be9a5f21291cc485c6a68537958886a to your computer and use it in GitHub Desktop.
Save intel352/7be9a5f21291cc485c6a68537958886a to your computer and use it in GitHub Desktop.
Sample master/variant product DWRE
<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="http://www.demandware.com/xml/impex/catalog/2006-10-31" catalog-id="apparel-catalog">
<product product-id="25696717">
<ean/>
<upc/>
<unit/>
<min-order-quantity>1</min-order-quantity>
<step-quantity>1</step-quantity>
<display-name xml:lang="x-default">Floral Black and White Dress.</display-name>
<display-name xml:lang="fr-FR">Robe fleurie noir et blanc</display-name>
<display-name xml:lang="it-IT">Abito floreale bianco e nero</display-name>
<display-name xml:lang="ja-JP">フラワーブラック &amp; ホワイトドレス</display-name>
<display-name xml:lang="zh-CN">花卉图案黑白色连衣裙</display-name>
<short-description xml:lang="x-default">We love this dress and so will you! This dress has a great fit and slits in the back to expose just a hint of back. </short-description>
<short-description xml:lang="fr-FR">On l'adore et vous craquerez également ! Cette robe à la coupe parfaite dévoile très légèrement votre dos. </short-description>
<short-description xml:lang="it-IT">Noi lo adoriamo, e anche tu te ne innamorerai! Un abito che veste alla perfezione e scopre appena la schiena. </short-description>
<short-description xml:lang="ja-JP">だれもが、うっとりする 1 枚です。抜群のフィット感。背中のスリットから少しだけ肌が露出します。 </short-description>
<short-description xml:lang="zh-CN">我们对它情有独钟,相信您也会一样!此款连衣裙剪裁合身,背部为缝隙式切口领设计,显露出若隐若现的颈背。 </short-description>
<long-description xml:lang="x-default">We love this dress and so will you! This dress has a great fit and slits in the back to expose just a hint of back. </long-description>
<long-description xml:lang="fr-FR">On l'adore et vous craquerez également ! Cette robe à la coupe parfaite dévoile très légèrement votre dos. </long-description>
<long-description xml:lang="it-IT">Noi lo adoriamo, e anche tu te ne innamorerai! Un abito che veste alla perfezione e scopre appena la schiena. </long-description>
<long-description xml:lang="ja-JP">だれもが、うっとりする 1 枚です。抜群のフィット感。背中のスリットから少しだけ肌が露出します。 </long-description>
<long-description xml:lang="zh-CN">我们对它情有独钟,相信您也会一样!此款连衣裙剪裁合身,背部为缝隙式切口领设计,显露出若隐若现的颈背。 </long-description>
<online-flag>true</online-flag>
<online-from>2011-03-18T04:00:00.000Z</online-from>
<available-flag>true</available-flag>
<searchable-flag>true</searchable-flag>
<images>
<image-group view-type="large">
<image path="large/PG.10246334.JJ2DIXX.PZ.jpg"/>
<image path="large/PG.10246334.JJ2DIXX.BZ.jpg"/>
</image-group>
<image-group view-type="large" variation-value="JJ2DIXX">
<image path="large/PG.10246334.JJ2DIXX.PZ.jpg"/>
<image path="large/PG.10246334.JJ2DIXX.BZ.jpg"/>
</image-group>
<image-group view-type="medium">
<image path="medium/PG.10246334.JJ2DIXX.PZ.jpg"/>
<image path="medium/PG.10246334.JJ2DIXX.BZ.jpg"/>
</image-group>
<image-group view-type="medium" variation-value="JJ2DIXX">
<image path="medium/PG.10246334.JJ2DIXX.PZ.jpg"/>
<image path="medium/PG.10246334.JJ2DIXX.BZ.jpg"/>
</image-group>
<image-group view-type="small">
<image path="small/PG.10246334.JJ2DIXX.PZ.jpg"/>
<image path="small/PG.10246334.JJ2DIXX.BZ.jpg"/>
</image-group>
<image-group view-type="small" variation-value="JJ2DIXX">
<image path="small/PG.10246334.JJ2DIXX.PZ.jpg"/>
<image path="small/PG.10246334.JJ2DIXX.BZ.jpg"/>
</image-group>
<image-group view-type="swatch" variation-value="JJ2DIXX">
<image path="swatch/PG.10246334.JJ2DIXX.CP.jpg"/>
</image-group>
</images>
<tax-class-id>standard</tax-class-id>
<sitemap-included-flag>true</sitemap-included-flag>
<sitemap-changefrequency>daily</sitemap-changefrequency>
<sitemap-priority>1.0</sitemap-priority>
<page-attributes>
<page-title xml:lang="x-default">Floral Black and White Dress.</page-title>
<page-title xml:lang="fr-FR">Robe fleurie noir et blanc</page-title>
<page-title xml:lang="it-IT">Abito floreale bianco e nero</page-title>
<page-title xml:lang="ja-JP">フラワーブラック &amp; ホワイトドレス</page-title>
<page-title xml:lang="zh-CN">花卉图案黑白色连衣裙</page-title>
<page-description xml:lang="x-default">We love this dress and so will you! This dress has a great fit and slits in the back to expose just a hint of back. </page-description>
<page-description xml:lang="fr-FR">On l'adore et vous craquerez également ! Cette robe à la coupe parfaite dévoile très légèrement votre dos. </page-description>
<page-description xml:lang="it-IT">Noi lo adoriamo, e anche tu te ne innamorerai! Un abito che veste alla perfezione e scopre appena la schiena. </page-description>
<page-description xml:lang="ja-JP">だれもが、うっとりする 1 枚です。抜群のフィット感。背中のスリットから少しだけ肌が露出します。 </page-description>
<page-description xml:lang="zh-CN">我们对它情有独钟,相信您也会一样!此款连衣裙剪裁合身,背部为缝隙式切口领设计,显露出若隐若现的颈背。 </page-description>
<page-url xml:lang="x-default">floral-black-and-white-dress</page-url>
<page-url xml:lang="fr-FR">robe-fleurie-noir-et-blanc</page-url>
<page-url xml:lang="it-IT">abito-floreale-bianco-e-nero</page-url>
<page-url xml:lang="ja-JP">フラワーブラック &amp; ホワイトドレス</page-url>
<page-url xml:lang="zh-CN">花卉图案黑白色连衣裙</page-url>
</page-attributes>
<custom-attributes>
<custom-attribute attribute-id="isNewtest">true</custom-attribute>
</custom-attributes>
<variations>
<attributes>
<variation-attribute attribute-id="color" variation-attribute-id="color">
<display-name xml:lang="x-default">Color</display-name>
<display-name xml:lang="en-GB">Colour</display-name>
<display-name xml:lang="fr-FR">Coloris </display-name>
<display-name xml:lang="it-IT">Colore</display-name>
<display-name xml:lang="ja-JP">色</display-name>
<display-name xml:lang="zh-CN">颜色</display-name>
<variation-attribute-values>
<variation-attribute-value value="JJ2DIXX">
<display-value xml:lang="x-default">White &amp; Black</display-value>
<display-value xml:lang="fr-FR">Blanc et Noir</display-value>
<display-value xml:lang="it-IT">Bianco e nero</display-value>
<display-value xml:lang="ja-JP">ホワイト &amp; ブラック</display-value>
<display-value xml:lang="zh-CN">黑白色</display-value>
</variation-attribute-value>
</variation-attribute-values>
</variation-attribute>
<variation-attribute attribute-id="size" variation-attribute-id="size">
<display-name xml:lang="x-default">Size</display-name>
<display-name xml:lang="fr-FR">Taille</display-name>
<display-name xml:lang="it-IT">Taglia</display-name>
<display-name xml:lang="ja-JP">サイズ</display-name>
<display-name xml:lang="zh-CN">尺码</display-name>
<variation-attribute-values>
<variation-attribute-value value="004">
<display-value xml:lang="x-default">4</display-value>
<display-value xml:lang="fr-FR">4</display-value>
<display-value xml:lang="it-IT">4</display-value>
<display-value xml:lang="ja-JP">4</display-value>
<display-value xml:lang="zh-CN">4</display-value>
</variation-attribute-value>
<variation-attribute-value value="006">
<display-value xml:lang="x-default">6</display-value>
<display-value xml:lang="fr-FR">6</display-value>
<display-value xml:lang="it-IT">6</display-value>
<display-value xml:lang="ja-JP">6</display-value>
<display-value xml:lang="zh-CN">6</display-value>
</variation-attribute-value>
<variation-attribute-value value="008">
<display-value xml:lang="x-default">8</display-value>
<display-value xml:lang="fr-FR">8</display-value>
<display-value xml:lang="it-IT">8</display-value>
<display-value xml:lang="ja-JP">8</display-value>
<display-value xml:lang="zh-CN">8</display-value>
</variation-attribute-value>
<variation-attribute-value value="010">
<display-value xml:lang="x-default">10</display-value>
<display-value xml:lang="fr-FR">10</display-value>
<display-value xml:lang="it-IT">10</display-value>
<display-value xml:lang="ja-JP">10</display-value>
<display-value xml:lang="zh-CN">10</display-value>
</variation-attribute-value>
<variation-attribute-value value="012">
<display-value xml:lang="x-default">12</display-value>
<display-value xml:lang="fr-FR">12</display-value>
<display-value xml:lang="it-IT">12</display-value>
<display-value xml:lang="ja-JP">12</display-value>
<display-value xml:lang="zh-CN">12</display-value>
</variation-attribute-value>
<variation-attribute-value value="014">
<display-value xml:lang="x-default">14</display-value>
<display-value xml:lang="fr-FR">14</display-value>
<display-value xml:lang="it-IT">14</display-value>
<display-value xml:lang="ja-JP">14</display-value>
<display-value xml:lang="zh-CN">14</display-value>
</variation-attribute-value>
<variation-attribute-value value="016">
<display-value xml:lang="x-default">16</display-value>
<display-value xml:lang="fr-FR">16</display-value>
<display-value xml:lang="it-IT">16</display-value>
<display-value xml:lang="ja-JP">16</display-value>
<display-value xml:lang="zh-CN">16</display-value>
</variation-attribute-value>
</variation-attribute-values>
</variation-attribute>
</attributes>
<variants>
<variant product-id="701644336219"/>
</variants>
</variations>
</product>
<product product-id="701644336219">
<ean/>
<upc>701644336219</upc>
<unit/>
<min-order-quantity>1</min-order-quantity>
<step-quantity>1</step-quantity>
<online-flag>true</online-flag>
<available-flag>true</available-flag>
<searchable-flag>true</searchable-flag>
<tax-class-id>standard</tax-class-id>
<page-attributes/>
<custom-attributes>
<custom-attribute attribute-id="color">JJ2DIXX</custom-attribute>
<custom-attribute attribute-id="refinementColor">black</custom-attribute>
<custom-attribute attribute-id="size">012</custom-attribute>
<custom-attribute attribute-id="width">Z</custom-attribute>
</custom-attributes>
</product>
<category-assignment category-id="womens-dresses-special-occasion" product-id="25696717">
<primary-flag>true</primary-flag>
</category-assignment>
</catalog>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment