Support » Plugin: Change Quantity on Checkout for WooCommerce » Quantity cannot be set to 0 and redirect quantity when value = 0

  • Hi Bhavik,
    Love your plugin! 

    However, can you help me with something? When I try to decrement the value of a product to 0, nothing happens. Could help me to fix that? Also, after the quantity is 0, I would like to add a redirection to the homepage or cart page. Please help me with that as well.

    Thanks a lot in advance!

    P.S. I am using cartflow to make the checkout page.

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

Viewing 1 replies (of 1 total)
  • Plugin Author bhavik.kiri

    (@bhavikkiri)

    Hi Shiven,

    > 1. When I try to decrement the value of a product to 0, nothing happens. Could help me to fix that?

    Can you please let me know if you are comfortable in updating the plugin code? If yes then please follow the below instructions.

    You need to open “change-quantity-on-checkout-woocommerce.php” file and comment on the below code

    if ( $form[0].checkValidity() ){

    And also comment on the closing bracket of the “IF” condition.

    >  2. Also, after the quantity is 0, I would like to add a redirection to the homepage or cart page

    This would be a custom fix for the plugin.

    For custom fix, I have replied to you in the email.

    Regards,
    Bhavik

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