News

New tag “Optional” in XML, JSON and XSD

From the 16th of June 2020, we are adding the new tag “Optional” with parameter values 0 or 1 to the Icecat export files: in XML, JSON and the XSD schema.

Specifications tagged with Optional=”1″ are not standardized specifications in Icecat. These specs are used only for supporting automated data imports from brands, to avoid loosing attribute values.

Old structure XML:

 <ProductFeature Localized="0" ID="357847148" Local_ID="0" Value="Y" CategoryFeature_ID="39564" CategoryFeatureGroup_ID="2687" No="100000" Presentation_Value="Y" Translated="0" Mandatory="0" Searchable="0">
 <LocalValue Value="Y"> 
<Measure ID="26"> 
<Signs/> 
</Measure> 
</LocalValue> 
<Feature ID="838" > 
<Measure ID="26" Sign=""> 
<Signs/> 
</Measure>

New structure XML

<ProductFeature Localized="0" ID="357847148" Local_ID="0" Value="Y" CategoryFeature_ID="39564" CategoryFeatureGroup_ID="2687" No="100000" Presentation_Value="Y" Translated="0" Mandatory="0" Searchable="0" Optional="0">
<LocalValue Value="Y">
<Measure ID="26">
<Signs/>
</Measure>
</LocalValue>
<Feature ID="838" >
<Measure ID="26" Sign="">
<Signs/>
</Measure>

Old structure JSON:

"Features": [ 
                { 
                    "Localized": 0, 
                      ... 
                     "Searchable": "0", 
                     "Feature": { 
                        "ID": "17956", 
                        "Sign": "", 
                        "Measure": { 
                             "ID": "29", 
                            "Sign": "", 
                            "Signs": { 
                                "ID": "", 
                                "_": "", 
                               "Language": "EN" 
                                  } 
                              }, 
                               "Name": { 
                                       "Value": 
                                       "Colour name", 
                                       "Language": "EN" 
                           } 
                      } 
                 },

New structure JSON:

"Features": [
{
"Localized": 0,
...
"Searchable": "0",
"Optional": "0",
"Feature": {
"ID": "17956",
"Sign": "",
"Measure": {
"ID": "29",
"Sign": "",
"Signs": {
"ID": "",
"_": "",
"Language": "EN"
}
},
"Name": {
"Value":
"Colour name",
"Language": "EN"
}
}
},

New structure XSD

index 8dcdde86d..e889ee1fd 100644 
--- a/www/dtd/ICECAT-interface_response.dtd 
+++ b/www/dtd/ICECAT-interface_response.dtd 
@@ -461,7 +461,8 @@ 
Localized CDATA #IMPLIED 
Mandatory CDATA #IMPLIED 
Searchable CDATA #IMPLIED
Translated CDATA #IMPLIED> 
Translated CDATA #IMPLIED
Optional CDATA #IMPLIED> 
<!ELEMENT FeatureLogo (Descriptions|FeatureLogoCategories|FeatureLogoFeatures)*>
<!ATTLIST FeatureLogo 
diff --git a/www/xsd/ICECAT-interface_response.xsd b/www/xsd/ICECAT-interface_response.xsd 
index 325b0b255..7136fc786 100644 
--- a/www/xsd/ICECAT-interface_response.xsd 
+++ b/www/xsd/ICECAT-interface_response.xsd 
@@ -722,6 +722,7 @@ 
<xs:attribute name="Translated" type="xs:boolean"/> 
<xs:attribute name="Mandatory" type="xs:boolean"/> 
<xs:attribute name="Searchable" type="xs:boolean"/> 
<xs:attribute name="Optional" type="xs:boolean"/> 
</xs:complexType> 
<xs:complexType name="FeatureLogoList">
Anastasiia

Recent Posts

Unold Enhances Online Presence with Open Icecat Sponsorship

About Unold AG Unold, established in 1966 and headquartered in Hockenheim, Germany, has a long…

11 hours ago

5 Automation Tools Every Online Retail Business Should Know

Automation has become an essential component of online retailers’ success. With so many tools available,…

1 day ago

Icecat Keeps ASUS on Top with the New Copilot Key Attribute

The world of technology is constantly evolving, and so is the data that describes it.…

5 days ago

The Benefits of Full Automation of Your E-commerce Processes with Icecat Commerce

For medium and large-scale businesses, e-commerce automation is absolutely essential. It can be incredibly challenging…

6 days ago

Why Should You Invest In Mobile Commerce?

Mobile commerce has been steadily growing over the years and is projected to reach 43.4%…

1 week ago

Strong Growth in The Turkish E-commerce Market

Turkey's e-commerce market experienced a rebound in 2023, with online spending more than doubling compared…

1 week ago