Support » Plugin: Autoptimize » Woocommerce Not Clearing Basket

  • Resolved wpforumuser



    Plugin works great and gets me 96% page scores in GTMetrix

    I have just noticed though that once an order has been placed and paid for the basket still holds that item.

    I have unticked
    Also optimise shop basket/ checkout

    ## I have also ticked the following
    Optimise HTML Code?
    Optimise JavaScript Code?
    Optimise CSS Code?
    Generate data: URIs for images?
    Also aggregate inline CSS?
    Save aggregated script/CSS as static files?

    The rest are all unticked.

    Thanks for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frank Goossens


    well first and foremost try unticking “optimize JS code” and see if it works with that option off. if it does, re-enable and look at your browser’s console for JS errors and use those to identify which JS-file might need to be excluded from optimization.

    AO’s FAQ has more info on troubleshooting and how to exclude.

    hope this helps,



    Hi Frank

    Thanks for the quick response.

    Could I just exclude CART and CHECKOUT pages from AO?


    Plugin Author Frank Goossens


    I thought you already did, no?

    I have unticked
    Also optimise shop basket/ checkout



    Yeh I unticked it in the plugin settings.
    I wanted to try ruling it out to confirm it wasn’t that.

    We can close this now I have updated re-installed AO and removed expire headers from functions.php and it seems to have resolved.

    Thanks for your quick response.

    Have a great day.

    Plugin Author Optimizing Matters


    happy it works wpforumuser!

    feel free to leave a review of the plugin and support here! 🙂

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