...
2 parameters can be accepted and are outlined below
firstProductOnly (optional) – Currently accepts “rss” and “xml”. If no format is provided it will default to the rss feed.
excludeQtyFromTitle (optional) – Limits the returned results for pagination purposes. if not provided will default to 25
example: yourwebsiteaddress.com/products/feed.html (list all products)
...
example: yourwebsiteaddress.com/products/feed.html?excludeQtyFromTitle (exclude the quantity of the product from the title attribute within the xml output)
...
...
XML Feed Output Example (without parameters added)
linenumbers | true
---|
Code Block |
<channel>
<title>company product data feed</title>
<description>company product data feed.</description>
<link>http://www.yourwebsiteurl.com/</link>
<item>
<g:id>BAN-2x2-1245874</g:id>
<g:title>2x2 Foot Banner - 1 qty</g:title>
<g:description><p>The flexibility of a banner makes it great medium for businesses.</p> <ul> <li>Top-quality</li> <li>fast turnaround times</li> <li>Two materials available</li></ul></g:description>
<g:link>http://www.yourwebsiteurl.com/store/product-view.html/1/1245874?dp=1</g:link>
<g:image_link>https://s3.amazonaws.com/autoprint/47362/images/branding/2145/categories/cat100.jpg</g:image_link>
<g:google_product_category>Business & Industrial > Advertising & Marketing</g:google_product_category>
<g:product_type>Business & Industrial > Advertising & Marketing > Banners</g:product_type>
<g:availability>in stock</g:availability>
<g:price>50.00 USD</g:price>
<g:shipping_weight>3 lb</g:shipping_weight>
<g:identifier_exists>no</g:identifier_exists>
<g:brand>company name</g:brand>
<g:product_detail>
<g:section_name>General</g:section_name>
<g:attribute_name>Product Dimensions</g:attribute_name>
<g:attribute_value>2x2</g:attribute_value>
</g:product_detail>
<g:product_detail>
<g:section_name>General</g:section_name>
<g:attribute_name>Product Category Name</g:attribute_name>
<g:attribute_value>Banners</g:attribute_value>
</g:product_detail>
<g:product_detail>
<g:section_name>General</g:section_name>
<g:attribute_name>Product Category Url</g:attribute_name>
<g:attribute_value>http://www.yourwebsiteurl.com/store/product-view.html/100-Banners</g:attribute_value>
</g:product_detail>
<g:product_detail>
<g:section_name>General</g:section_name>
<g:attribute_name>Product Starting Quantity</g:attribute_name>
<g:attribute_value>1</g:attribute_value>
</g:product_detail>
</item>
</channel>
|
Related articles
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
|