• Resolved bigz

    (@bigz)


    Since the latest update while i have JS minify on my cart system seems to stop working on the home page but works on every other page on the site. once i turn it off all seem to work fine, but i can’t seem to find were the conflict is any help.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    Is minify set on auto? You can exclude certain JS files from being minified. Also, can you disable HTML&XML minify and see if the issue persist?

    Thread Starter bigz

    (@bigz)

    Hi Marko, thanks for replying, no i have the minification on manual and have tried to go through it to see which could be causing the issue. I have tried diableing HTML&XML but that made no difference.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    In Performance>Page Cache, General sub-box there is an option “Cache front page”, please disable that option and empty cache for testing. See if the issue persists after disabling.

    Thread Starter bigz

    (@bigz)

    Hello and thanks again,

    I have disable cache on front page and now it does show that there is something on the cart, only thing is now the preview of the cart just stays loading on homepage but over pages shows.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Can you please clarify your last post? I am not quite sure that I understand.

    Thread Starter bigz

    (@bigz)

    Now it shows that there is something in the cart but on the homepage it doesn’t show the cart preview it just says loading

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Can you please disable browser cache and see if the issue persists?

    Thread Starter bigz

    (@bigz)

    Hi Marko, Thanks for the reply. I have disabled the browser cache, JS minify & HTML minify and still getting the same issue on the homepage but every other page seems to be working fine when you add anything to the cart.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Have you excluded all pages from being cached?
    i.e.
    /cart/
    /shop/
    /checkout/
    Also, have you added mfunc to ignored comment stems filed, and added _wc_session_ to “Ignored query stems:” in Performance>Databse Cache? (the last one should be automatically added in the latest release)

    Thread Starter bigz

    (@bigz)

    Yeah i have excluded the cart, shop & checkout pages from being cached.
    Also have added mfunc to ignored comment stems filed and added _wc_session_ to “ignored query stems” which the database cache wasn’t on but the issue is still persistent.

    Not sure if it is a W3TC i deactivated the plugin and funny enough the site speed increased plus the issue still there is maybe a conflict in the site, but thank you for all your help

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Js minification breaking cart’ is closed to new replies.