[jira] [Created] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)
Parimal Gain created OFBIZ-4944:
-----------------------------------

             Summary: 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


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 | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)

     [ 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 | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404703#comment-13404703 ]

Adrian Crum commented on OFBIZ-4944:
------------------------------------

It would be nice if this feature was available per product. I don't think it will be very useful having a single maximum amount for all products.

               

> 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 | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404735#comment-13404735 ]

Jacques Le Roux commented on OFBIZ-4944:
----------------------------------------

+1 for Adrian's remark, it should be in the Product entity. I did not even noticed it, because of the title "quantity of any single product" and it's most obvious it depends on product, not only store.
               

> 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 | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404739#comment-13404739 ]

Jacopo Cappellato commented on OFBIZ-4944:
------------------------------------------

I agree with Adrian that this must be a per product setup; I am not sure if Product is the right entity; I think that different stores can have different maximum quantities for the same product.
I also think that some rules are missing: is a customer allowed to place two orders for the same product? this would be an easy way to get more products...

               

> 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 | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404752#comment-13404752 ]

Jacques Le Roux commented on OFBIZ-4944:
----------------------------------------

If stores need different maximum quantities than default defined in Product entity a factor could be introduced in the ProductStore entity.
               

> 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 | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404756#comment-13404756 ]

Jacopo Cappellato commented on OFBIZ-4944:
------------------------------------------

I would rather set the quantity on the ProductCategoryMember entity and introduce a special productcategorytype.
But it doesn't make sense to discuss these details without knowing all the requirements (e.g. can the user place 2 orders in the same day/week/month whose total exceeds the max quantity?)
               

> 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 | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404759#comment-13404759 ]

Adrian Crum commented on OFBIZ-4944:
------------------------------------

If we assume the limit is per order (as the description states), then we would need an entity that includes a product ID, a facility ID, a maximum qty per order, from date, and through date.

               

> 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 | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404761#comment-13404761 ]

Jacopo Cappellato commented on OFBIZ-4944:
------------------------------------------

Adrian, rather than facility I would use a productStoreId.
But as I said above, the requirements mentioned in the description of this jura don't seem complete enough...
               

> 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 | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404764#comment-13404764 ]

Adrian Crum commented on OFBIZ-4944:
------------------------------------

It seems to me the agreement entities are already set up for this. Maybe we just need a default agreement ID per product store.

               

> 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 | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404767#comment-13404767 ]

Jacopo Cappellato commented on OFBIZ-4944:
------------------------------------------

Adrian, this is a great idea
               

> 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 | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407035#comment-13407035 ]

Rishi Solanki commented on OFBIZ-4944:
--------------------------------------

Hello Team,
Here are my two cents, we have implemented the minimum order quantity functionality based on the product price. At that time we have several options for the same, here is the option summary from different contributors;

   - add a field to Product entity (Me, Deepak and Scott are agree here with no objection except the unnecessary addition of field)
   - Go with Product Price (Me, Deepak, Scott, Jacques are agree and no objection)
   - Supplier Product (I (not exactly) Robert and Bob are agree, but solution is misfit and objected by most like Scott, Jacques, BJ)
   - Jacopo have new idea to use Product agreements for the same purpose (BJ is agree and no objection)
   - Jeoren suggested to go with new concept to study from Data Model vol 3 till now no suggestion come on this after study.

At that time we opted Product Price linking with the quantity, i.e. specific type of product price will manage the quantity. So I would say either please remove that code as well and implement it thru Agreement data model or use that concept here as well. I'm saying this only for consistency in configuring a Product's minimum and maximum quantity.
               

> 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 | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407036#comment-13407036 ]

Rishi Solanki commented on OFBIZ-4944:
--------------------------------------

Related Jira reference : https://issues.apache.org/jira/browse/OFBIZ-3633
               

> 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 | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4944) Allow bussiness to configure the maximum number of quantity of any single product, can be purchase from store in single order.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409202#comment-13409202 ]

Parimal Gain commented on OFBIZ-4944:
-------------------------------------

Thanks all for this valuable information. I'm also agree with Rishi that it should be consistent for both functionality. IMO if there is multiple way to resolve a perticular problem with less complexity and same effort, then we should go for solution wihich is more user friendly(I think this will make functionality more usable).
               

> 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