Skip to content

Commit

Permalink
Product weights now show 2 decimal places (instead of 0) (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
mak001 authored Nov 12, 2018
1 parent 9d1ee49 commit 3abaae1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Page/ProductPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,8 @@ public function getCMSFields()
->setDescription(_t(
'ProductPage.WeightDescription',
'Base weight for this product in lbs. Can be modified using Product Options'
)),
))
->setScale(2),
CheckboxField::create('Featured')
->setTitle(_t('ProductPage.Featured', 'Featured Product')),
TextField::create('ReceiptTitle')
Expand Down

0 comments on commit 3abaae1

Please sign in to comment.