[ https://issues.apache.org/jira/browse/OFBIZ-6940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vishal Chhabria updated OFBIZ-6940: ----------------------------------- Attachment: OFBIZ-6685.patch Attached the patch for Shipping Allowance implementation. Details - 1) Updated ShippingEstimateWrapper constructor to calculate the total allowance amount for all the products in a particular Shipgroup. 2) Change loadEstimates() signature to loadEstimates(BigDecimal totalAllowance) to accept the total allowance of a shipgroup. 3) Modified ShippingEvents.getShipGroupEstimate() method to reduce the shippingAllowance amount from actual Shipping Cost. Also, made changes to check if the totalShipping is greater than minimumPrice for a particular shipping option. > New ProductPriceType 'SHIPPING_ALLOWANCE' and a new minimumPrice field in > ProductStoreShipmentMeth entity > --------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-6940 > URL: https://issues.apache.org/jira/browse/OFBIZ-6940 > Project: OFBiz > Issue Type: New Feature > Reporter: Vishal Chhabria > Priority: Trivial > Attachments: OFBIZ-6685.patch > > > New price type "SHIPPING_ALLOWANCE" can be used in the scenarios where > default/list prices are comprehensive of the 'Shipping Cost' quota, this > price type can help user to set the Shipping Allowance cost he has included > in the the product's default/list price and then modify actual shipping cost > by reducing the allowance cost from it. > minimumPrice field can be used to set the the lowest rate for a particular > shipping type. -- This message was sent by Atlassian JIRA (v6.3.4#6332)