• Type: Sub-Task
    • Status: Blocked
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: GoogleMerchant
    • Component/s: None
    • Labels:


      Generate XML for feed and entries (products) in Atom 1.0

      Map only the following attributes that are affected by Options and Specifications. The options and specifications to use are configured in the Commerce Channel which will be completed in one of these: COMMERCE-2672, COMMERCE-2677, COMMERCE-2681.

      • unit_pricing_measure: Option and/or Specification with name because can be required for EU or Switzerland
      • unit_pricing_base_measure: Option and/or Specification with name because can be required for EU or Switzerland
      • brand: Specification
      • identifier_exists: if there is no gtin, mpn, and brand for the product, set to `no` or `false`.
      • condition: Specification
      • adult: Specification
      • multipack: Specification
      • energy_efficiency_class: Specification
      • min_energy_efficiency_class: Specification
      • max_energy_efficiency_class: Specification
      • age_group: Option and/or Specification
      • color: Option and/or Specification
      • gender: Option and/or Specification
      • material: Option and/or Specification
      • pattern: Option and/or Specification
      • size: Option and/or Specification
      • size_system: Specification
      • item_group_id: if one of these attributes is specified, then use cpDefinition.getCPDefinitionId(): color, pattern, material, age_group, gender, size, size_type, size_system, and unit_pricing_measure

      See for more details.

      Sample Atom 1.0 XML file:

      <?xml version="1.0"?>
      <feed xmlns="" xmlns:g="">
      	<title>Example - Online Store</title>
      	<link rel="self" href=""/>
      	<!-- First example shows what attributes are required and recommended for items that are not in the apparel category -->
      		<!-- The following attributes are always required -->
      		<g:title>LG 22LB4510 - 22" LED TV - 1080p (FullHD)</g:title>
      		<g:description>Attractively styled and boasting stunning picture quality, the LG 22LB4510 - 22&quot; LED TV - 1080p (FullHD) is an excellent television/monitor. The LG 22LB4510 - 22&quot; LED TV - 1080p (FullHD) sports a widescreen 1080p panel, perfect for watching movies in their original format, whilst also providing plenty of working space for your other applications.</g:description>
      		<g:availability>in stock</g:availability>
      		<g:price>159.00 USD</g:price>
      			<g:price>14.95 USD</g:price>
      		<!-- 2 of the following 3 attributes are required fot this item according to the Unique Product Identifier Rules -->
      		<!-- The following attributes are not required for this item, but supplying them is recommended -->
      		<g:google_product_category>Electronics > Video > Televisions > Flat Panel Televisions</g:google_product_category>
      		<g:product_type>Consumer Electronics &gt; TVs &gt; Flat Panel TVs</g:product_type>
      	<!-- Second example demonstrates the use of CDATA sections instead of entities to deal with special characters. Note that CDATA sections can be used for any attribute -->
      		<!-- The following attributes are always required -->
      		<g:title><![CDATA[Merlin: Series 3 - Volume 2 - 3 DVD Box set]]></g:title>
      		<g:description><![CDATA[Episodes 7-13 from the third series of the BBC fantasy drama set in the mythical city of Camelot, telling the tale of the relationship between the young King Arthur (Bradley James) & Merlin (Colin Morgan), the wise sorcerer who guides him to power and beyond. Episodes are: 'The Castle of Fyrien', 'The Eye of the Phoenix', 'Love in the Time of Dragons', 'Queen of Hearts', 'The Sorcerer's Shadow', 'The Coming of Arthur: Part 1' & 'The Coming of Arthur: Part 2']]></g:description>
      		<g:availability>in stock</g:availability>
      		<g:price>11.99 USD</g:price>
      			<g:service>Express Mail</g:service>
      			<g:price>3.80 USD</g:price>
      		<!-- 2 out of the 3 unique product identifer attributes are required for this item -->
      		<!-- The following attribute is required because this item is in the 'Media' category -->
      		<g:google_product_category><![CDATA[Media > DVDs & Videos]]></g:google_product_category>
      		<!-- The following attributes are not required for this item, but supplying them is recommended if applicable -->
      		<g:product_type><![CDATA[DVDs & Movies > TV Series > Fantasy Drama]]></g:product_type>



          Issue Links



              jesse.rao Jesse Rao
              kayleen.lim Kayleen Lim
              0 Vote for this issue
              0 Start watching this issue




                  Version Package