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!
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024