Skip to content
Snippets Groups Projects
Commit d1089f32 authored by Jonathan Sacksick's avatar Jonathan Sacksick Committed by Jonathan Sacksick
Browse files

Issue #2819041 by Daniel Korte, lisastreeter, jsacksick, Londova: Quantity limit in Shopping Cart.

parent 04543a47
No related branches found
No related tags found
2 merge requests!235Issue #3115150 by mbovan: Submitting add to cart form with empty quantity...,!205Issue #3349465 by tBKoT, jsacksick, bojanz: Update several VAT rates and setup...
...@@ -159,7 +159,9 @@ class EditQuantity extends FieldPluginBase { ...@@ -159,7 +159,9 @@ class EditQuantity extends FieldPluginBase {
'#default_value' => round($order_item->getQuantity(), $precision), '#default_value' => round($order_item->getQuantity(), $precision),
'#size' => 4, '#size' => 4,
'#min' => 0, '#min' => 0,
'#max' => 9999, // Setting a higher value would result in a WSOD as it'd be out of
// range.
'#max' => 999999999,
'#step' => $step, '#step' => $step,
'#required' => TRUE, '#required' => TRUE,
'#attributes' => [ '#attributes' => [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment