• Using JC Optimize and Yoast has a bug where users are no longer able to delete items (by hitting the X) or update quantities from my Cart unless the cart page is manually reloaded. Selecting Update Cart does nothing.

    If you have JC optimize enabled and disable Yoast, the cart works as expected. This isn’t favourable for me.

    Steps to repro:
    – Have Yoast and JC Optimize enabled.
    – Add an item to the cart.
    – Go to the cart and delete that item.

    Expected results:
    – The item deletes and Cart refreshes.

    Actual results:

    The item still appears in the Cart
    – The item does technically delete/update if you refresh the cart, but it doesn’t refresh on it’s own, which is the default behaviour when deleting from Cart.
    Errors in the Console only show when Yoast plugin is enabled:
    “Failed to load resource: the server responded with a status of 500”

    Tested with:

    Yoast 7.7.3
    WC 3.4.3
    JC Optimize 2.2

    Workaround:

    1. If you disable JC Optimize and enable Yoast the cart works as expected.
    2. Disable Yoast and enable JC Optimize.

    I have contacted Yoast and have them investigate. They have indicated that it’s a JC Optimize bug.

  • The topic ‘JC Optimize conflict with Yoast – Not Updating Cart & 500 Error’ is closed to new replies.