Jump to content

Last zeroes deleted in schema.org code


WeylandYutani

Recommended Posts

I am having a problem in which decimals that are zero get deleted. The option to display 2 decimals is enabled, but the code I get on product pages is as follows:

 

<link itemprop="availability" href="https://schema.org/InStock">

<span id="our_price_display" class="price" itemprop="price" content="145">$145.00</span>

 

As you can see the price returned is 145 instead of 145.00 (which is what it's displayed on the front end)

 

I would greatly appreciate any help you guys could give me.

 

Thank you in advanced.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...