how to configure the Phoca Cart Feed Google Merchant Plugin

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 44015
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: how to configure the Phoca Cart Feed Google Merchant Plugin

Post by Jan » 16 Jan 2021, 18:45

Hi, the XML is rendered correctly:

Image

so the question is if the value is accepted. Just try to test if this value is OK for this tag.

Jan
If you find Phoca extensions useful, please support the project

User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 218
Joined: 18 Sep 2019, 12:49

Re: how to configure the Phoca Cart Feed Google Merchant Plugin

Post by dmlwebal » 05 Apr 2021, 11:26

Hi

I am receiving the following warnings (see 1st image) in Google Merchant after uploading XML feed

https://imgur.com/a/pWABpXS

The price seems to be correctly formatted so does anyone know why Goole Merchant throws an error?

This is how I filled out the xml.

https://imgur.com/a/nJDhltw

I've been around the Google docs and read the docs here: https://www.phoca.cz/documents/116-phoc ... chant-feed

Any help would be great :)

Regards
David

xml feed output: https://horncastleanglingcentre.co.uk/s ... format=xml

User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 218
Joined: 18 Sep 2019, 12:49

Re: how to configure the Phoca Cart Feed Google Merchant Plugin

Post by dmlwebal » 05 Apr 2021, 12:27

UPDATE

I have tried <g:price> and <price> as tags in field 'Final Price (with VAT)'

Also, removed currency from tag, by:

XML Feed > [feed name] > Feed Options > Price Including Currency - Set to: No

Regards
David

User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 218
Joined: 18 Sep 2019, 12:49

Re: how to configure the Phoca Cart Feed Google Merchant Plugin

Post by dmlwebal » 07 Apr 2021, 14:16

Still will not accept price. :(

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 44015
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: how to configure the Phoca Cart Feed Google Merchant Plugin

Post by Jan » 07 Apr 2021, 16:22

Hi, I still see the GBP in the XML next to price :idea:

Jan
If you find Phoca extensions useful, please support the project

User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 218
Joined: 18 Sep 2019, 12:49

Re: how to configure the Phoca Cart Feed Google Merchant Plugin

Post by dmlwebal » 07 Apr 2021, 18:26

Hi Jan

Yes, I've tried many combinations but Google Merchant still says price is invalid

Set in Field: Final Price (with VAT)
g:price, price
with currency and without currency

Currently, I have price set to the same as the PC docs example.


Final Price (with VAT): price

Feed Options:
Decimals: 2
Price Including Currency - No


But, the result is this:

https://imgur.com/a/6SwFTFG

feed url: https://horncastleanglingcentre.co.uk/s ... format=xml

:o

User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 218
Joined: 18 Sep 2019, 12:49

Re: how to configure the Phoca Cart Feed Google Merchant Plugin

Post by dmlwebal » 09 Apr 2021, 12:54

Still struggling

But this site states that price must include country code: https://www.storegrowers.com/google-shopping-feed/
price
The product price + currency is a required attribute for all products. For example 15.00 USD. The currency needs to match the country you’re creating the feed for.

You need to include VAT into your price, except if you’re targeting the USA, Canada or India.
So, having a lot of trouble for what should be a simple field to import! (Not Phoca Cart problem - just hard to find clear info on what format is required)

Any UK users out there that have a successfully submitted feed, any help would be greatly appreciated, ie how you set your price in the Feed options

Regards
David

User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 218
Joined: 18 Sep 2019, 12:49

Re: how to configure the Phoca Cart Feed Google Merchant Plugin

Post by dmlwebal » 09 Apr 2021, 13:06

Google has this to say in its own instructions
Format
Follow these formatting guidelines to make sure that we understand the data that you're submitting.

Type Number plus currency (use ISO 4217)
Repeated field No
Schema.org property
(What's this?) Offer.priceSpecification, Type: PriceSpecification
File format Example entry
Text feeds 15.00 GBP
XML feeds <g:price>15.00 GBP</g:price>
This suggests, in Phoca Cart, the following:

Set Feed to Include Currency - Yes
enter g:price in Final Price (with VAT) Field

User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 218
Joined: 18 Sep 2019, 12:49

Re: how to configure the Phoca Cart Feed Google Merchant Plugin

Post by dmlwebal » 09 Apr 2021, 13:07

But, still no joy!

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 44015
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: how to configure the Phoca Cart Feed Google Merchant Plugin

Post by Jan » 11 Apr 2021, 17:57

Hmmm, this value:

<g:price>44.99 GBP</g:price>

should be OK, exactly how it is written in Google guides :idea:

Which errors do you get now? Are still all the errors displayed like on first screenshot?

- Can be there some problem with cache?
- Is there a problem with the currency of your country (e.g. currency is not the one that is used in this country)?
If you find Phoca extensions useful, please support the project

Post Reply