When I add the quantity selector to the product page via Order item types (/admin/commerce/config/order-item-types/default/). The selector for quantity under manage display is set to 0 but it does not seem to have any effect. The selector is still going up by 0.01 increments on the product page. On the cart page it seems to work correctly though.

Comments

bdichgans created an issue. See original summary.

agoradesign’s picture

Status: Active » Closed (duplicate)
Related issues: +#2794909: The quantity "step" must be configurable on the widget level

This seems to be a duplicate of #2794909: The quantity "step" must be configurable on the widget level, which already has a patch available.

Alternatively, you could use this tiny module, that allows to set quantity increments on variation level, which defaults to 1: https://www.drupal.org/project/commerce_quantity_increments

bbuchert’s picture

On the cart page the increments seem to work for me not on the product page though.

Oh I thought this was merged already: https://github.com/drupalcommerce/commerce/pull/507