php-google-merchant-feed
php-google-merchant-feed copied to clipboard
Price format in readme's example is misleading
In README.md, shipping price example is misleading as it looks like an amount in cents:
$shipping->setPrice('1300 USD');
It expects price in ISO 4217 format + max value is 1000 as seen here https://support.google.com/merchants/answer/6324484 so example probably should be:
$shipping->setPrice('13.50 USD');
same with product price https://support.google.com/merchants/answer/6324371, it could include a comment to clarify:
$item->setPrice("{$product->price} USD"); //ex: "89.90 USD"
What do you think ?