Showing product weight on cart page

Hello people,

I’m trying to show the weight of my products on the cart page. Even if I’m using the same metafield code from the product page to the cart page it’s just not showing the actual value entered in the metafield.

This is the code I’ve added on my product page to render the weight of the product from metafield:

**Weight: {{ product.metafields.my_fields.weight | metafield_tag }}**

The code mentioned above isn’t showing the weight of the product on the cart page.

Is there any way I can make it work on the cart page as well?

This is the theme I’m using: BOOST

Hello @honeynandal

There is a for-loop like below in the cart page file, copy it

and access the variable at the front of your code like below >>

Weight: {{ item.product.metafields.my_fields.weight | metafield_tag }}

Thank you for your reply, Savior. But this didn’t work for me.