1

(The property 3,999 is not a valid price specification.)

Can any one tell me please that how can i fix this issue.....

  • You must have edited price section. It produce error if you added braces before/after it. Post your price code line to check – Jai Jun 7 '17 at 5:45
  • yes i have removed the decimals like 499.00 to 499 from the code. – Gauri Shankar Prajapati Jun 7 '17 at 12:35
  • Ok. @userpk already provided you details you required. If it still not fixed, put the code here so we can check. – Jai Jun 8 '17 at 3:49
  • hi i have changed here app/code/core/Mage/Directory/Model/Currency.php code----- – Gauri Shankar Prajapati Jun 12 '17 at 11:40
  • hi i have changed here app/code/core/Mage/Directory/Model/Currency.php code----- public function format($price, $options = array(), $includeContainer = true, $addBrackets = false) { return $this->formatPrecision($price, 2, $options, $includeContainer, $addBrackets); } to public function format($price, $options = array(), $includeContainer = true, $addBrackets = false) { return $this->formatPrecision($price, 0, $options, $includeContainer, $addBrackets); } now again changed 0 to 2 but same error here. awesomescreenshot.com/0b16bo3p0b – Gauri Shankar Prajapati Jun 12 '17 at 11:50
1

The Price you have specified is 3,999 where as google accepts it in simple number format.

See Usage guidelines:

  • Use the priceCurrency property (with ISO 4217 codes e.g. "USD") instead of including ambiguous symbols such as '$' in the value.
  • Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.
  • Note that both RDFa and Microdata syntax allow the use of a "content=" attribute for publishing simple machine-readable values alongside more human-friendly formatting.
  • Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similiar Unicode symbols.

You can try this

<span itemprop="priceCurrency" content="INR">INR</span><span
      itemprop="price" content="3999.00">3,999.00</span>

For more reference view here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.