ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OFBIZ-3633) Minimum order quantity
Date Wed, 07 Apr 2010 04:00:33 GMT

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

Scott Gray commented on OFBIZ-3633:

Hi Rishi,

1) Achieve this ProductPrice entity patch is attached with Jira.
The attached patch doesn't seem to make any changes to the ProductPrice entity?

At this stage I'm in favor of one simply because it doesn't change the entity model and still
achieves (in theory) the current requirements.  If we go for a different approach furhter
down the track at least we won't have to deal with deprecating any entity fields.

I don't see how SupplierProduct could be used without it being fairly messy.

> 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.

View raw message