Shopify themes, liquid, logos, and UX
Hi:)
On my website i have a lot of products with differtent variants (for example a protein shake with different flavours). Sometimes we are out of stock with certain flavours. I would like to change the background colour of the buttons in wich you can choose your flavour when the flavour is out of stock (see picture)
How do i do this?
I think i need to change some code, but which files and what do i need to change?:)
I am using the Dawn theme and i use the Preorder Now Wolf addon to show people when something is out of stock.
Hello @SuppCity
Our team is ready to help you.
Please share your website address and access password (if necessary) so that we can check and assist you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Nice thanks. My website is: https://suppcity.nl/products/applied-nutrition-critical-whey-advanced-protein-2000g?variant=49097950...
Thats the page i took as example
- Here is the solution for you @SuppCity
- Please follow these steps:
- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.
.pnda-delivery-info+.product-form__submit {
background: darkgray !important;
}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Thanks a lot, but i would like to change a different button (but only when out of stock, when available it should stay as it is) haha. I have added a picture with drawings:)
Hi @SuppCity
You might needs a developer for this. To change the variant buttons according to the pre-order buttons,.
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025