Skip to content

[19.0][ADD] website_sale_product_multiple_qty#1172

Open
yankinmax wants to merge 2 commits intoOCA:19.0from
camptocamp:add-website_sale_product_multiple_qty
Open

[19.0][ADD] website_sale_product_multiple_qty#1172
yankinmax wants to merge 2 commits intoOCA:19.0from
camptocamp:add-website_sale_product_multiple_qty

Conversation

@yankinmax
Copy link

This module extends the eCommerce flow to support Sales Multiples
(packaging quantities) directly on the product page, in the cart,
and in the product configurator.

When a product (or variant) has a Sales Multiple configured,
the quantity entered by the customer on the website is automatically
rounded to a valid multiple according to the interaction type.

The rounding logic is applied dynamically when the customer:

  • Opens the product page
  • Changes the product variant
  • Clicks the "+" (increase) button
  • Clicks the "–" (decrease) button
  • Manually enters a quantity
  • Presses Enter inside the quantity input
  • Changes quantities in the cart

@yankinmax yankinmax force-pushed the add-website_sale_product_multiple_qty branch 3 times, most recently from 54974cd to e48fbcc Compare February 27, 2026 12:28
@yankinmax
Copy link
Author

This PR is moved from OCA/sale-workflow:

Hello @alexey-pelykh, I address your suggestions on the closed PR here.
Thanks again

@yankinmax yankinmax force-pushed the add-website_sale_product_multiple_qty branch from e48fbcc to 8395a93 Compare March 2, 2026 09:41
Copy link
Contributor

@ivantodorovich ivantodorovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @yankinmax !

Copy link

@vvrossem vvrossem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work.
Note: I overlooked the JS part.

@yankinmax yankinmax force-pushed the add-website_sale_product_multiple_qty branch from 8395a93 to 44f50a5 Compare March 4, 2026 14:43
@yankinmax yankinmax force-pushed the add-website_sale_product_multiple_qty branch from 44f50a5 to c3252e3 Compare March 6, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants