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

    (@qtwrk)

    I remember woodmart theme has ajax update for cart ? that should load the cart content after page is load

    alternatively , you can go to cache -> woocommerce -> enable “vary for mini cart” , then purge all

    that’s exactly what JS delay do , js wont’ be executed until certain action like move cursor is detected , which exactly indicate the js delay is working

    you probably want to say js delay excluding is not working , you may also need to exclude these keyword from js exclude as well

    Thread Starter joelmellin

    (@joelmellin)

    Yes Woodmart uses AJAX. But when I try to use the delay javascript the cart is empty after going back from a single product page even if I added a product. And this is the case also when I use a standard theme, not only Woodmart. When Javascript delay is activated the product is also added by page reload instead of AJAX.

    I tried “go to cache -> woocommerce -> enable “vary for mini cart” , then purge all”, but it did not do any difference.

    Plugin Support qtwrk

    (@qtwrk)

    a wild guess , try put wd and wood into JS exclude and JS defer/delay exclude , purge all , see how it goes

    Thread Starter joelmellin

    (@joelmellin)

    It is closer to a solution now. The “wd” and “wood” made it to add by AJAX again instead of reloading the page when a product is added to cart. To use cache -> woocommerce -> enable “vary for mini cart” also made a change to the cart when going back from a single product page to the shop page in the way that it now shows what the cart contains:

    https://snipboard.io/Te4cDN.jpg

    Before it showed 0.

    However, when clicking on it, it shows still that it is empty.

    https://snipboard.io/GAn3FZ.jpg

    Plugin Support qtwrk

    (@qtwrk)

    did you enable CSS minify ? if so , try disable it

    Thread Starter joelmellin

    (@joelmellin)

    I tried to disable it, but no difference at all.

    Plugin Support qtwrk

    (@qtwrk)

    okay , let’s try the old fashion way , what does it show if you disable all JS and CSS options ?

    I assume it will work by then , after that , please re-enable them back one by one , see which one caused issue , we will see what to do next

    Thread Starter joelmellin

    (@joelmellin)

    If we disable all JS and CSS options it is ok. After we re-enable them back one by one everything is ok until enabling the delaying of Javascript.

    Plugin Support qtwrk

    (@qtwrk)

    please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    Thread Starter joelmellin

    (@joelmellin)

    Report number: GWOZGBVG

    Plugin Support qtwrk

    (@qtwrk)

    try put these files mentioned by woodmart support, into BOTH JS exclude and JS defer exclude , purge all , see how it happens

    if you can also ask them , if there is any inline JS involved, you may need to exclude inline JS as well.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.