How can I hide the 'Sold Out' badge on product pages?

Hi, I would like to remove or hide the SOLD OUT badge only in product pages.

1 Like

Hi @danielcorrea

Please add this code at the bottom of your base.css file

.product__info-wrapper .badge.price__badge-sold-out { display: none; }

Hi @danielcorrea ,
This is Theodore from PageFly - Shopify Page Builder App.
For solving the problem about the HIDE SOLD OUT BADGE IN PRODUCT PAGE, let’s try this solution:

Online Store ->Theme ->Edit code->theme.liquid


I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly

Hi @danielcorrea

Check this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.product__info-container .price__badge-sold-out {
    display: none !important;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!