[
https://issues.apache.org/jira/browse/OFBIZ-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858847#action_12858847
]
Rishi Solanki commented on OFBIZ-3633:
--------------------------------------
Hi,
Here are the solutions suggested and summary of suggestions ;
- 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.
-- Here We (Deepak and Rishi) would like to get the attached patch commit
(Product Price), as there is no objection on this, or we can provide the patch
if the way is finalize. Please draw a conclusion so that we can go for it ASAP.
Thanks to all for valuable suggestion and posts, glad to see how the work is
finalize by community participation.
> Minimum order quantity
> ----------------------
>
> Key: OFBIZ-3633
> URL: https://issues.apache.org/jira/browse/OFBIZ-3633
> Project: OFBiz
> Issue Type: New Feature
> Components: order, specialpurpose/ecommerce
> Reporter: Rishi Solanki
> Fix For: SVN trunk
>
> Attachments: OFBIZ-3633.patch, OFBIZ-3633.patch
>
>
> It will work as follows;
> We will set the special type price as 'MINIMUM_ORDER_PRICE' for a Product in
> ProductPrice entity. On the basis of it we will get the minimum order
> quantity of the product on the basis of this price and sale price.
> Will get the minimum order quantity for product by division. For example we
> have selling price of product P1 is $10.00 and its MINIMUM_ORDER_PRICE is
> $100.00 then minimum order quantity for the product will be --> 100/10 ==> 10.
> To achieve the above ;
> write a getMinimumOrderQuantity() method in ShoppingCart.java which takes the
> itemBasePrice and productId as in parameter, and call it where we add, update
> the cart items and change the quantity to minmumOrderQuantity if it is less
> then minimum.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.