Hi, I’m using the Woodstock theme and my site URL is: https://leadingsolutions.net.au/.
I’m having issues on the product page when something isn’t in stock. The Notify Me app button appears but under it is this weird blank button that can’t be clicked on. Anyone know how to get rid of it?
Thanks!
By looking at your website that button is most likely an ‘Add to Cart Button’, but because the product is not in stock it’s blocked. In order to remove it you would have to edit the main product liquid code.
Instructions
-
Go to ‘Online Store’ → Themes
-
At your Active Theme click the (…) dots → Edit Code
-
Locate the Assets Folder and find the file ‘theme.css’ or ‘base.css’ or ‘styles.css’
-
At the bottom of the file add this code
.product-form__buttons .button:disabled{
display: none;
}
Hope this helps.
Ok, how do I do that? I still want the add to cart button to show when the product is in stock though.
Instructions
-
Go to ‘Online Store’ → Themes
-
At your Active Theme click the (…) dots → Edit Code
-
Locate the Assets Folder and find the file ‘theme.css’ or ‘base.css’ or ‘styles.css’
-
At the bottom of the file add this code
.product-form__buttons .button:disabled{
display: none;
}