Re: Maximum order quantity of a product
Posted by
Pierre Smits-3 on
Dec 03, 2018; 10:08am
URL: http://ofbiz.116.s1.nabble.com/Maximum-order-quantity-of-a-product-tp4729076p4729078.html
Hi Deepak,
Instead of modifying the model for the entity such a parameter could be set
as an attribute of the product. IMO, we have dozens of *Attr entities that
are greatly under-utilised in favour of adding fields to their associated
parent entity.
Best regards,
Pierre Smits
*Apache Trafodion <
https://trafodion.apache.org>, Vice President*
*Apache Directory <
https://directory.apache.org>, PMC Member*
Apache Incubator <
https://incubator.apache.org>, committer
*Apache OFBiz <
https://ofbiz.apache.org>, contributor (without privileges)
since 2008*
Apache Steve <
https://steve.apache.org>, committer
On Mon, Dec 3, 2018 at 9:43 AM Deepak Nigam <
[hidden email]>
wrote:
> Hello all,
>
> I need to set the maximum order quantity for a particular product for the
> e-commerce site. I have provided the client-side validation for the same
> but it is easily breakable using request interceptors. Also, I don't want
> to hardcode it at the backend, considering multiple clients of the ERP
> solution.
>
> As far as I know, we can set the minimum order quantity using product price
> type "MINIMUM_ORDER_PRICE". Is there a way by which we can set the maximum
> order quantity of a given product (both from front-end and backend)?
>
> Thanks & Regards
> --
> Deepak Nigam
> HotWax Systems Pvt. Ltd
>