Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SI: User Supplied Price Minimum Quantity Error #372

Closed
WillStrohl opened this issue Sep 14, 2021 · 1 comment
Closed

SI: User Supplied Price Minimum Quantity Error #372

WillStrohl opened this issue Sep 14, 2021 · 1 comment
Assignees
Labels
Milestone

Comments

@WillStrohl
Copy link
Member

WillStrohl commented Sep 14, 2021

Describe the bug

When using the user-supplied price feature, you're unable to add the product to the cart without entering a quantity.

Software Versions

  • DNN: 09.10.01
  • Hotcakes: 03.05.00

To Reproduce

Steps to reproduce the behavior:

  1. Clean install and complete the getting started wizard.
  2. Add at least one product that's using the user-supplied price (for donation-style products).
  3. Check the "Hide Quantity" checkbox.
  4. Save the changes.
  5. Navigate to the product in the store.
  6. Enter any donation amount.
  7. Click to add the donation to the cart.

Expected behavior

The donation product is added to the cart with a quantity of 1, and you're redirected to the cart view with the expected amount.

Actual behavior

The view stays on the product and displays an error about there not being a number in the quantity field (see screenshot). The error message states, "Please enter number only in quantity."

Screenshots

image

Additional Context

Customer support request 7671

@WillStrohl WillStrohl added the bug label Sep 14, 2021
@WillStrohl WillStrohl added this to the 03.06.00 milestone Sep 14, 2021
@erw13n
Copy link
Contributor

erw13n commented Sep 22, 2021

@hismightiness Error happen because Quantity is Null.

If donation, set default Qty = 1

WillStrohl pushed a commit that referenced this issue Sep 23, 2021
Fix #372 - User Supplied Price Minimum Quantity Error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants