PDA

View Full Version : Wrong Currency Schema / Microdata



PQB
September 1, 2023, 07:43 PM
Hi Admin,

How to change the currency in schema? Google detected wrong currency, it should be "PHP" instead of "PESO"
"priceCurrency":"PESO","price":"1600000","priceValidUntil":"2024-02-13","availability":"https:\/\/schema.org\/InStock"}}]

Thank you in advance,
Jay

Rudi
September 4, 2023, 04:30 AM
Hello,

It depends on the currency in listing

PQB
September 4, 2023, 01:19 PM
Hello Rudi. please see the attached image https://forum.flynax.com/attachment.php?attachmentid=4862&stc=1 from Google webmaster

Rudi
September 7, 2023, 08:23 AM
Ok, you need to do the following:

go to plugins > microdata > rlMicrodata.class.php > modify this code block:



public $currency = [
'dollar' => 'USD',
'pound' => 'GBP',
'euro' => 'EUR',
'currency_rub' => 'RUB',
];


adding your currency code from Data Entries > Currency with its value like this:

'currency_peso' => 'PHP',


PhP rules B)

PQB
September 7, 2023, 03:00 PM
Great! Thank you so much Rudi. :)