Product weights not showing on Dawn Theme

Topic summary

A user is trying to display product weights on their Shopify store using the Dawn theme but cannot locate where to implement the necessary code edits.

Solution Provided:

  • Another user shares step-by-step instructions to add weight display functionality
  • Code snippet must be inserted into main-product.liquid file in the Sections folder
  • Specific placement: before the last </div> tag within the {%- when 'title' -%} block
  • The code displays the weight of the currently selected or first available product variant

Ongoing Issues:

  • The original poster successfully implemented the fix for individual product pages
  • They now want to extend this functionality to collection pages showing all products
  • Multiple users report that weights don’t update dynamically when selecting different product variants—requiring a page refresh to see updated weights
  • No solution has been provided yet for either the collection page display or the variant update issue
Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

I’m trying to figure out why my product weights are not showing on the product page

There was a similar thread on this before, but I do not understand where the edits go.

https://community.shopify.com/c/shopify-design/adding-weight-to-product-page/m-p/1480817#M390514

My store is at https://greenqueencannabis.myshopify.com/products/big-bag-o-buds

pw is shopify theme: dawn

Hi @kirkcanada ,

The code goes to main-product.liquid. Please follow the instructions below.

  1. From your Admin Page, click Online Store > Themes >Actions > Edit code
  2. In the Section folder, open the main-product.liquid
  3. Find the code {%- when ‘title’ -%}, before the last , add the code below.

NOTE: Refer to image for placement

{% assign current_variant = product.selected_or_first_available_variant %}
            {% if product.selected_or_first_available_variant.weight != 0 %}
             **Weight:**  {{ product.selected_or_first_available_variant.weight | weight_with_unit }}
              {% endif %}

1 Like

Thanks for the quick response… I’ll try it and let you know.

1 Like

Wow that’s an awesome solution! Thank you so much for posting that.

Now…

Is there any way to get the weights to show up in the “collections” view?

https://greenqueencannabis.myshopify.com/collections/all

Hi there, this works, however when you select a variant it does not update the weight unless you refresh the page.

Do you know a way to fix this please?

Many thanks

Hi I am having the same issue with the refresh. Did anyone get an answer on how to fix this ?