Have a look at the code for routeOrderEntry in
org.ofbiz.order.shoppingcart.ShoppingCartEvents http://www.ofbiz.org/api/applications/order/build/javadocs/org/ofbiz/order/shoppingcart/ShoppingCartEvents.html You could possibly modify the said method where you'll perform your check & then redirect the user to whichever path is appropriate(can/cannot place an order). HTH Ashish Hareet -----Original Message----- Message: 4 Date: Thu, 14 Jul 2005 11:56:44 -0400 From: "Gershaw, Geoffrey" <[hidden email]> Subject: [OFBiz] Users - Modification to Shipping Procedures To: "'OFBiz Users / Usage Discussion'" <[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset="us-ascii" Hello All, After trying 3 hosters, I found a virtual hosting platform that can support ofbiz. The hoster is rimuhosting.com. They even setup ofbiz and got it running for me. Enough plug. I am going to be using the ecommerce piece of ofbiz. For the shipping piece of the ecommerce app, I will be delivering all goods. There will be no UPS options etc. The problem is I will only deliver 100 miles from the store. I want to modify the checkout process to look at the zip code and see if its in a list of approved zip codes. If it is, the order can go through. If not, I will present an error message telling the person to call the store etc. I will use this same verification functionality on the homepage to allow a user to check if they can be delivered to before bothering shopping online. Can anyone point me in the right direction to the code that handles the checkout and any idea of an approach? Thanks Geoff Gershaw DISCLAIMER This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify me and permanently delete the original and any copy of any e-mail and any printout thereof. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. NOTICE REGARDING PRIVACY AND CONFIDENTIALITY Knight Capital Group may, at its discretion, monitor and review the content of all e-mail communications. http://www.knight.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ofbiz.org/pipermail/users/attachments/20050714/5d28968e/attachment-0001.htm ------------------------------ Message: 5 Date: Thu, 14 Jul 2005 09:22:31 -0700 (PDT) From: Chris Howe <[hidden email]> Subject: [OFBiz] Users - Modification to Shipping Procedures To: [hidden email] Message-ID: <[hidden email]> Content-Type: text/plain; charset=iso-8859-1 This is handled with the Geo and GeoAssoc entities. Once you've created your group (I don't believe there is a form to handle this currently, so you'll have to do it by the database or create a datasource file.) You should be able to select your IncludeGeoId when you set up your New Shipping Method. ==============Ggershaw wrote============ Hello All, After trying 3 hosters, I found a virtual hosting platform that can support ofbiz. The hoster is rimuhosting.com. They even setup ofbiz and got it running for me. Enough plug. I am going to be using the ecommerce piece of ofbiz. For the shipping piece of the ecommerce app, I will be delivering all goods. There will be no UPS options etc. The problem is I will only deliver 100 miles from the store. I want to modify the checkout process to look at the zip code and see if its in a list of approved zip codes. If it is, the order can go through. If not, I will present an error message telling the person to call the store etc. I will use this same verification functionality on the homepage to allow a user to check if they can be delivered to before bothering shopping online. Can anyone point me in the right direction to the code that handles the checkout and any idea of an approach? Thanks Geoff Gershaw ------------------------------ _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users End of Users Digest, Vol 12, Issue 27 ************************************* _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Free forum by Nabble | Edit this page |