• Resolved ghyootjp

    (@ghyootjp)


    Hi. I recently had a customer Report to me live that they when they were completing their billing information in the checkout page and proceeded to checkout, using a mobile device, an error message displayed “ not enough units on hand to fulfil this order”. I checked immediately and the backend still showed stock on hand for the items in question. In the woocomerce backendunder orders it showed 5 cancelled orders by the customer attempting to purchase the items. Is there Ls cache setting I have wrong? Or is there a setting I may need to tweak to avoid this in future?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Could you please provide the report number ?

    and if possible , steps for how to reproduce/trigger the issue ?

    Best regards,

    Thread Starter ghyootjp

    (@ghyootjp)

    Hi, report number KKKUSCIH

    I could not recreate on my side but the customer reported that they were using mobile phone at time of attempted purchase. They put chosen items in the cart, moved away from cart to other pages on site. Returned to cart and proceeded to checkout page. Error message appeared that items no longer in stock that were in cart? See list of orders that the system cancelled as the client attempted to purchase. (Pasted below) Client eventually gave up. At time client complaint, I checked the site from my side and it showed the items were still in stock.

    Please advise possible reasons for this? LS Cache? Woocomerce cart session time period too long?

    #9582 Andrew Fouche Mar 4, 2021
    Cancelled
    R500.00 Jean-Philippe Ghyoot
    Select Order – March 4, 2021 @ 05:12 PM #9581 Andrew Fouche Mar 4, 2021
    Cancelled
    R500.00 Jean-Philippe Ghyoot
    Select Order – March 4, 2021 @ 04:41 PM #9580 Andrew Fouche Mar 4, 2021
    Cancelled
    R500.00 Jean-Philippe Ghyoot
    Select Order – March 4, 2021 @ 04:39 PM #9579 Andrew Fouche Mar 4, 2021
    Cancelled
    R500.00 Jean-Philippe Ghyoot
    Select Order – March 4, 2021 @ 04:38 PM

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    when it shows no stock , does it actually still show any stock in wp-admin ?

    the only possible reason I can think of is object cache , try turn it off or reset whole setting to default setting and see how it goes

    Best regards,

    Thread Starter ghyootjp

    (@ghyootjp)

    “when it shows no stock , does it actually still show any stock in wp-admin ?”

    When the client made contact I checked website page and stock level was still on eight units which was the quantity the client was attempting to order. (however that could of been a cached page) `the backend also reflected the same stock on hand of eight units. To make sure I immediately updated stock to 10 units but the client still complained he could not proceed with order, “same error message” That being said, I am not sure of normal woocomerce stock level behaviour without any form of cache, I assume at point the order button is pressed stock is reduced? or perhaps stock is put on hold whenever a customer put stock in the cart and no one else can order for a defined period of time?

    Anyway, I will try your suggestion. I am using redis object cache option at the moment.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    just follow up , how does it go with OC off ?

    Best regards,

    Thread Starter ghyootjp

    (@ghyootjp)

    Thank you for the follow up. I did not disable OC in the end as I tried unsuccessfully to recreate this issue from my side using a mobile phone and could note. Hopefully it was something unique that should not occur again.

    On another note

    1 – Why does my main menu item spacing jump/change when page is loading and then settle into position after fully loaded ? One can also notice difference in spacing between main menu items on different pages for example home page https://www.mytanklife.com and a product page https://www.mytanklife.com/product-category/aquascaping/

    2 – Text boxes/font/headings in sidebar on vendor store pages and store list pages also appears one way and then settles into position once fully loaded https://www.mytanklife.com/Store/polaris-home-aqurium/
    https://www.mytanklife.com/store-listing/

    Theme related or Litespeed cache issue?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    1) did you enable load async css ?

    2) did you enable load async google font ? or Font Display Optimization ?

    Best regards,

    Thread Starter ghyootjp

    (@ghyootjp)

    Hi,

    1) did you enable load async css ? Yes this was switched on.

    2) did you enable load async google font ?
    No, this is off

    or Font Display Optimization ? No, no other optimisation that I am aware of other than “Font Display Optimization” which is on “swap”

    Best regards,

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    1) that was what load async css does , it loads HTML before CSS as CSS is postponed and cause that , you can try enable Critical CSS, it might help a bit.

    2) Font Display Optimization” which is on “swap” -> try use default , save and purge , see how it goes

    Best regards,

    Thread Starter ghyootjp

    (@ghyootjp)

    I tried those suggestions but no change to the issue. btw I am not running cahce for for logged in users (cache is switched off) and this is when it is most noticeable. When accessing site privately and pages are cached this jumping effect does not occur on main menu, only on some of the vendor store pages with text, table and fonts as page loads.

    The theme author inspected site and told me it is because of the following.

    “because you use defer parsing of styles, write to cache plugin author”

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    yes , “defer parsing of styles” is another way of saying ” load async css” , as I have explained above , it loads HTML , and delays CSS

    that’s what that option does

    try enable Critical CSS, set generation to foreground , save and purge all , see if it helps

    Bes tregards,

    Thread Starter ghyootjp

    (@ghyootjp)

    Thanks, I tried those suggestions but the pages loading in a very strange way and styling on mobile was altered negatively. “Sale” badge changed to wrong colour and size Do you suggest I start from scratch and switch off all page optimisation?

    Are there any benefits of using Quic.cloud CDN if all customers and site is hosted in the same country? quick.cloud is offering great benefit to optimise images, I have that setting on.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    then maybe you should consider disable load async css

    if it’s same country , then may not be much benefit , but it varies on circumstances, so you can just try and see for yourself (I assume you are in that country as well )

    Best regards,

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Stock on hand and checkout issue’ is closed to new replies.