Hi,
I have successfully been able to list all my products in the Google Merchant Center by enabling Google feeds in my OC 2.0.3.1, the only error i get is " Insufficient match of microdata price information" in the GMC diagnostics and the prices are being converted to USD and shown while my default currency is INR can someone help me please ?
Thanks
Baskar
The default OpenCart Google Base only support USD GBP and EUR
To support INR you will need to edit catalog/controller/extensions/feed/google_base.php to add INR in several places.
--
As you didn't mention if you were using a custom theme, I am guessing you are using the default theme, which unfortunately does not add microdata to the product page template, so Automatic Item Updates will not work until you get microdata inserted; either by adding an extension, or by getting a template that inserts microdata
To support INR you will need to edit catalog/controller/extensions/feed/google_base.php to add INR in several places.
--
As you didn't mention if you were using a custom theme, I am guessing you are using the default theme, which unfortunately does not add microdata to the product page template, so Automatic Item Updates will not work until you get microdata inserted; either by adding an extension, or by getting a template that inserts microdata
Hi uksitebuilder
Thank you very much for your reply, I am using Journal theme with OC 2.0.3.1, can you assist me with including INR in the catalog/controller/extensions/feed/google_base.php file please or suggest a better way !
Thanks
Baskar
Thank you very much for your reply, I am using Journal theme with OC 2.0.3.1, can you assist me with including INR in the catalog/controller/extensions/feed/google_base.php file please or suggest a better way !
Thanks
Baskar
Edit: catalog/controller/feed/google_base.php
Find:
Change to:
For a better method of publishing to Google Shopping, take a look at our extension for Google Merchant Shopping Feeds (2nd image in my signature below)
Find:
Code: Select all
$currencies = array(
'USD',
'EUR',
'GBP'
);
Code: Select all
$currencies = array(
'INR',
'USD',
'EUR',
'GBP'
);
Hi uksitebuilder,
Thank you for your help, i have replaced the code to include INR in catalog/controller/feed/google_base.php as you have mentioned. will it take some time for the change to show up ? as when i checked in Google Structured Data testing it still shows the same, pls see screenshot here https://www.screencast.com/t/N2qBe3HpMxk
Your extension is just what i need, yes i would definitely need a couple of extras too, but as i am a bit tight on my budget at the moment need to get this working as of now, sure i will go for it asap.
Thanks & regards
Baskar
Thank you for your help, i have replaced the code to include INR in catalog/controller/feed/google_base.php as you have mentioned. will it take some time for the change to show up ? as when i checked in Google Structured Data testing it still shows the same, pls see screenshot here https://www.screencast.com/t/N2qBe3HpMxk
Your extension is just what i need, yes i would definitely need a couple of extras too, but as i am a bit tight on my budget at the moment need to get this working as of now, sure i will go for it asap.
Thanks & regards
Baskar
The code I posted was simply to get your INR currency in to the feed instead of USD
Alas for the structured data / microdata, Journal adds this itself in the product page template.
You would need to contact the journal theme developers to ask them how to change the price in to the correct format for Google Shopping (e.g. a float number without commas and without currency symbol)
Alas for the structured data / microdata, Journal adds this itself in the product page template.
You would need to contact the journal theme developers to ask them how to change the price in to the correct format for Google Shopping (e.g. a float number without commas and without currency symbol)
If the Journal microdata is corrected as I mentioned above or removed completely (to allow our extension's microdata to be inserted), then yes it will work.
Please raise support ticket at our support site: https://support.opencart-extensions.co.uk and we will be happy to assist with your enquiry.
Who is online
Users browsing this forum: No registered users and 91 guests