How to hide quantity button and relocate notify me button in sold out products?

Not applicable

Hello there , 


Is there any way to hide the quantity button and move the notify me button in the soldout products . 













Reply 1 (1)

Shopify Partner
6419 1539 1909

Hi @Anonymous 

Do you mean like this? The Image you provide and the links have different design of the button.


If it is, try 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-form__cart--box.d-flex.align-items-end {
    display: none;
button#ProductPopup-notify {
    top: 3px !important;


  • And Save. 


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

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.