Product Feed Generation and Upload to Facebook
page last edited on 13 June 2019
Product Feed Generation
Once the addon is set up you can proceed to the product feed generation.
The Facebook Ads & Instagram Ads addon adds a new setting - Add to Facebook product feed - to each of the products in your store’s catalog. You will find it in the Marketing section of the product details page.
This setting is enabled by default, that means that all the products with the setting Add to Facebook product feed enabled will be added to the product feed and uploaded to your Facebook Catalog automatically. If you want to exclude any of the products from being added to your Facebook feed make sure you disable the Add to Facebook product feed setting for this product beforehand.
To generate a feed:
- Open the Facebook Ads and Instagram Ads settings page in your store’s Admin area: Marketing > Facebook Ads & Instagram Ads (in X-Cart 5.3.x and earlier the section name is Sales Channels) and click the Generate Product Feed button to get a link for uploading the product feed to your Facebook Catalog.
X-Cart 5.3.x and earlierX-Cart 5.4.x
Use the Google Product Feed addon to expand the data values that are submitted to the feed. In case the Google Product Feed addon is installed and enabled and the hidden/global/class attributes are assigned to Google groups, the feed generated by the Facebook Adds & Instagram Ads addon will also include the hidden/global/class attribute values set up for the Google Product feed.
The system will take some time to generate a Product Feed URL depending on the overall store inventory.
Once the process is completed, copy the Product Feed URL that has been generated and paste it into the appropriate field when specifying a source of products for your catalog.
The Frequency of Product Feed renewal setting itself will not make renewals automatical. You will need to configure your server to run scheduled X-Cart tasks.
Product Feed Upload to Facebook
To upload your product feed to Facebook:
Click to create a new catalog or choose to edit an exisitng one.
At the step Add Products to Your Catalog, specify that you want to Use Data Feeds.
In the section How do you want to upload your data feed?, choose ‘Set a schedule’ and paste the Product Feed URL generated for you by X-Cart in the Data Feed URL field:
Schedule the automatic uploads and name the feed the way you like it better.
Click the Start Upload button to upload your products from X-Cart to Facebook.
After the products have been uploaded, you will see them on the Products tab.
That’s it! You can start advertising your products through Facebook.
Help make this document better
This guide, as well as the rest of our docs, are open-source and available on GitHub.