Dawn Theme- product weight

corey88
New Member
2 0 0

Hello everyone so I'm using the dawn theme and can't figure out how to show the weight of my products on the product page my products also have many variants with different weights. I tried editing the liquid code but it has different layout than the original liquid new one using json. If anyone could help me with this issue or have any advice on how to achieve this I would be highly grateful because the weight of my products is vital to my website

Replies 3 (3)
paulryazanov
Shopify Partner
104 10 23

Hi! For now shopify using json instead of liquid but only for templates.Now for editing product page you need to edit section main-product.liquid and add product weight by {{ product.weight }}

CEO of MageCloud.agency
corey88
New Member
2 0 0

where do i put it in the code and i just put.. {{ product.weight }}...  and i tried that after h1 product title and had no luck

 

paulryazanov
Shopify Partner
104 10 23

Sorry, my bad. You can check and select all available fields for product here https://shopify.dev/api/liquid/objects/product .
Also I recommend using metafields https://help.shopify.com/en/manual/metafields/displaying-metafields-on-your-online-store

CEO of MageCloud.agency