Is your feature request related to a problem? Please describe.
For products belonging to several categories in OpenCart, only one category appears in google_product_category, and you can't control which one is used.
Example: sub-category 2
And the google_product_category is probably not related at all to the categories in your OpenCart Store. To have a working google_product_category you probably need to use datafeed rules in facebook to search and replace values. This is a bit hard to do if only one category exists.
According to Facebook Developers documentation the field product_type should contain:
Category the item belongs to, according to your business's product categorization system, if you have one. You can also enter a Google product category. For commerce, represents the product category in your internal system.
Example: Home & Garden > Kitchen & Dining > Appliances > Refrigerators
product_type is not used in existing feed.
Describe the solution you'd like
Add all categories to a product in feed.
google_product_category should contain a comma separated list of all categories.
Example: parent category, sub-category 1, sub-category 2
product_type should contain a comma separated list of all category paths.
Example: parent category > sub-category 1, parent category > sub-category 2
With this solution it will be easier to search and replace the google_product_category using datafeed rules in facebook, and get a correct google_product_category for all products.
Webstore Url https://batritningar.se/
FBE plugin version 3.1.0
Is your feature request related to a problem? Please describe. For products belonging to several categories in OpenCart, only one category appears in google_product_category, and you can't control which one is used. Example: sub-category 2 And the google_product_category is probably not related at all to the categories in your OpenCart Store. To have a working google_product_category you probably need to use datafeed rules in facebook to search and replace values. This is a bit hard to do if only one category exists.
According to Facebook Developers documentation the field product_type should contain: Category the item belongs to, according to your business's product categorization system, if you have one. You can also enter a Google product category. For commerce, represents the product category in your internal system. Example: Home & Garden > Kitchen & Dining > Appliances > Refrigerators product_type is not used in existing feed.
Describe the solution you'd like Add all categories to a product in feed.
google_product_category should contain a comma separated list of all categories. Example: parent category, sub-category 1, sub-category 2
product_type should contain a comma separated list of all category paths. Example: parent category > sub-category 1, parent category > sub-category 2
With this solution it will be easier to search and replace the google_product_category using datafeed rules in facebook, and get a correct google_product_category for all products.
Additional context