There are 2 options to add a sustainability logo to products.


------------------------------------------------------------------------------------------------------------------------------------------

Option one: 

Add a userDefinedField2 within the product, 


NOTE: THIS WAY IS NOT POSSIBLE IF YOU DELIVERY YOUR PRODUCT PICTURES WITHIN THE PRODUCT FILE.


(Image URLs in the datafiles)


see example below:


<product>
<uniqueId>15010110005</uniqueId>
<name><![CDATA[Basic bomber jacket in nylon qty.]]></name>
<brandName><![CDATA[Scotch & Soda]]></brandName>
<brandId>ScotchSoda</brandId>
<collectionCode>Men</collectionCode>
<collectionDesc>Men</collectionDesc>
<material><![CDATA[70% polyester / 30% nylon]]></material>
<colorCode>46</colorCode>
<summary>This reversible baby bonnet Jandino is twice as nice.Our stylists couldn't choose, so both sides are beautiful!Your baby can wear this bonnet in solid baby-blue. </summary>
<colorDesc><![CDATA[ice blue]]></colorDesc><sortCode>150110005</sortCode>
<seasonCode>1501</seasonCode>
<seasonDesc><![CDATA[Men Summer 2015]]></seasonDesc>
<categoryCode>10</categoryCode>
<categoryDesc><![CDATA[Jackets]]></categoryDesc>
<status>Production</status>
<userDefinedField1>1501-01 10005</userDefinedField1><userDefinedField2>Sustainability</userDefinedField2>
<minimalOrderQuantity></minimalOrderQuantity>
<deliveryStartDate>20180701</deliveryStartDate>
<deliveryEndDate>20181015</deliveryEndDate>
<deliverySubBlocks>JAN: 18-01-05, FEB: 18-02-01, MAR: 18-03-01, APR: 18-04-01</deliverySubBlocks><firstReceiptDate>20180606</firstReceiptDate>
<productGroupCode>10</productGroupCode>
<productGroupDesc><![CDATA[Jackets]]></productGroupDesc><discountGroupCode>Jacket</discountGroupCode>
<minimalOrderQuantity>5</minimalOrderQuantity>
<crossReference>15002522</crossReference>



After filling in the "userDefinedField2".

 

Add the Sustainability picture in the ftp server. Make sure that the "userDefinedField2" has the same value as the name of the sustainability logo.


In our example we have filled in "Sustainability" our picture is also named "Sustainability".


After that is done add a path from the f2p in the following field:


example path:

https://assets.cdn-colect.com/Apps4Fashion/DEMO4/data/ColectImages/${userDefinedField2}.png


Fields:

leftStampImageURLTemplate

rightStampImageURLTemplate


Result:



----------------------------------------------------------------------------------------------------------------------------------------

Option two:


In the product data file you can also add a "extraField" that contains the logo, this only requires a link with the sustainability image attached to it.


see example below:


<extraField>
<name>Sustainability</name>
<important>false</important>
<description>Sustainability Logo</description>
<value>Sustainability</value>

<imageUrl>https://assets.cdn-colect.com/Apps4Fashion/DEMO4/data/ColectImages/Sustainability2.png</imageUrl>

</extraField>



Result: