Round 2 digits price
Hi Jumbo,
We need the price output rounded in two digits.
<meta property="product:price:amount" content="64.977" />
I need
<meta property="product:price:amount" content="64.98" />
The problem is the merchant feed in google shopping.
Value in our upload feed is 64.98EUR
Value that google read on our website is 64977.00EUR
Thanks in advance
Ronald
We need the price output rounded in two digits.
<meta property="product:price:amount" content="64.977" />
I need
<meta property="product:price:amount" content="64.98" />
The problem is the merchant feed in google shopping.
Value in our upload feed is 64.98EUR
Value that google read on our website is 64977.00EUR
Thanks in advance
Ronald
The topic has been closed.
First of all, please note that Google does not read Open Graph Meta Tags of your site. It is only valid for Facebook.
If you want to round off the order total value in VM OG Meta Tag plugin then open - plugins/system/vmogmetatag/vmogmetatag.php
Find the following codes in line 269:
Replace above by:
If you want to round off the order total value in VM OG Meta Tag plugin then open - plugins/system/vmogmetatag/vmogmetatag.php
Find the following codes in line 269:
$this->setData('product:price:amount', $product->prices['salesPrice']);Replace above by:
$this->setData('product:price:amount', round($product->prices['salesPrice'], 2));
Post your reviews about us on our Facebook Page.
Post your testimonials and suggestions Here.
Don't forget to Close your topic when resolved.
Post your testimonials and suggestions Here.
Don't forget to Close your topic when resolved.
swaen66 says thank you to Jumbo for this post.
The topic has been closed.
Google Merchant Center compares the price of the Feed with the price on the website.
Apparently google merchant reads the Open Graph Meta Tags.
Now that the price has been rounded to 2 decimal, the error message(s) in google merchant has disappeared.
Thanks for your help.
Kind Regards Ronald
Apparently google merchant reads the Open Graph Meta Tags.
Now that the price has been rounded to 2 decimal, the error message(s) in google merchant has disappeared.
Thanks for your help.
Kind Regards Ronald
The topic has been closed.
You are welcome.
Post your reviews about us on our Facebook Page.
Post your testimonials and suggestions Here.
Don't forget to Close your topic when resolved.
Post your testimonials and suggestions Here.
Don't forget to Close your topic when resolved.
The topic has been closed.