Quantities can be changed to the negative values in the slider cart preview

CommentFileSizeAuthor
#5 2982066-5.patch1.99 KBmglaman
negative.png308.52 KBkrcha

Comments

krcha created an issue. See original summary.

mglaman’s picture

Project: Belgrade » Commerce Cart Flyout
mikechr’s picture

I believe this issue
https://www.drupal.org/project/commerce_cart_api/issues/2962552
should be added as related

mglaman’s picture

mglaman’s picture

Status: Active » Needs review
StatusFileSize
new1.99 KB

The cart API throws errors if the quantity is 0 due to an empty check. So for now, a min is applied to 0, but if 0 is passed then it resets to 1.

  • mglaman committed bfd65f0 on 8.x-1.x
    Issue #2982066 by mglaman, krcha, Mikechr: Quantities can be changed to...
mglaman’s picture

Status: Needs review » Fixed

Fix in, until the Cart API has some updates.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.