Product Feed Generation and Upload to Facebook
page last edited on 13 June 2019
The Facebook Ads & Instagram Ads addon allows you to upload your product catalog to Facebook and then use this catalog to promote goods via ads in both Facebook and Instagram. So as a result you will have the product from your X-Cart store imported into your Facebook Catalog. The addon does NOT facilitate the creation of a Facebook Page Shop.
Catalog uploading is done with the help of a product feed generation in X-Cart.
Product Feed Generation
Once the Facebook Ads & Instagram Ads addon is installed and configured you can proceed to the product feed generation.
The addon activates a new setting Add to Facebook product feed for each of the products in your store’s catalog. You will find it in the Marketing section of the product details page.
This setting comes enabled by default, meaning that all products with the option Add to Facebook product feed on add to the product feed and upload to your Facebook Catalog automatically. If you want to exclude any of the products from the catalog, make sure you disable the Add to Facebook product feed setting for this product beforehand.
To generate a feed:
On 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)), click the Generate Product Feed button to get a link for uploading a 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 a relevant field in your Facebook Business ccount 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 to facilitate automatic renewals.
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:
Remember, that scheduled feed updates will be possible only if your server is configured to run scheduled X-Cart tasks.
Schedule automatic uploads and name the feed the way you like it better.
Click the Start Upload button to import your products from X-Cart to Facebook.
After the products have been uploaded, you will see them on the Products tab in your Facebook Catalog Manager.
That’s it! Now, when the products are uploaded you can start promoting your goods via ads in Facebook.
Help make this document better
This guide, as well as the rest of our docs, are open-source and available on GitHub.