Quantity of stock product left not showing

This topic has 30 replies, 3 voices, and was last updated 4 months ago ago by Andrew Mitchell

  • Avatar: mirko
    mirko
    Participant
    November 24, 2023 at 15:33

    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

    https://postimg.cc/gallery/TMsVc2DV

    29 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 24, 2023 at 17:59

    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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 29, 2023 at 09:33

    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

    Avatar: mirko
    mirko
    Participant
    November 29, 2023 at 10:23

    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.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 29, 2023 at 10:28

    Hello, Mirko,

    We appreciate your prompt response.

    Please provide the URL of a simple product with the problem.

    Kind Regards,
    8theme team

    Avatar: mirko
    mirko
    Participant
    November 29, 2023 at 10:30

    Here we go.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 29, 2023 at 11:50

    Hello, Mirko,

    Do you mean the color is incorrect – https://prnt.sc/5gMwp1i3-ZtE ?

    Kind Regards,
    8theme team

    Avatar: mirko
    mirko
    Participant
    November 29, 2023 at 12:08

    Yep, the color is incorrect.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 29, 2023 at 13:32

    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

    Avatar: mirko
    mirko
    Participant
    November 30, 2023 at 09:52

    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.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 30, 2023 at 11:37

    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

    Please contact administrator
    for this information.
    Avatar: mirko
    mirko
    Participant
    November 30, 2023 at 12:00

    The private area It says the screen shot was removed,

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 30, 2023 at 12:15

    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

    Avatar: mirko
    mirko
    Participant
    November 30, 2023 at 12:25

    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.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 30, 2023 at 15:06

    Hello, Mirko,

    Please clear the cache and check now.
    Let us know the result.

    Kind Regards,
    8theme team

    Avatar: mirko
    mirko
    Participant
    November 30, 2023 at 15:20

    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

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 30, 2023 at 15:30

    Hello, Mirko,

    https://prnt.sc/XnmpAdqWo_Dm – please check now.

    Kind Regards,
    8theme team

    Avatar: mirko
    mirko
    Participant
    November 30, 2023 at 15:43

    Fine on variable, but on single is green.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 30, 2023 at 15:50

    Hello, Mirko,

    “but on single is green.” – yes, and can be changed https://prnt.sc/i4NU4wt72XdM > https://prnt.sc/1VpOqteN76hO

    Kind Regards,
    8theme team

    Avatar: mirko
    mirko
    Participant
    November 30, 2023 at 15:54

    Always it should be 2 shows red stock.

    Should i use the code ?!

  • 1 2
    Viewing 20 results - 1 through 20 (of 30 total)

The issue related to '‘quantity of stock product left not showing’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.