• Resolved thomasjarvisdesign

    (@thomasjarvisdesign)


    Hi we have found that on websites with woocommerce bookings the ajax add to cart doesnt work on bookable products. It forces a page refresh.

    Can we get compatibility with this?

    The only alternative we have found that is – is Barn2’s Woocommerce Fast Cart – But this doesnt use cart fragments – Making it far slower than your fast cart plugin.

    Please let me know your thoughts this would be extremely beneficial for us as we have a client who is having some speed issues with add to cart on bookable items.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support reza777

    (@reza777)

    Hi,

    I hope you are doing well today.

    We have an option Normal (Non-Ajax) Add to cart. Have you enabled it?

    Hope to hear from you soon.

    Best Regards

    Thread Starter thomasjarvisdesign

    (@thomasjarvisdesign)

    Hi that is the problem – Non-Ajax.

    We are trying to remove unecessary page refreshes.

    I have created a helper plugin which adjusts the behaviour of woocommerce bookings to use ajax add to cart (Doesnt modify your plugin).

    I’m currently testing it to make sure the information goes through to orders correctly and completely.

    Its a shame that the ajax add to cart in your plugin doesnt adjust the behaviour to force ajax add to cart for all products. But that does become complicated with the range of add-on plugins available.

    Plugin Support reza777

    (@reza777)

    Hi,

    Thank you for getting back to us.

    Unfortunately, our plugin doesn’t add AJAX functionality to the product add-to-cart button. The AJAX add-to-cart feature is provided by WooCommerce itself. Our plugin simply displays the cart contents when the AJAX add-to-cart action is triggered. It also works with the standard (non-AJAX) add-to-cart process by displaying the cart contents after the item has been added.

    If Ajax add-to-cart isn’t available, you may want to try an “AJAX Add to Cart for WooCommerce” plugin to enable this feature.

    I’m glad you were able to find a way to make the add-to-cart button work with AJAX. Please let us know how your script works out. We’d be happy to hear the results.

    Best Regards

    • This reply was modified 2 weeks, 6 days ago by reza777. Reason: Added WooCommerce Ajax add to cart setting screenshot
    Thread Starter thomasjarvisdesign

    (@thomasjarvisdesign)

    Hi,

    Yeah I thought this was the case. That specific ajax add to cart doesnt bypass specific plugin requirements – So any plugin that overrides the add to cart function removes ajax to prevent conflicts.

    I have a site running now with ajax add to cart and a helper plugin that forces woocommerce bookings, Woocommerce Product Add-ons, Extra Product Options by Theme Complete to serialise the data and add it using ajax. Works well – We’ve done test payments under several different scenarios to see what works.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.