Problems with Google Shopping

I have some problems setting up Google Shopping.
I’ve Created a field GTIN on the variant and filled it with a value
In Litium/UI/settings/products/googleshopping I’ve mapped the field to GTIN


Press Save
When I go to http:///priceagent.axd/Googleshopping the GTIN is still empty

image

Is there anything I’ve been missing?

Also in Litium/UI/settings/products/googleshopping
I can’t save without setting the Google Product Category

How can we save without setting this field?
It’s an optional field and we want google to generate it for us:
https://support.google.com/merchants/answer/6324436?hl=en

Litium version: 7.4

Please, report this as a bug on docs site.

This is the most important field in the feed and when you map this and save then Litium is fetching from Google and populating the Field-options with Google Shoppings own categories, the Litium logic is this happens on Save and you must set this before saving.

Seems like Google has changed its logic and this field is now optional but previous when Litium built the connection this field was mandatory and therefor it had to be set, thus Litium logic was built on their approach.

1 Like

Also if you need to see your changes faster then the scheduled job is set for you can do that by running the suffix

?refresh=true

in the url, so GTIN value not visible is Not a bug.

1 Like

Thanks for reply!
I did a work around by implementing PriceAgentItemFactory and set the values manually.

It still feels that there’s something not right with shipping. (Which is a required field)
https://support.google.com/merchants/answer/6324484?hl=en&ref_topic=6324338

Even though i set manually in PriceAgentItemFactory it’s not present in the xml-feed:

priceAgentItemResult.Properties["Shipping"] = $"{country.Id}:::{shipping} {currency.Id}";

Did you implement your own GoogleShoppingPriceAgent.cs also?

No Just the priceAgentitemFactory

Ok then you need to do that otherwise your new priceAgentItemResults will not get rendered.

Ok, so shipping is not supported by default?

No it was not mandatory.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.