• Resolved Anshuman

    (@likelylife)


    Open the link I need help with and select any quantity from the Select Quantity dropdown to understand what I mean. As soon as you select a quantity, five number input fields will appear. Now I want to restrict the customer from checking out if the sum total of these fields exceed the quantity selected.

    I’ve created a paragraph field where I’ showing the total. But it’s of no use. The user can still checkout if the total quantity entered exceeds the quantity he selected from the dropdown.

    Any help would be highly appreciated.

    Thanks!

    • This topic was modified 3 years, 6 months ago by Anshuman.

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

Viewing 1 replies (of 1 total)
  • Hi,

    We can’t prevent adding the product to cart normally. You need to use custom JS codes to prevent it.

    Thank you.

Viewing 1 replies (of 1 total)
  • The topic ‘Restricting Checkout Based On The Sum of Number Fields’ is closed to new replies.