Icecat allows channel partners to retrieve information about product relations, for instance, recommended products, accessories, and consumables. To further explain, this manual describes the Related Products section and its attributes in Icecat product XML and JSON files.
The tag <ProductRelated> is mandatory. However, If a product doesn’t have any Product Relations, then the empty <ProductRelated> tag is added. Further, if there is a product relation, each Product Relation is indicated in a separate <ProductRelated> tag.
Example of structure / product XML view:
<ProductRelated ID="" Category_ID="" Preferred=""> <Product ID="" Prod_id="" ThumbPic="" Name=""> <Supplier ID="" Name=""/> </Product> </ProductRelated>
Attributes of ProductRelated tag:
Tag <ProductRelated> → <Product> in XML:
Tag <Product> is mandatory. So, there is always only one <Product> tag for each Product Relation.
Attributes of <Product> tag:
Tag <ProductRelated> → <Product> → <Supplier> in XML:
Tag <Supplier> describes a product brand.
Attributes of <Supplier> tag:
Tag <ProductRelated> → <ProductRelatedLocales> in XML:
In addition, you can find another tag for products that have localized Product Relations<ProductRelatedLocales>.
Attributes of <ProductRelatedLocales> tag in XML
Similarly, in a JSON product data file, the Related Products section is indicated by the “ProductRelated”:[] tag.
For example the Product JSON view:
"ProductRelated": [ { "ID":154671578, "CategoryID":977, "Preferred":0, "IcecatID":33447789, "ProductCode":"NSVGALOCK", "ThumbPic":"", "ProductName":"Neomounts by Newstar security lock cable", "Brand":"Neomounts by Newstar", "BrandID":290, "ProductRelatedLocales":[]
Attributes of “ProductRelated” tag in JSON:
Read further: Manuals, News, JSON, recommend products, related products, XML
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Δ