Use currency & weight in product

Tom Rutgers committed Aug 20, 2018
commit d9bf14b178004e21c35ebfd3e8ab7ed1c39eee40
Showing 1 changed file with 2 additions and 2 deletions
source/product.html.slim +2 -2
@@ @@ -5,11 +5,11 @@
h1 = product.title
.weight
- - weight = product.weight.unit || 'kg'
+ - weight = data.settings.units.weight || 'kg'
span = product.weight.amount + weight
.price
- - currency = product.price.currency || '€'
+ - currency = data.settings.units.currency || '€'
span = currency + product.price.amount
.body