Shopify themes, liquid, logos, and UX
I modified the code for the buy buttons before but I could not seem to remember which parts. How do I fix this error showing 2 buy buttons with the word "checkout" instead of 1 button showing "sold out" when the item is actually sold out? Refer to attached image.
Website URL: https://adlaudemdei.com/products/salvation-cross
Solved! Go to the solution
This is an accepted solution.
Hi @pmltntc
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
.product-form__buttons button[disabled] + div.shopify-payment-button {
display: none;
}
Hi @pmltntc
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
.product-form__submit::before {
content: ""!important;
}
Thank you so much! However, is there a way we can also hide the "checkout" button when item is sold out?
This is an accepted solution.
Hi @pmltntc
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
.product-form__buttons button[disabled] + div.shopify-payment-button {
display: none;
}
This worked. Thank you so much!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025