I am new here and building a new store and looking to customise the cart & checkout page(s) and need a bit of help please.
In the Cart page I managed to add a line to show the total cart weight using the following code..
‘
You have {{ cart.item_count }} {{ cart.item_count | pluralize: ‘item’, ‘items’ }} in your cart and your total cart weight is {{cart.total_weight}} g
’
That shows something like this;
But I need to show the weight in ‘kg’ rather than in grams. I thought changing the default weight units to ‘kg’ would do the trick but it didn’t.
Could the experts please help me with how I can achieve this please?
Also, being in a basic Shopify plan, would I be able to show the same message (to show the weight) in the checkout page within the ‘Shipping method’ section so my customers can select the correct shipping option based on the weight?
<div> You have {{ cart.item_count }} {{ cart.item_count | pluralize: 'item', 'items' }} in your cart and your total cart weight is {{cart.total_weight}} g</div>
It is pretty easy, change, we just need to divide it by 100