cadencelabs / m2-fbpixel

Magento 2 Facebook Pixel Implementation
GNU General Public License v3.0
16 stars 15 forks source link

Adds support to configurable products. #3

Closed luizpaulofranz closed 7 years ago

luizpaulofranz commented 7 years ago

Configurable products should be sent to Facebook as several products, one for each variation (such as color and size for example), to inform that it is a configurable product, the group_id field is required, see: https://developers.facebook.com/docs/marketing-api/dynamic-product-ads/product-catalog#setup-product-feed.

In magento store, when it comes to a configurable product, the "content_type" should be "product_group".