Rework the order item quantity limit into a parameter #10740
Labels
Do not stale
Important issues and PRs, that should not be stalled by Stale Bot
DX
Issues and PRs aimed at improving Developer eXperience.
Feature
New feature proposals.
Good First Issue
Bugs and feature proposals, which are relatively simple to implement for newcomers.
Sylius version affected: 1.5, 1.6, master
Description
Buying more than 9999 pieces of an article will be hard capped at 9999 as possible maximum value in service decoration of
sylius.order_item_quantity_modifier.limiting
.Steps to reproduce
or
Sylius/src/Sylius/Bundle/CoreBundle/Resources/config/services.xml
Line 158 in 23aeeb5
Possible Solution
Such limiting values should not be set as magic values in service definition nor in source code. They rather should be parameters out of config files.
Why is it a bad idea to limit quantities to 9999? Because
a) shop owners should be able to meet there own limitation in general
b) especially for digital products a much higher limitation will be required
The text was updated successfully, but these errors were encountered: