The quantity input allows a customer to select the amount of product they want to purchase. It consists of an input element and two buttons.
<aside> ℹ️ Usually, styling this element takes from-to: 3-5h
</aside>
A quantity input is a common element for the e-commerce site. It can be found on the following elements:
The quantity input should be displayed in the following states:
Please account for the following:
The Field
component of type FIELD_TYPE.number
is responsible for rendering the quantity input. It consists of input
with a type number
and two buttons.
"scandipwa": "5.0.7"
To style quantity input it is recommended to move style to Field.override.style.scss
by creating related mixin to lower nesting level.
In the scope of this task AddIcon
and MinusIcon
components possibly should be modified to match provided designs.
<aside> ➡️ Taking some examples from the previous projects, the fact, that ScandiPWA version possibly will be different, should be taken into consideration
</aside>