• Resolved aidba55

    (@aidba55)


    Hi there,

    I have narrowed down a conflict to the Asset CleanUp: Page Speed Booster plugin.

    I am unable to remove an item from my WooCommerce cart when Asset CleanUp is enabled (Only after page refresh is it deleted- which is incorrect). After disabling the Asset CleanUp plugin the error disappears.

    I have also removed all rules for the cart page, however, the problem persists. I also recently upgraded to PHP 7.2 (I am not sure whether this played a part in the error).

    Any help would be deeply appreciated.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @aidba55 have you checked the browser’s console for any JavaScript errors? Perhaps you have minify/combine JS and some files shouldn’t minify there. Consider adding your cart page (e.g. /cart/) to “Settings” -> “Plugin usage preferences” -> “Do not load the plugin on certain pages” and it should not trigger any plugin rules there and have it working again. Let me know if that fixes it!

    Thread Starter aidba55

    (@aidba55)

    Hi Gabe,

    Thanks for the speedy reply.

    I did have a look at the JavaScript errors but wasn’t able to find anything. I enabled the DOM PHP extension for a separate issue and this seems to have sorted out the issue. There is no longer any conflict when Asset Cleanup is activated.

    Thanks again for the help!

    Plugin Author Gabe Livan

    (@gabelivan)

    @aidba55 I’m glad you sorted out. Note that the DOM extension is needed for some features such as combine CSS/JS and other ones that are altering the HTML source code. I’m surprised you didn’t have it active by default. Usually, it’s enabled. Perhaps you disabled it (or a developer working on your website did) and forgot about it, it happens. Remember deactivating Asset CleanUp on the /cart/ page as that page is always non-cached and using Asset CleanUp rules there usually don’t make much difference, unless you have loads of CSS/JS loaded and (more importantly) conflicts between CSS/JS files loaded from various plugins (this doesn’t happen often, fortunately).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflict: WooCommerce Remove Cart Item’ is closed to new replies.