title | issue |
---|---|
New Quantity Selector |
NEXT-23646 |
- Changed the quantity selector in
Storefront/Resources/views/storefront/component/buy-widget/buy-widget-form.html.twig
,Storefront/Resources/views/storefront/component/buy-widget/buy-widget-form.html.twig
andStorefront/Resources/views/storefront/component/line-item/element/quantity.html.twig
from a select element to a new input element with + and - buttons. - Removed block
page_product_detail_buy_quantity_select
inStorefront/Resources/views/storefront/component/buy-widget/buy-widget-form.html.twig
andStorefront/Resources/views/storefront/component/buy-widget/buy-widget-form.html.twig
. - Removed block
component_line_item_quantity_select_select
inStorefront/Resources/views/storefront/component/line-item/element/quantity.html.twig
. - Added new js plugin
QuantitySelectorPlugin
inquantity-selector.plugin.js
- Changed
FormAutoSubmitPlugin
inform-auto-submit.plugin.js
to respect adelayChangeEvent
option to delay the submit request for the given amount of milliseconds. - Changed
OffCanvasCartPlugin.options.changeQuantityInputDelay
to 800 milliseconds.