Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Commit

Permalink
Use divided_by filter rather than money_without_currency to avoid pot…
Browse files Browse the repository at this point in the history
…ential formatting issues.
  • Loading branch information
gavinballard committed May 24, 2016
1 parent 2d3733b commit ddf2b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/product.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
</select>

<span class="visually-hidden">{{ 'products.general.regular_price' | t }}</span>
<span id="ProductPrice" class="h2" itemprop="price" content="{{ current_variant.price | money_without_currency }}">
<span id="ProductPrice" class="h2" itemprop="price" content="{{ current_variant.price | divided_by: 100 }}">
{{ current_variant.price | money }}
</span>

Expand Down

0 comments on commit ddf2b49

Please sign in to comment.