• Resolved jrrude

    (@jrrude)


    Good day,
    I am having trouble enabling a cart system where when a customer changes their quantity for a item they want it does it automatically. For now it works but the customer needs to click a button to update the cart and that to me is a inconvenience.

    Is there any free way to enable the cart to auto update as soon as the quantity in the cart has changed rather than using the button.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello jrrude

    Thank you for contacting WooCommerce.

    I understand that you are looking to provide a more seamless experience for your customers by having the cart update automatically when they change the quantity of an item, without the need for pressing an update button.

    To achieve this functionality, you might want to look into the following resource that provides a code snippet to automatically update the cart as soon as the quantity is changed:

    https://www.businessbloomer.com/woocommerce-automatically-update-cart-quantity-change/

    Please keep in mind that this solution involves adding custom code to your site. As per our Support Policy, we do not provide support for custom code implementations.

    You’ll want to ensure that you have a basic understanding of how to add custom code to your WordPress site or have access to a developer who can assist with this.

    If you have any additional questions or need further assistance, please don’t hesitate to reach out. I am here to help ensure you can create the best possible shopping experience on your WooCommerce site. ??

    Best regards.

    Thread Starter jrrude

    (@jrrude)

    I have been trying that solution but it doesn’t update when i change the quantity of the item. I don’t know if it existing JS from WooCommerce. If you have any suggestions please let me know. all the JS is original to when WooCommerce was downloaded.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @jrrude,

    The issue might result from a conflict with another plugin or a theme. I tested the code shared on the Business Bloomer and also here. Both seem to work fine on my testing site.

    How about temporarily switching your theme to a default WordPress theme and disabling all other plugins except WooCommerce? If the issue is resolved, you can reactivate them one by one to identify what is causing the conflict.

    Also, ensure you have used the correct selector and elements, as your theme overrides the default cart template.

    Alternatively, you may use a plugin to achieve your goals, such as the Auto Update Cart for WooCommerce or Ajax Cart AutoUpdate for WooCommerce.

    If the issue persists, you might need to seek help from a developer. While we strive to provide as much assistance as possible, custom coding is outside the scope of our support policy.

    I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Auto update cart for WooCommerce’ is closed to new replies.