Why are product prices vanishing upon selecting variants?

Topic summary

A user reported that product prices disappear from the product page after selecting different variants, though prices display correctly in the cart. The issue affected a site using the Warehouse theme.

Solution Provided:

  • Add a CSS code snippet to the bottom of theme.scss or theme.css file
  • The code forces price elements to display using display: block !important;
  • Navigate to: Online Store → Theme → Edit code → Asset → theme.css

Current Status:

  • The original poster confirmed the fix worked for their Warehouse theme
  • Two other users reported the solution did not work for their themes:
    • One using Dawn theme with wokiee-v-2-3-1-shopify-2-0
    • Another user with unspecified theme

Unresolved:
No alternative solutions have been provided yet for users where the CSS fix failed. The issue appears to be theme-specific, requiring different approaches for different Shopify themes.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

Hello

Lots of the products on my site have variants and I have just noticed that the prices are disappearing after a few seconds when you click on another variant. For example on this page:

Biro 3336 Bandsaw (cibamat.co.uk)

The correct price comes up when it’s in the cart, but you can’t view the price on the product page once you click on another variant.

Not sure why this is happening - does anyone have any ideas?

Theme - Warehouse

Thanks so much!

1 Like

@TomG4

#shopify-section-collection-template .price, .price-list, .price-list, .search-bar__item-price {
    display: block !important;
}

Add this code in the bottom of theme.scss or theme.css file.

  1. Navigate to Online Store->Theme->Edit code
  2. Asset->/theme.css ->paste below code at the bottom of the file.
  3. Save it.

Thanks so much - this has worked!

1 Like

@TomG4

Let me know if you need any more help.
Thank you

1 Like

Hello, I would like to know if it is possible to have the code for the Dawn theme; the price on the product page is not displayed with the code you propose. I can no longer use this theme. The theme is

wokiee-v-2-3-1-shopify-2-0 and the dawn theme is the latest version . Thank you very much for your help.

this didnt end up working for me, any other solutions?