2.3.0.2. - Google Base feed generates prices without currency
Posted: Mon Jul 29, 2019 9:12 pm
Hello, I am using the default Google Base product feed included with OC 2.3.0.2. The default currency (and the only one used) is CZK - Czech koruna.
The feed only displays the price as a number without decimal places or the currency code (i.e. <g:price>659</g:price>). This is not accepted by Google.
I tried appending the currency info to the feed URL like this: https://www.bio-krasa.cz/index.php?rout ... rrency=CZK
This doesn't help and prices are still without currency (or the decimal places).
I also tried adding 'CZK' to the array of currencies in catalog/controller/extension/feed/google_base.php but that doesn't change anything either (no matter if I append the currency info to the URL or not).
Is there any better solution than hardcoding the currency?
Thank you very much
Petr Břeň
The feed only displays the price as a number without decimal places or the currency code (i.e. <g:price>659</g:price>). This is not accepted by Google.
I tried appending the currency info to the feed URL like this: https://www.bio-krasa.cz/index.php?rout ... rrency=CZK
This doesn't help and prices are still without currency (or the decimal places).
I also tried adding 'CZK' to the array of currencies in catalog/controller/extension/feed/google_base.php but that doesn't change anything either (no matter if I append the currency info to the URL or not).
Is there any better solution than hardcoding the currency?
Thank you very much
Petr Břeň