Here you will learn how to use about auto-generated product data feeds via your website front end.
Step-by-step guide
The product feed or product data feed is a file made up of a list of products and attributes of those products, organized so that each product can be displayed, advertised or compared in a unique way. Our The product feed is in XML format and contains the default attributes required by google Google shopping, Facebook, Pinterest as well as a few others to import and successfully list your products within their ecosystem. You can read more about product feeds here: https://support.google.com/merchants/answer/7439882
And about their value here:
https://www.godatafeed.com/blog/product-feeds
Outlined below are 2 parameters that 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
URL Examples (with & without parameters added)
Code Block |
---|
example: yourwebsiteaddress.com/products/feed. |
...
xml (list all products) |
...
example: yourwebsiteaddress.com/products/feed. |
...
xml?firstProductOnly (list only the first product within the respective category) |
...
example: yourwebsiteaddress.com/products/feed. |
...
xml?excludeQtyFromTitle (exclude the quantity of the product from the title attribute within the xml output) |
...
title |
---|
XML Feed Output Example (without parameters added)
Code Block | |
---|---|
true | <channel> <title>company<title>Company product data feed</title> <description>company<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> |
*NOTE if you load the page URL in a browser, the XML tags will be interpreted by the browser so the page will display differently.
...
Related articles
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
|