Quantity selector
The Quantity selector component displays a input field that lets you select the quantity for the current product to purchase.
Example output
Usage
This component can be used on a product page or product quick view in conjunction with the Add to cart action component. The component will only be displayed when the product can be added to the cart.
The behavior of the quantity selector can be influenced by the following product fields:
Name | Description |
---|---|
MinimumOrderQuantity | The minimum quantity that can be selected |
MinimumOrderQuantityIncrement | The minimum with which the quantity can be incremented. This also defines the value that will be incremented and decremented with the up and down arrows of the control |
Unit | If the unit is not piece or unit , the control will allow the user to enter decimals |
The maximum quantity can be set in the Product settings.
Path to component
/sitecore/layout/Renderings/Mercury/Feature/Catalog/Product/Quantity
Cache behavior
[x] Cacheable
[ ] Clear on Index Update
[x] Vary By Data
[ ] Vary By Device
[ ] Vary By Login
[x] Vary By Parm
[x] Vary By Query String
[ ] Vary By User
Data source
No data source