Skip to content

Commit

Permalink
Google expects price to be raw, without currency symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
ecartz committed Oct 11, 2022
1 parent ff79343 commit caa371c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/modules/header_tags/ht_product_schema.php
Expand Up @@ -53,7 +53,7 @@ public function execute() {
'priceCurrency' => $_SESSION['currency'],
];

$schema_product['offers']['price'] = $product->format();
$schema_product['offers']['price'] = $product->format_raw();

if ($product->get('special_expiration')) {
$schema_product['offers']['priceValidUntil'] = $product->get('special_expiration');
Expand Down

0 comments on commit caa371c

Please sign in to comment.