This topic has 30 replies, 3 voices, and was last updated 10 months, 1 weeks ago ago by Andrew Mitchell
Hi ive noticed that stock quantity in not showing on single product cart, but in sticky cart as well as quick view shows correctly giving you the idea of how many pices left in stock.
Here pics to show you
Hello, Mirko,
Yes, this behavior seems should be improved for our new Single Product Builder.
We wish to inform you that your inquiry will be forwarded to another specialist for a more detailed review. We anticipate getting back to you after a while. We apologize for the delay due to the weekend, and our developers are currently handling a high volume of requests.
We kindly request your patience during this time and advise against changing your access.
Kind Regards,
8theme team
Hello, Mirko,
Please test how it works now and let us know the results.
https://prnt.sc/Gqhyy8F0DbLb – we’ve added a custom code to fix this issue under functions.php file from line 15 to 31 located under xstore-child theme.
Kind Regards,
8theme team
It works fine on variable product on single product has has the same problem. I’ve checked all the single product and the problem is the same, solved on variable though.
Hello, Mirko,
We appreciate your prompt response.
Please provide the URL of a simple product with the problem.
Kind Regards,
8theme team
Here we go.
Hello, Mirko,
Do you mean the color is incorrect – https://prnt.sc/5gMwp1i3-ZtE ?
Kind Regards,
8theme team
Yep, the color is incorrect.
Hello, Mirko,
The color is taken from the settings of the element – https://prnt.sc/TwTO87VPXQq6
You can use the next custom CSS code in Theme Options > Theme custom CSS:
.stock.step-3 {
color: var(--product-stock-step-3-active-color) !important;
}
or send a request about adding a new option for this element – color for low stock via this page – https://www.8theme.com/taskboard/
Kind Regards,
8theme team
Morning i had a deeper look and seen that the code added only works on desktop view on mobile is alway the same. I’m talking about the changed you ve made. Not the last code you advicesd me.
Hello, Mirko,
We’ve checked your product from mobile and do not see the problem. Please check the Private Content area.
Clear cache of your mobile browser and then check the product, and describe the problem one more time in more detail.
Kind Regards,
8theme team
The private area It says the screen shot was removed,
Hello, Mirko,
Here is the new one https://prnt.sc/Dvsh7mAReXhF
Please provide URL of product with the problem, so we test it one more time.
Kind Regards,
8theme team
I mean on the variable product, it only shows in stock like it was on desktop, after your first php code was solved in desktop but on mobile the problem is same as it was before.
In video you can clearly see that.
Hello, Mirko,
Please clear the cache and check now.
Let us know the result.
Kind Regards,
8theme team
Now it always shows the stock quantity but should be only visible below 3 so lets make an example 2 in stock should be red and display 3 in stock should only give in stock in green- only below 3 should display quantity 2 left in stock or 1 in red. Thats whats happen on variable product, but on single product also in 1 in stock it shows in green.
In private the single and variable product to check
Fine on variable, but on single is green.
Hello, Mirko,
“but on single is green.” – yes, and can be changed https://prnt.sc/i4NU4wt72XdM > https://prnt.sc/1VpOqteN76hO
Kind Regards,
8theme team
Always it should be 2 shows red stock.
Should i use the code ?!
Hello, Mirko,
Do you mean a variable product?
Please describe the desired result in more detail.
Kind Regards,
8theme team
Not the variable product is just fine as it is, now is perfect. The single product should have the same features of the variable, like 3 in stock..? Green *in stock* no quantity shown
2 in stock *only two left in stock, quantity shown and red painting.
Same as variable. Identical.
Not more not less.
Hello, Mirko,
Done – https://prnt.sc/h9WPgVqh6i2U > https://prnt.sc/pvD7j66PPmV9
Kind Regards,
8theme team
Now in stock is red ?
Hello, Mirko,
Please provide the URL.
Kind Regards,
8theme team
Here we go
Hello, Mirko,
Please check now https://prnt.sc/zjqmhKmPlH-p ( https://prnt.sc/yxa7_K6cnteH ).
Kind Regards,
8theme team
Brillian everything is just working fine.
What now? Should i wait the update and then contact you to delete the first PhP code inserted?
Many thanks
Hello, Mirko,
The code was deleted, you can simply update the theme and the stock status should be fine.
Kind Regards,
8theme team
Dear mirko,
Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?
Click here to share your insights: https://themeforest.net/downloads
Your support fuels our journey, and we appreciate it more than words can express.
Best Regards,
The 8Theme Team
The issue related to '‘quantity of stock product left not showing’' has been successfully resolved, and the topic is now closed for further responses