To Generate Product Feed, follow the instructions below.
How To Generate Product Feed
On your dashboard menus, under Product Feed, click on Add New Feed. It will take you to the following page:
First, you need to give a title to the feed.
Now, let’s look at every option:
Just below the tile, you can see the Products section. Under it, you get the following options:
You can see, it has the following options:
- Refresh Interval
- Include Product Variations
- Include variation product name
- Include Parent Product (Grouped Product)
For products, you will get a drop-down panel on the right side with four options, ‘All Published Products,’ ‘Custom Filter,’ ‘Category Filter’ and ‘Tag Filter.’
If you choose All Published Products, then it will generate feed for all the products on your WooCommerce store.
Choosing Custom Filter will let you set filter parameters of your own choice.
The Category Filter option will let you filter the products to be included, based on the categories you choose.
Once you select Category Filter, all the categories will be listed and you can simply check the boxes for the ones you want to include in the feed.
The Tag Filter will let you filter the products to be included, based on the tags you choose.
It will give you the list of tags to choose from, similar to the categories.
Please watch the following video to get a better idea about the filter options:
Here you will have three choices to choose: No Interval, Daily and Hourly.
This option allows you to set a schedule for the feed to be updated automatically either daily or hourly based on your choice.
For example, let’s say you generated a feed where you chose the refresh interval as daily. After that, let’s say you made some changes to a few product details on your WooCommerce store.
Then the next day, this feed will automatically update with the changes you made; you won’t have to edit the feed and update it again manually.
Include Product Variations
If you choose ‘Yes,’ it will include the products that have variations in the feed, and choosing ‘No’ will exclude the products that have variations.
>Include variation product name
This will only be applicable if you chose to include product variations in the feed.
If you choose ‘Yes,’ it will add the variation names to product names of each variable products.
>Include Parent Product (Grouped Product)
This will allow you to choose whether the feed will include the parent product as well as other products in the case of grouped products.
This option will only appear if you have WPML plugin installed and activated. Here, you will get to choose what language you want to generate your feed on (provided that you have translated certain products using WPML).
**FYI: When you generate a feed by choosing any language other than English in this section, if a certain product doesn’t have a version of the language you chose here, then the feed generated will include the English version of that product by default.
Next, you move to the Feed Configuration section.
Once you have set up the Product section, you can then scroll to the Feed Configuration section. Here, you get the following options:
You can see, it has the following options:
- Merchant Type
- File Format
- Configure Feed Attributes and their values
The plugin already has feed specifications set for many large merchants such as Google Shopping, Amazon and eBay Ecommerce, which you can choose from the drop-down list for Merchant Type.
You can choose your feed to be generated in the formats, XML, CSV and TEXT depending on the supported formats by the Merchant you choose.
This means, when you download the feed, it will be in one of these formats that you choose.
>Configure Feed Attributes And Their Values
Under this section, you will define details of the products you wish to be generated in the feed.
If you choose ‘Custom’ under Merchant Type, then you have to add attributes and configure it manually. This helps you to create feed list for any merchant site that is not included in the Merchant Type.
Here, the Blue button that says ‘+ Add New Attribute’ allows you to add more attribute columns. There you can assign the desired Attributes from the drop-down list and set the Type and Value.
The Red bin icon on the right allows you to delete an attribute.
If you want, you can create a custom attribute yourself. Just click on the button below called ‘+ Add New Custom Attribute‘ and a new attribute column will be added which you can name yourself, and assign its type and value.
But if you choose a Merchant Type from the dropdown list, it will automatically add the required attributes as per that merchant site’s specifications.
For example, if you choose ‘Google Shopping’ as merchant type, then the following attributes will appear automatically:
An attribute is a specific data of a product added in the Product feed in a proper format.
For example, when generating feed for Google Shopping, if you choose the attribute Product Id, then the Id of the product will be added in the product feed in the format: <g:id>671</g:id>
For every attribute, you need to assign the following data:
You can see, it has the following options:
- Output Sanitization
- Output Limit
For each merchant, there is a certain set of attributes you can choose from. For example, if you choose the merchant type ‘Google Shopping’, then you will get attribute options like the following:
You can choose the one you require.
However, if you added a custom attribute, then you will have to input this attribute manually.
Type and Value
For type, you will get the following 4 options: ‘Attribute‘, ‘Static‘, ‘eBay Attribute (Only for ebay Mip)‘ and ‘eBay Shipping Attribute (Only for ebay Mip)‘.
If you choose the type Attribute, then you have to assign the Value from a set dropdown list of all the attribute values available on your store.
Choosing type Static will mean that you will manually input a value that will be used as the data for that attribute for all the products in that feed.
For example, if you want to assign the brand as, let’s say ‘Rex’ for all the products in the feed, then you can do it using the Static type.
The other two options are solely for the merchant type eBay MIP since it has a different format.
Here are more details on generating product feed for eBay MIP:
How to generate product feed for eBay MIP?
Prefix and Suffix
You can add a static value before the value of an attribute using Prefix and you can add a static value after the value of an attribute using Suffix.
These are mainly used to add the currency to Prices but can be used for other purposes as well.
The output sanitization helps you sanitize the data incase some unacceptable data may be present.
You can select from the following options to sanitize:
– Default: For no sanitization
– Strip Tags: Remove any html tags
– UTF-8 Encode: Special characters are converted to UTF
– htmlentities: Converts special characters to html entities
– integer: Integer output (characters changed to ASCII)
– Price: Converts value into price format (numbers only)
– Remove Space: Remove all spaces
– Remove Special Characters: All special characters removed
– CDATA: Add CDATA for refined output on XML
Use these as required.
You can limit the number of characters of the data to be included in the feed. Here’s an example:
Let’s say for Product Description, you set the output limit as 50. Then the feed generated will contain only the first 50 characters from the Product Description of every product.
Publish To Generate Product Feed
Once you have set the required attributes and configured all the above information, scroll up and on the right side, and click on the ‘Publish’ button. You will get a loading bar.
Once the process is complete, the Publish button will change to ‘Update’ button. The feed is generated.
Just below the Update button, you will find a section called Feed URL.
Here you can find the URL of the product feed generated. You can click on the ‘View Feed’ button to view it or click on the ‘Download Feed’ button to download the product feed. You can use this to upload on your desired merchant-shop/marketplace.
If you generate product feed for Google Shopping, then you will also get another section below the Feed URL section called ‘Send To Google Merchant’.
You can use this to set a schedule for Google to fetch your data automatically. For this to work, you will need to figure the Google Merchant Settings and authenticate a token.
Here are more details about Auto-syncing with Google:
How to Auto-Sync with Google?
The feed generation process is the same for any merchant type or marketplace.