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.
Thanks Deepak & Rishi for the contribution and others for providing valuable comments / suggestions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936228 13f79535-47bb-0310-9956-ffa450edef68
OFBIZ-3685 - XHTML validation errors round 2 (order)
https://issues.apache.org/jira/browse/OFBIZ-3685
XHTML validation errors
* Unclosed tags
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
checkinits.ftl
Line 104, 171: duplicated id userLoginId
appendorderitem.ftl
Line 65: invalid a closing
editorderitems.ftl
Line 214: needed td close;
orderagreements.ftl
Line 35,55: hidden input must be inside td.
Line 37,67: attribute valign not valid for tr
orderinfo.ftl
Lines 22-88: form must be inside li.
Lines 232-248: form must be inside td.
orderpaymentinfo.ftl
LInes 122,123,124,155: wrong syntax -> class"label" should be -> class="label"
ordershippinginfo.ftl
Line 62: form must be inside li.
Line 296,297: label for attribute does not match input id
Lines 308, 310: label for attribute does not match select id
Line 318: duplicated unneeded id.
Line 319. 321: label for attribute does not match select id
Lines 499, 519: form must be inside td
Line 527: duplicated span open
Lines 521,546: form must be inside td
Line 552: duplicated span open
quoteInfo.ftl
Line 40: invalid /div
quoteRoles.ftl
Lines 24-44: avoid empty table
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935270 13f79535-47bb-0310-9956-ffa450edef68
Fixed by adding an optional shipGroupSeqId to the WorkOrderItemFulfillment entity that can be used to specify the key to the specific OrderItemShipGroupAssoc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934004 13f79535-47bb-0310-9956-ffa450edef68
as services, so that installations can do whatever kind of checking and
promotions that they want, without any modifications to ofbiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932108 13f79535-47bb-0310-9956-ffa450edef68
OFBIZ-3607 - XHTML validation errors (order)
XHTML validation errors
* Unclosed INPUT
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
findOrders.ftl
Wrong markup on line 470. Unrecognized onsubmit attribute in input tag
<input type='submit' value='${uiLabelMap.CommonFind}' onsubmit="javascript:lookupOrders(true);"/>
Wrong markup on line 478. div must be before if and not after. Look at line 138 the if begins with <div><table> it should end with </table></div>
</table>
</#if>
</div>
</div>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931691 13f79535-47bb-0310-9956-ffa450edef68
shipgroup system. This fixes a bug, where multiple
ProductStoreShipmentMeth are configured, each one using the *same*
carrierPartyId and shipmentMethodTypeId, but have different cost
estimates attached, while making use of include/exclude geos, and other
restrictions. In effect, no matter what specific
ProductStoreShipmentMeth you selected, when updating the total shipping
estimates(for display on a summary cart screen), it would try to do a
find on just the carrierPartyId/shipmentMethodTypeId pair, and basically
choose one at random. So if there were multiple configured estimates on
USPS/FIRST_CLASS, it was unknown which would be chosen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931595 13f79535-47bb-0310-9956-ffa450edef68