Is there any way to extend or change the functionality of the Google shopping feed items when they’re being generated?
For instance:
We don’t want to map Google product category on a per product basis but rather use a field from the Main Category of the product instead. We also need to use article number from the product as MPN number and would preferably not have to specify a specific field for Brand since this is a single brand store we’re developing for.
I’m asking since the panel in Back office won’t let me define these relationships.
It’s also possible to solve some of them by using validations to copy values to fields on the product, but a custom feed is probably a better and more maintainable option.
I have a custom IPriceAgentItemFactory set up to do just that, and as far as I can tell I can add my fields on PriceAgentItemResult.Properties, is that how I’m supposed to do it? I can see that the Google Shopping agent already returns fields as empty that I want to populate myself, if I add my own key called “google_product_category” it’ll use it instead?
I can’t get my feed to save correctly on my dev environment, currently only our production env. actually displays the feed that’s why I’m asking instead of just trying myself
If you are not implementing a custom GoogleShoppingPriceAgent then you need to set “GoogleProductCategory” as peroperty name/id. priceAgentItemResult.Properties["GoogleProductCategory"] = GoogleShoppingCategoryId;