[ 
https://issues.apache.org/jira/browse/OFBIZ-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Parimal Gain updated OFBIZ-4944:
--------------------------------

    Attachment: OFBIZ-4944.patch

Process Used to solve the problem:
1) Add a new field to ProductStore entity that will be used to store the 
configured quantity value.
2) Provide a configuration screen to business so that the maximum purchasable 
quantity for a single order can be configured.
3) Add a check at the time when a product is added to cart (Add to cart, also 
checked whether product is already added to cart or not).
4) Add check at the time when quantity is modified for the product(Modify Cart).
5) Also check whether business configured this or not, if not configured then 
should work with default behavior i.e. allow unlimited number of quantity to 
purchase or don't apply any restriction.
                
> Allow bussiness to configure the maximum number of quantity of any single 
> product, can be purchase from store in single order.
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4944
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4944
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: order, product
>            Reporter: Parimal Gain
>         Attachments: OFBIZ-4944.patch
>
>
> Currently in ofbiz a customer can add any number of quantity of a prodcut for 
> a single order from the ecommerce application. There is not any way to check 
> or restrict a customer to purchase only thet number of quantity the is a 
> bussiness is allowing to purchase in a single order. So privide facility to 
> business to configure the maximum purchasable quantity at store level.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to