Totally Zenned
- Join Date:
- Jan 2007
- Location:
- Los Angeles, California, United States
- Posts:
- 10,011
- Plugin Contributions:
- 3
Admin Simple Create Order [Support Thread]
Thanks for your insight DrByte.. You confirmed what I thought was going to be required to execute this, and with that I am tapping out of doing anything more with this add-on than I've already done..:laugh::laugh:
I've got Create Orders working with Edit Orders 2.xx, and frankly if I am "creating" an order from the admin, I can live with manually entering in the state for those orders/customers which require it..
The name of this add-on is Admin SIMPLE Create Orders.. This title amply describes what I have working on my test store.. a SIMPLE order creation method. So I'll let someone else have a go with building out the rest of this nightmarish add-on with all those other bells and whistles (shipping rates, order confirmation e-mails, etc..) :laugh: I'll steer clear of that and minimize the amount of grey hair I have on my head thank you very much..:laugh:
After I finish up the Super Orders release me and my fellow Zenners have been working diligently on, and a boatload of other REAL work I've got on my plate, I'll probably bundle up my working version of this add-on and submit it to the downloads..
It won't have the bells and whistles in it (shipping rates, order confirmation e-mails, etc..), but IMHO what is currently available right now is only half functioning anyway. AND there are adequate "workarounds" for those bells and whistles.. (shipping rates can be looked up and the existing comments features will work JUST FINE for customer order notification)
IMHO, until someone comes along ('cause I'm done!:laugh:) and wants to build this add-on out with all the PROPERLY WORKING bells and whistles, an add-on which at least serves the basic intent of this add-on is better than one that contains features which are buggy and/or do not work well..
To the community: Please do not PM me about sending over my working version of Create Orders.. I have other projects on my plate, and it will be a minute before I have enough free time to properly bundle this up and submit it..
In the meantime there are PLENTY of good tips in THIS support thread which will help others to get Create Orders to the state I have it in my test store.. All I really did to get it to work was to follow those tips. There is a required correction I discovered for one of the tips posted. I will follow-up this post with a correction to that tip..
DrByte:
As far as the customer address book entries go, it's either/or, not both.
And the same details are carried over to the orders table when an order is created during checkout.entry_state is only ever to be filled in if there is no zone defined for their state in their country
**entry_zone_id **is set if the customer's country+state matches a zone combination in the zones table. In such cases, entry_state is left blank, because the entry_zone_id points to the zone name which has the correct spelling etc of that state/zone name.
Obviously, to present a list of available states/zones for a given country, you need to provide a pulldown menu such as is seen on the create-account page ... which also has some javascript to auto-update the list of available zones whenever the country pulldown selection is changed. And then, when a selection is made, the corresponding entry_zone_id is set based on the selection made.