When generating product feed using PFM, you can either generate feed for just simple products or you can include variable products as well.
In this PFM guide, you will learn how you can include variable products to your product feed.
Follow the steps below.
1. Go to Dashboard > Product feed and click on Add New Feed to create a new feed (or you may edit an existing feed).
2. Scroll down to find the following options:
These are the options related to adding variable products to the feed.
3. First enable Include Product Variations.
This option will ensure that each of the variants of all variable products will be included in the feed.
4. If you want to include the parent feed for variable products, then you can enable the option, Include Variable Parent Product.
**For Google or Facebook, you should not use this option.
5. Google suggests you to include the variation term of a product variant to the product name. In that case, you can enable the option Include variation product name.
So, if you have a product called “Summer T-shirt” with color variants of red, blue, and green, then it’s variants’ names will be as follows:
6. Next, scroll down and look for the option Exclude invisible/hidden products and mark it as No.
Product variants are marked as Invisible on WooCommerce by default. So it is necessary not to exclude invisible products if you want to include product variants to the feed.
7. Now you can configure the feed and Publish it.
You will see that variable products were added to the feed as per the options you used.