Support for group shipment cost estimate and additional span support for feature and base pricing
------------------------------------------------------------------------------------------------- Key: OFBIZ-300 URL: http://issues.apache.org/jira/browse/OFBIZ-300 Project: OFBiz (The Open for Business Project) Issue Type: Improvement Components: product Affects Versions: SVN trunk Reporter: Marco Risaliti Attachments: profilepatch.txt This patch allows more than one cost estimate to be used to calculate shipping. With this group support it is possible to calculate shipping based on more than one feature having more than one price. My needs were to support: All large items 5.00 and each additional large item 2.25 All small items 2.50 and each additional small item 1.00 I've done this by creating 4 grouped shipping cost estimates using spans to handle the quantity of 1 and a base price scenario. Having completed it I think it could be done using 2 estimates by changing the data but for now it functions as desired and I need some sleep. This is at present a backwards compatibile feature and should not change the functionality for any existing shipping cost estimates. There is not much code change, I just had to split calcShipmentCostEstimate into two methods so the actual calculation code could be repeatedly called for grouped estimates. It still follows the pattern of find all valid estimates, pick one based on the priorities, calculate the cost. It then checks if the estimate is part of a group and it will then pull from the pre-validated list of estimates for other members of the same group to add to the shipping cost. All Comments Work Log Change History Sort Order: Comment by Marco Risaliti [14/Sep/06 01:55 AM] [ Permlink ] May I can move it to the new jira issue server ? Thanks Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ http://issues.apache.org/jira/browse/OFBIZ-300?page=all ]
Marco Risaliti updated OFBIZ-300: --------------------------------- Attachment: profilepatch.txt It's a copy of the old-jira issue OFBIZ-209 > Support for group shipment cost estimate and additional span support for feature and base pricing > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-300 > URL: http://issues.apache.org/jira/browse/OFBIZ-300 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: product > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Attachments: profilepatch.txt > > > This patch allows more than one cost estimate to be used to calculate shipping. With this group support it is possible to calculate shipping based on more than one feature having more than one price. My needs were to support: > All large items 5.00 and each additional large item 2.25 > All small items 2.50 and each additional small item 1.00 > I've done this by creating 4 grouped shipping cost estimates using spans to handle the quantity of 1 and a base price scenario. Having completed it I think it could be done using 2 estimates by changing the data but for now it functions as desired and I need some sleep. > This is at present a backwards compatibile feature and should not change the functionality for any existing shipping cost estimates. > There is not much code change, I just had to split calcShipmentCostEstimate into two methods so the actual calculation code could be repeatedly called for grouped estimates. It still follows the pattern of find all valid estimates, pick one based on the priorities, calculate the cost. It then checks if the estimate is part of a group and it will then pull from the pre-validated list of estimates for other members of the same group to add to the shipping cost. > > > All Comments Work Log Change History Sort Order: > Comment by Marco Risaliti [14/Sep/06 01:55 AM] [ Permlink ] > May I can move it to the new jira issue server ? > Thanks > Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-300?page=all ]
Jacopo Cappellato updated OFBIZ-300: ------------------------------------ Description: It's a copy of the old-jira issue http://jira.undersunconsulting.com/browse/OFBIZ-209 from Ray Barlow. =========================================== This patch allows more than one cost estimate to be used to calculate shipping. With this group support it is possible to calculate shipping based on more than one feature having more than one price. My needs were to support: All large items 5.00 and each additional large item 2.25 All small items 2.50 and each additional small item 1.00 I've done this by creating 4 grouped shipping cost estimates using spans to handle the quantity of 1 and a base price scenario. Having completed it I think it could be done using 2 estimates by changing the data but for now it functions as desired and I need some sleep. This is at present a backwards compatibile feature and should not change the functionality for any existing shipping cost estimates. There is not much code change, I just had to split calcShipmentCostEstimate into two methods so the actual calculation code could be repeatedly called for grouped estimates. It still follows the pattern of find all valid estimates, pick one based on the priorities, calculate the cost. It then checks if the estimate is part of a group and it will then pull from the pre-validated list of estimates for other members of the same group to add to the shipping cost. All Comments Work Log Change History Sort Order: Comment by Marco Risaliti [14/Sep/06 01:55 AM] [ Permlink ] May I can move it to the new jira issue server ? Thanks Marco was: This patch allows more than one cost estimate to be used to calculate shipping. With this group support it is possible to calculate shipping based on more than one feature having more than one price. My needs were to support: All large items 5.00 and each additional large item 2.25 All small items 2.50 and each additional small item 1.00 I've done this by creating 4 grouped shipping cost estimates using spans to handle the quantity of 1 and a base price scenario. Having completed it I think it could be done using 2 estimates by changing the data but for now it functions as desired and I need some sleep. This is at present a backwards compatibile feature and should not change the functionality for any existing shipping cost estimates. There is not much code change, I just had to split calcShipmentCostEstimate into two methods so the actual calculation code could be repeatedly called for grouped estimates. It still follows the pattern of find all valid estimates, pick one based on the priorities, calculate the cost. It then checks if the estimate is part of a group and it will then pull from the pre-validated list of estimates for other members of the same group to add to the shipping cost. All Comments Work Log Change History Sort Order: Comment by Marco Risaliti [14/Sep/06 01:55 AM] [ Permlink ] May I can move it to the new jira issue server ? Thanks Marco > Support for group shipment cost estimate and additional span support for feature and base pricing > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-300 > URL: http://issues.apache.org/jira/browse/OFBIZ-300 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: product > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Attachments: profilepatch.txt > > > It's a copy of the old-jira issue http://jira.undersunconsulting.com/browse/OFBIZ-209 from Ray Barlow. > =========================================== > This patch allows more than one cost estimate to be used to calculate shipping. With this group support it is possible to calculate shipping based on more than one feature having more than one price. My needs were to support: > All large items 5.00 and each additional large item 2.25 > All small items 2.50 and each additional small item 1.00 > I've done this by creating 4 grouped shipping cost estimates using spans to handle the quantity of 1 and a base price scenario. Having completed it I think it could be done using 2 estimates by changing the data but for now it functions as desired and I need some sleep. > This is at present a backwards compatibile feature and should not change the functionality for any existing shipping cost estimates. > There is not much code change, I just had to split calcShipmentCostEstimate into two methods so the actual calculation code could be repeatedly called for grouped estimates. It still follows the pattern of find all valid estimates, pick one based on the priorities, calculate the cost. It then checks if the estimate is part of a group and it will then pull from the pre-validated list of estimates for other members of the same group to add to the shipping cost. > > > All Comments Work Log Change History Sort Order: > Comment by Marco Risaliti [14/Sep/06 01:55 AM] [ Permlink ] > May I can move it to the new jira issue server ? > Thanks > Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-300?page=all ]
Jacopo Cappellato updated OFBIZ-300: ------------------------------------ Comment: was deleted > Support for group shipment cost estimate and additional span support for feature and base pricing > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-300 > URL: http://issues.apache.org/jira/browse/OFBIZ-300 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: product > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Attachments: profilepatch.txt > > > It's a copy of the old-jira issue http://jira.undersunconsulting.com/browse/OFBIZ-209 from Ray Barlow. > =========================================== > This patch allows more than one cost estimate to be used to calculate shipping. With this group support it is possible to calculate shipping based on more than one feature having more than one price. My needs were to support: > All large items 5.00 and each additional large item 2.25 > All small items 2.50 and each additional small item 1.00 > I've done this by creating 4 grouped shipping cost estimates using spans to handle the quantity of 1 and a base price scenario. Having completed it I think it could be done using 2 estimates by changing the data but for now it functions as desired and I need some sleep. > This is at present a backwards compatibile feature and should not change the functionality for any existing shipping cost estimates. > There is not much code change, I just had to split calcShipmentCostEstimate into two methods so the actual calculation code could be repeatedly called for grouped estimates. It still follows the pattern of find all valid estimates, pick one based on the priorities, calculate the cost. It then checks if the estimate is part of a group and it will then pull from the pre-validated list of estimates for other members of the same group to add to the shipping cost. > > > All Comments Work Log Change History Sort Order: > Comment by Marco Risaliti [14/Sep/06 01:55 AM] [ Permlink ] > May I can move it to the new jira issue server ? > Thanks > Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-300?page=all ]
Jacopo Cappellato updated OFBIZ-300: ------------------------------------ Description: It's a copy of the old-jira issue http://jira.undersunconsulting.com/browse/OFBIZ-209 from Ray Barlow. =========================================== This patch allows more than one cost estimate to be used to calculate shipping. With this group support it is possible to calculate shipping based on more than one feature having more than one price. My needs were to support: All large items 5.00 and each additional large item 2.25 All small items 2.50 and each additional small item 1.00 I've done this by creating 4 grouped shipping cost estimates using spans to handle the quantity of 1 and a base price scenario. Having completed it I think it could be done using 2 estimates by changing the data but for now it functions as desired and I need some sleep. This is at present a backwards compatibile feature and should not change the functionality for any existing shipping cost estimates. There is not much code change, I just had to split calcShipmentCostEstimate into two methods so the actual calculation code could be repeatedly called for grouped estimates. It still follows the pattern of find all valid estimates, pick one based on the priorities, calculate the cost. It then checks if the estimate is part of a group and it will then pull from the pre-validated list of estimates for other members of the same group to add to the shipping cost. was: It's a copy of the old-jira issue http://jira.undersunconsulting.com/browse/OFBIZ-209 from Ray Barlow. =========================================== This patch allows more than one cost estimate to be used to calculate shipping. With this group support it is possible to calculate shipping based on more than one feature having more than one price. My needs were to support: All large items 5.00 and each additional large item 2.25 All small items 2.50 and each additional small item 1.00 I've done this by creating 4 grouped shipping cost estimates using spans to handle the quantity of 1 and a base price scenario. Having completed it I think it could be done using 2 estimates by changing the data but for now it functions as desired and I need some sleep. This is at present a backwards compatibile feature and should not change the functionality for any existing shipping cost estimates. There is not much code change, I just had to split calcShipmentCostEstimate into two methods so the actual calculation code could be repeatedly called for grouped estimates. It still follows the pattern of find all valid estimates, pick one based on the priorities, calculate the cost. It then checks if the estimate is part of a group and it will then pull from the pre-validated list of estimates for other members of the same group to add to the shipping cost. All Comments Work Log Change History Sort Order: Comment by Marco Risaliti [14/Sep/06 01:55 AM] [ Permlink ] May I can move it to the new jira issue server ? Thanks Marco > Support for group shipment cost estimate and additional span support for feature and base pricing > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-300 > URL: http://issues.apache.org/jira/browse/OFBIZ-300 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: product > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Attachments: profilepatch.txt > > > It's a copy of the old-jira issue http://jira.undersunconsulting.com/browse/OFBIZ-209 from Ray Barlow. > =========================================== > This patch allows more than one cost estimate to be used to calculate shipping. With this group support it is possible to calculate shipping based on more than one feature having more than one price. My needs were to support: > All large items 5.00 and each additional large item 2.25 > All small items 2.50 and each additional small item 1.00 > I've done this by creating 4 grouped shipping cost estimates using spans to handle the quantity of 1 and a base price scenario. Having completed it I think it could be done using 2 estimates by changing the data but for now it functions as desired and I need some sleep. > This is at present a backwards compatibile feature and should not change the functionality for any existing shipping cost estimates. > There is not much code change, I just had to split calcShipmentCostEstimate into two methods so the actual calculation code could be repeatedly called for grouped estimates. It still follows the pattern of find all valid estimates, pick one based on the priorities, calculate the cost. It then checks if the estimate is part of a group and it will then pull from the pre-validated list of estimates for other members of the same group to add to the shipping cost. > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-300?page=all ]
Jacques Le Roux reassigned OFBIZ-300: ------------------------------------- Assignee: Jacques Le Roux > Support for group shipment cost estimate and additional span support for feature and base pricing > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-300 > URL: http://issues.apache.org/jira/browse/OFBIZ-300 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: product > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Assigned To: Jacques Le Roux > Attachments: profilepatch.txt > > > It's a copy of the old-jira issue http://jira.undersunconsulting.com/browse/OFBIZ-209 from Ray Barlow. > =========================================== > This patch allows more than one cost estimate to be used to calculate shipping. With this group support it is possible to calculate shipping based on more than one feature having more than one price. My needs were to support: > All large items 5.00 and each additional large item 2.25 > All small items 2.50 and each additional small item 1.00 > I've done this by creating 4 grouped shipping cost estimates using spans to handle the quantity of 1 and a base price scenario. Having completed it I think it could be done using 2 estimates by changing the data but for now it functions as desired and I need some sleep. > This is at present a backwards compatibile feature and should not change the functionality for any existing shipping cost estimates. > There is not much code change, I just had to split calcShipmentCostEstimate into two methods so the actual calculation code could be repeatedly called for grouped estimates. It still follows the pattern of find all valid estimates, pick one based on the priorities, calculate the cost. It then checks if the estimate is part of a group and it will then pull from the pre-validated list of estimates for other members of the same group to add to the shipping cost. > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-300?page=all ]
Ray Barlow updated OFBIZ-300: ----------------------------- Attachment: product.patch This is the correct patch from the original JIRA issue. Must have been mixed up on route as profilepatch.txt is unrelated to this issue! (If anybody can please feel free to delete other patch file) > Support for group shipment cost estimate and additional span support for feature and base pricing > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-300 > URL: http://issues.apache.org/jira/browse/OFBIZ-300 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: product > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Assigned To: Jacques Le Roux > Attachments: product.patch, profilepatch.txt > > > It's a copy of the old-jira issue http://jira.undersunconsulting.com/browse/OFBIZ-209 from Ray Barlow. > =========================================== > This patch allows more than one cost estimate to be used to calculate shipping. With this group support it is possible to calculate shipping based on more than one feature having more than one price. My needs were to support: > All large items 5.00 and each additional large item 2.25 > All small items 2.50 and each additional small item 1.00 > I've done this by creating 4 grouped shipping cost estimates using spans to handle the quantity of 1 and a base price scenario. Having completed it I think it could be done using 2 estimates by changing the data but for now it functions as desired and I need some sleep. > This is at present a backwards compatibile feature and should not change the functionality for any existing shipping cost estimates. > There is not much code change, I just had to split calcShipmentCostEstimate into two methods so the actual calculation code could be repeatedly called for grouped estimates. It still follows the pattern of find all valid estimates, pick one based on the priorities, calculate the cost. It then checks if the estimate is part of a group and it will then pull from the pre-validated list of estimates for other members of the same group to add to the shipping cost. > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-300?page=all ]
Jacques Le Roux updated OFBIZ-300: ---------------------------------- Attachment: (was: profilepatch.txt) > Support for group shipment cost estimate and additional span support for feature and base pricing > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-300 > URL: http://issues.apache.org/jira/browse/OFBIZ-300 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: product > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Assigned To: Jacques Le Roux > Attachments: product.patch > > > It's a copy of the old-jira issue http://jira.undersunconsulting.com/browse/OFBIZ-209 from Ray Barlow. > =========================================== > This patch allows more than one cost estimate to be used to calculate shipping. With this group support it is possible to calculate shipping based on more than one feature having more than one price. My needs were to support: > All large items 5.00 and each additional large item 2.25 > All small items 2.50 and each additional small item 1.00 > I've done this by creating 4 grouped shipping cost estimates using spans to handle the quantity of 1 and a base price scenario. Having completed it I think it could be done using 2 estimates by changing the data but for now it functions as desired and I need some sleep. > This is at present a backwards compatibile feature and should not change the functionality for any existing shipping cost estimates. > There is not much code change, I just had to split calcShipmentCostEstimate into two methods so the actual calculation code could be repeatedly called for grouped estimates. It still follows the pattern of find all valid estimates, pick one based on the priorities, calculate the cost. It then checks if the estimate is part of a group and it will then pull from the pre-validated list of estimates for other members of the same group to add to the shipping cost. > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |