How to display price when a product is sold out - Debut theme

Hi there!

Looking for help on how to continue having a product price displayed even when it is sold out. I would like it to say sold out as well as show the price. I am using the Debut theme.

Thanks!

2 Likes

In your assets/theme.scss there is this code:

.price--sold-out {
  .price__availability {
    display: block;
  }
  .price__regular, .price__sale, .price__unit {
    display: none;
  }
}

This part of the code hides product price for sold-out products:

  .price__regular, .price__sale, .price__unit {
    display: none;
  }

Make a theme copy and delete these lines.

Could you share the link to a sold-out product page so I can check?

Hi @AGP_CAN

Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.

Best regards,
Devcoder :laptop:

hey @AGP_CAN if you can share the URL of your website so then i can help you