This topic has 8 replies, 3 voices, and was last updated 2 years, 10 months ago ago by Olga Barlow
Hello,
I am having an issue with the “in stock” text on certain items showing in red instead of green.
Example 1= https://snipboard.io/ynIU0w.jpg
Example 2= https://snipboard.io/2q1HCI.jpg
Issue seems to be on the product itself as well as on the search bar.
Hello,
Go to Theme Options > WooCommerce > Shop elements > Product stock > change the Low stock color to green.
Regards
Hello,
After I made this change it seems that everything including out of stock is also showing green in the search bar= https://snipboard.io/wtAjyY.jpg
Here after clicking on the link the item is showing “in stock” in green text
https://cellpartsworld.com/product/one-plus-6t-volume-flex-a6010-a6013/
In this link it is showing “out of stock” in red text
https://cellpartsworld.com/product/one-plus-6t-back-cover-glass-blacka6010-a6013/
However search bar is showing everything in green= https://snipboard.io/wtAjyY.jpg
Hello,
Please describe the desired result.
Regards
Hello,
I am trying to make all “in stock” products show in green text, and all “out of stock” products show in red text on the search bar. As shown in this screenshot= https://snipboard.io/KxU1Iv.jpg
In the link itself it shows up properly but on the search bar it doesn’t.
Links that can be seen for reference= https://cellpartsworld.com/product/one-plus-6t-volume-flex-a6010-a6013/. (out of stock shows properly in green)
2nd Reference= https://cellpartsworld.com/product/one-plus-6t-back-cover-glass-blacka6010-a6013/. (out of stock shows properly in red)
Hello,
Got it. Check now.
Regards
Hello,
Thank you very much! Can I ask what you changed to make this happen?
Thank You
Hello,
I added below code to Theme Options > Custom CSS
.autocomplete-suggestion .content-product .product-details > .out-of-stock,
.autocomplete-suggestion .ajax-item-info > .out-of-stock {
color: var(--et_red-color);
}
Fix will be also included in the next theme update.
Regards
The issue related to '‘In stock color is in red’' has been successfully resolved, and the topic is now closed for further responses