I have created a simple module in zen-cart. This module called Simple Create Order v1.0. I created this module because i can’t find any module for create order from the admin back end.
After did some search on google and looking in Zen-Cart forum. I found that there are 2 modules related to mine: those are super order 2.0 and edit order v1.5.3.
I thought i can use super order 2.0, but i did found that the developer of this module discontinued the project and there are many bugs and many complicated patch in the forum, after that i decided to not use that module.
And then i come up for the second choice that is edit order v1.5.3, i think this module is the one i looking for, but this module only edit existing order made by the customer, not create a new one.
And then i have an idea, how about if i create my own module by recode the edit order module? After a several hours i did have my own module that is “Simple Create Order v1.0”.
My idea is really simple, i did join 2 modules (edit order v1.5.3 and add customer v1.02) with a little modifications and create my own create order module. You can download it here.
HOW TO INSTALL:
===============
1. Download Simple Create Order.
2. Upload files to your store directory; the directory structure design for zen cart 1.3.8a, if you still have standard installation you can just upload files in modifications folder, if not please refer to instruction manual include in zip file.
HOW TO USE:
===============
For create an order: In ADMIN->CUSTOMERS->Create Order
For create an customer: In ADMIN->CUSTOMERS->Add customer
For edit an Order: In ADMIN->CUSTOMERS->ORDERS->EDIT make necessary changes to customer’s order (i.e. to delete a product, change quantity to 0) and then click UPDATE.
PATCH:
===============
5 Agustus 2010: Fixed Cannot Delete Order… Finally 🙂
18 Sep 2009: Update add customer from admin module to v1.06
11 May 2009: Add resent invoice as request by Melissa.
29 April 2009: Fixed for anyone using prefix database table name. (Thanks to Brandy)
SCREENSHOT:
Found any bugs or a suggestion please post here.
Hi! I am testing your module and have 2 questions for you. When placing a new order, it does not send a New Order email to the customer nor to the admin as regular sales still do – are we missing something in the create_order.php code? On the edit order page, the shipping quote is calculated different from the actual Shipping Estimator on the shopping cart. How do we get them in sync?
Thanks,
Melissa
Hi! I am testing your module and have 2 questions for you. When placing a new order, it does not send a New Order email to the customer nor to the admin as regular sales still do – are we missing something in the create_order.php code? On the edit order page, the shipping quote is calculated different from the actual Shipping Estimator on the shopping cart. How do we get them in sync?
Thanks,
Melissa
Fantastic mod exactly what i have been looking for!!!!!
Just a few questions:
1. Does this mod calculate the tax rates if used? As it seems it not adding it to the final price when i create a new order and the invoice emailed to customer does not appy tax either?
2. Same issue as above. Doesnt seem to send an email to the store owner like a normal order.? Also the email invoice to customer is sent as an order update.?
3. Every time i click edit on an order i get a pop up saying invoice resent to customer is this suppose to happen?
4. When creating an order there is no field for the CVV number used for credit card payments?
Thanks
Thanks for the feedback. All fixed except number 4 🙂
I will add it soon…
Fantastic mod exactly what i have been looking for!!!!!
Just a few questions:
1. Does this mod calculate the tax rates if used? As it seems it not adding it to the final price when i create a new order and the invoice emailed to customer does not appy tax either?
2. Same issue as above. Doesnt seem to send an email to the store owner like a normal order.? Also the email invoice to customer is sent as an order update.?
3. Every time i click edit on an order i get a pop up saying invoice resent to customer is this suppose to happen?
4. When creating an order there is no field for the CVV number used for credit card payments?
Thanks
Thanks for the feedback. All fixed except number 4 🙂
I will add it soon…
I have not installed your mod yet but will be doing so shortly.
I am setting up zen 4 the 1st time and I would like to be able to offer several free downloadable files. (utilities)
My problem is that I have no Idea on how or where to set up a file to have my visitors download it.
If you know where I can find plain english instructions I will gladly use them.
I have not installed your mod yet but will be doing so shortly.
I am setting up zen 4 the 1st time and I would like to be able to offer several free downloadable files. (utilities)
My problem is that I have no Idea on how or where to set up a file to have my visitors download it.
If you know where I can find plain english instructions I will gladly use them.
Sorry Ivan, one more thing….
When creating an order is there any way to change the default Free Shipping option? For my site i currently use one flat rate shipping price for all orders/products?
Sorry Ivan, one more thing….
When creating an order is there any way to change the default Free Shipping option? For my site i currently use one flat rate shipping price for all orders/products?
This mod is what I have been looking for to handle telephone orders, but I have a couple of questions:
1) I already have "edit orders" and "add a customer" mods installed on my site. Is this going to cause a problem if I install your mod?
2) Has the CVV been added yet? Our merchant account requires this.
Thanks!
This mod is what I have been looking for to handle telephone orders, but I have a couple of questions:
1) I already have “edit orders” and “add a customer” mods installed on my site. Is this going to cause a problem if I install your mod?
2) Has the CVV been added yet? Our merchant account requires this.
Thanks!
Also…does this mod actually send the order through our payment gateway (like it would if done cart-side), or is it just a way to record the information where we can use our virtual terminal to process the payment?
If it doesn't actually process the payment when I enter the order, I won't have to worry about the CVV part. 🙂
Hi Deb,
Actually this is only a simple module. and doesn't process any payment.
I haven't add cvv part to this module, and i'm still thinking about that.
If you use another payment gateway such as paypal, like we does,
we usually inform customer to pay via paypal and then we process their order.
Also…does this mod actually send the order through our payment gateway (like it would if done cart-side), or is it just a way to record the information where we can use our virtual terminal to process the payment?
If it doesn’t actually process the payment when I enter the order, I won’t have to worry about the CVV part. 🙂
Hi Deb,
Actually this is only a simple module. and doesn’t process any payment.
I haven’t add cvv part to this module, and i’m still thinking about that.
If you use another payment gateway such as paypal, like we does,
we usually inform customer to pay via paypal and then we process their order.
Thanks Ivan! It will work perfect then because we always use our virtual terminal for telephone orders. 🙂
Do you think there will be any conflict since I already have the “edit orders” and “add a customer” mods installed?
For “add a customer” it will have no problem.
But for “edit orders”, i add some code there, real time shipping quote and resent invoice to customers.
If you have a text editor with compare text feature, you will see the differences.
Thanks Ivan! It will work perfect then because we always use our virtual terminal for telephone orders. 🙂
Do you think there will be any conflict since I already have the "edit orders" and "add a customer" mods installed?
For "add a customer" it will have no problem.
But for "edit orders", i add some code there, real time shipping quote and resent invoice to customers.
If you have a text editor with compare text feature, you will see the differences.
Installed Great! I just ended up replacing my files with yours, which worked fine. Only problem I'm having is it's only showing 'Free Shipping' when creating or editing an order in the order totals (but I can manually type in FedEx, etc.).
It does show our standard shipping rates in a box on the page, but the rate never changes no matter how many items you add. It acts like it's not calculating the weight. Did I miss something?
Installed Great! I just ended up replacing my files with yours, which worked fine. Only problem I’m having is it’s only showing ‘Free Shipping’ when creating or editing an order in the order totals (but I can manually type in FedEx, etc.).
It does show our standard shipping rates in a box on the page, but the rate never changes no matter how many items you add. It acts like it’s not calculating the weight. Did I miss something?
I have installed your patches and for some reason I do not have the additional items showing up under admin–>customers.
Any thoughts, I have check the store directory on the server and the files all seem to be in the correct place.
Thanks
I have installed your patches and for some reason I do not have the additional items showing up under admin–>customers.
Any thoughts, I have check the store directory on the server and the files all seem to be in the correct place.
Thanks
This is exactly what i needed!!! BUT i have an error popping up with which this script conflicts with a shipping module of mine.
Fatal error: Call to undefined function zen_get_product_is_always_free_shipping() in /***********/canadapost.php on line 144
any idea how to fix this?
@LJ
what is your zencart version? My module only work on zencart v1.3.8.
@Mike
can you send me your canadapost module to my email? My module works great with fedex and usps.
This is exactly what i needed!!! BUT i have an error popping up with which this script conflicts with a shipping module of mine.
Fatal error: Call to undefined function zen_get_product_is_always_free_shipping() in /***********/canadapost.php on line 144
any idea how to fix this?
@LJ
what is your zencart version? My module only work on zencart v1.3.8.
@Mike
can you send me your canadapost module to my email? My module works great with fedex and usps.
So that I don't go insane playing around with it…
Any way I could get you integrate a means to add a product by the product ID to your edit order page? 🙂 (Or a search for product and add option, so I don't have to go through 11tybillion steps just to add a product)
Like this add-on, but for the admin end: http://www.zen-cart.com/forum/showthread.php?t=63464
It would make your add-on almost perfect for POS purposes. 😀
Hi Miki,
Sure please go for it. But please don't delete my name in your code 🙂
And when you finish, would you mind give me, so i can upload to my blog as another version.
So that I don’t go insane playing around with it…
Any way I could get you integrate a means to add a product by the product ID to your edit order page? 🙂 (Or a search for product and add option, so I don’t have to go through 11tybillion steps just to add a product)
Like this add-on, but for the admin end: http://www.zen-cart.com/forum/showthread.php?t=63464
It would make your add-on almost perfect for POS purposes. 😀
Hi Miki,
Sure please go for it. But please don’t delete my name in your code 🙂
And when you finish, would you mind give me, so i can upload to my blog as another version.
mas dimana ada tutorial develop module di zen cart ? mohon informasinya…
terima kasih
mas dimana ada tutorial develop module di zen cart ? mohon informasinya…
terima kasih
Whenever I click on "Add Product" either in New Order or editing an existing order, the screen goes to the Zen Cart admin sign in page. I am using 1.3.8 and have installed and reinstalled the files to see if I could figure it out. I also tried using the modification files and doing the manual updates on existing files…nothing has worked. Appreciate any help.
that's weird but i will take a look. is there any other module you installed on your zencart?
because i have some experiences with crash between module and as a result lost my login session.
Whenever I click on “Add Product” either in New Order or editing an existing order, the screen goes to the Zen Cart admin sign in page. I am using 1.3.8 and have installed and reinstalled the files to see if I could figure it out. I also tried using the modification files and doing the manual updates on existing files…nothing has worked. Appreciate any help.
that’s weird but i will take a look. is there any other module you installed on your zencart?
because i have some experiences with crash between module and as a result lost my login session.
There is no other add-ons or modules installed. Since I installed this anything I click on when using Firefox goes to the same log-in screen. However, when I use IE, it does not do that, except when I click on "Add Product" – Not sure if it helps, but I copied the "Add Product" code on the page in question.
<a href="/coaches/catalog/admin/edit_orders.php?oID=584&action=add_product&step=1" rel="nofollow"><b>Add product. </b></a>
There is no other add-ons or modules installed. Since I installed this anything I click on when using Firefox goes to the same log-in screen. However, when I use IE, it does not do that, except when I click on “Add Product” – Not sure if it helps, but I copied the “Add Product” code on the page in question.
Add product.
Any feedback on my 8/22 question?
Also, when I edit orders they no longer show up in the list of orders, but I can pull up the order if I do a search for them. Any clue?
Hi Hal,
i looked on my code, i don't see something wrong. Are you using zencart v1.3.8a ?
Because i haven't test it on v1.3.8 and prior. I am using that module for more than 6 months and no problem.
And for edit orders, please check again orders.php, it might be you forget something when you replacing the code.
Any feedback on my 8/22 question?
Also, when I edit orders they no longer show up in the list of orders, but I can pull up the order if I do a search for them. Any clue?
Hi Hal,
i looked on my code, i don’t see something wrong. Are you using zencart v1.3.8a ?
Because i haven’t test it on v1.3.8 and prior. I am using that module for more than 6 months and no problem.
And for edit orders, please check again orders.php, it might be you forget something when you replacing the code.
Ok, yes using 1.38a
Ok, yes using 1.38a
And how about your session? Is it store on db or files?
Mine is using db, you can look at your configuration file when it say define('STORE_SESSIONS', 'db');
And how about your session? Is it store on db or files?
Mine is using db, you can look at your configuration file when it say define(‘STORE_SESSIONS’, ‘db’);
I've checked all the files in orders.php – it is like I don't have permission to enter an order since it goes to the login when I click "Add Products".
Which configuration file should I be looking at? Location?
I’ve checked all the files in orders.php – it is like I don’t have permission to enter an order since it goes to the login when I click “Add Products”.
Which configuration file should I be looking at? Location?
What is your Session configuration? You can look at Configuration > Session.
Mine is look like this:
Session Directory /path/to/your/cache (cache folder must set to 777)
Cookie Domain True Info
Force Cookie Use False
Check SSL Session ID True
Check User Agent False
Check IP Address False
Prevent Spider Sessions True
Recreate Session False
IP to Host Conversion Status true
And to look how your session store, you can open catalog/admin/includes/configuration.php search for define(’STORE_SESSIONS’, ‘db’);
If it is not db, please make sure your cache folder permission is writeable or set to 777.
What is your store URL? May i take a look?
What is your Session configuration? You can look at Configuration > Session.
Mine is look like this:
Session Directory /path/to/your/cache (cache folder must set to 777)
Cookie Domain True Info
Force Cookie Use False
Check SSL Session ID True
Check User Agent False
Check IP Address False
Prevent Spider Sessions True
Recreate Session False
IP to Host Conversion Status true
And to look how your session store, you can open catalog/admin/includes/configuration.php search for define(’STORE_SESSIONS’, ‘db’);
If it is not db, please make sure your cache folder permission is writeable or set to 777.
What is your store URL? May i take a look?
I checked all the settings and made them the same, but no change. I did check the configuration.php file and it does have define('STORE_SESSIONS'.'db')
Our shopping cart is available only to members and is in a password protected directory. If you could email me I can send you the url and pw. I just don't want to post for all to see.
Thanks.
I checked all the settings and made them the same, but no change. I did check the configuration.php file and it does have define(‘STORE_SESSIONS’.’db’)
Our shopping cart is available only to members and is in a password protected directory. If you could email me I can send you the url and pw. I just don’t want to post for all to see.
Thanks.
Your add-on looks like a much improved version of Edit Orders 1.5.3.. One question though.. I use Super Orders and was wondering if you have a version of the super_order.php file that works with your add-on. I would love it if these two add-ons played nicely together without me having to use orders.php as well as super_orders.php..
One other thing.. The "Add Customers from Admin" mod that your mod is based on is version 1.02. The "Add Customers from Admin" mod is now up to version 1.06. This version has some nice feature improvements, and I was wondering if you were aware of any conflict with this add-on if I installed the latest verion of "Add Customers from Admin" on top of your mod??
Then to add to this, do you have any plans to update your mod to include the most recent version of the "Add Customers from Admin" mod?
Awesome mod either way!! Any plans to make it available in the Zen Cart downloads section??
Hi DivaWebDzgn,
Thanks for the point it out.
I know there are upgrades for "add customer for admin" and "edit order", and i don't upgrade it yet in my module since i feel this module is quiet stable for me, and i'm using it almost a year now and does the job. But i will take a look on that and upgrade my module soon.
And i don't think my module will conflict, because i don't use it pretty much on my module, just a link to create customer.
I tried to add my module to zen cart download section long time ago, but i don't know i don't get approval until now.
I think they are busy to develop zencart v2.0.
Your add-on looks like a much improved version of Edit Orders 1.5.3.. One question though.. I use Super Orders and was wondering if you have a version of the super_order.php file that works with your add-on. I would love it if these two add-ons played nicely together without me having to use orders.php as well as super_orders.php..
One other thing.. The “Add Customers from Admin” mod that your mod is based on is version 1.02. The “Add Customers from Admin” mod is now up to version 1.06. This version has some nice feature improvements, and I was wondering if you were aware of any conflict with this add-on if I installed the latest verion of “Add Customers from Admin” on top of your mod??
Then to add to this, do you have any plans to update your mod to include the most recent version of the “Add Customers from Admin” mod?
Awesome mod either way!! Any plans to make it available in the Zen Cart downloads section??
Hi DivaWebDzgn,
Thanks for the point it out.
I know there are upgrades for “add customer for admin” and “edit order”, and i don’t upgrade it yet in my module since i feel this module is quiet stable for me, and i’m using it almost a year now and does the job. But i will take a look on that and upgrade my module soon.
And i don’t think my module will conflict, because i don’t use it pretty much on my module, just a link to create customer.
I tried to add my module to zen cart download section long time ago, but i don’t know i don’t get approval until now.
I think they are busy to develop zencart v2.0.
Hi Ivan
Since I posted that I decided to give your mod a test on my test site.. Since I am running the latest version of "Add Customers From Admin", I deleted all of the "Add Customer from Admin" files from your download, and installed the remaining files.. Works just fine with the latest version of "Add Customer from Admin"..
You should consider upgrading your mod files to include the 1.06 version of "Add Customer from Admin" as it includes some improved customer password security features..
It would be AWESOME if your mod was available to others.. You should try resubmitting.. 🙂
Hi DivaWebDzgn,
Thanks for test my mods with new "Add Customer from Admin" update.
I will update my mod soon… 🙂
Hi Ivan
Since I posted that I decided to give your mod a test on my test site.. Since I am running the latest version of “Add Customers From Admin”, I deleted all of the “Add Customer from Admin” files from your download, and installed the remaining files.. Works just fine with the latest version of “Add Customer from Admin”..
You should consider upgrading your mod files to include the 1.06 version of “Add Customer from Admin” as it includes some improved customer password security features..
It would be AWESOME if your mod was available to others.. You should try resubmitting.. 🙂
Hi DivaWebDzgn,
Thanks for test my mods with new “Add Customer from Admin” update.
I will update my mod soon… 🙂
I have a stupid question about installing. Where exactly are the files supposed to go?
i made the folder structure same like zencart v1.3.8a.
Please read the manual, and you will understand.
I have a stupid question about installing. Where exactly are the files supposed to go?
i made the folder structure same like zencart v1.3.8a.
Please read the manual, and you will understand.
Module works Great so far. One thing that I have noticed is that when it calculates shipping it doesn't consider the settings under Shipping/Packaging for adding a percentage of weight to the shipment for boxing/peanuts. It only calculates the shipping estimates on the pure weight of the items in the cart.
Seems like a simple thing to change/improve upon.
Hmm.. i haven't think about that percentage.
I will improve it soon. Since there are the others request too. Specially for shipping module from UPS.
Btw, thanks Doug, hope you like my module.
Thanks.
Module works Great so far. One thing that I have noticed is that when it calculates shipping it doesn’t consider the settings under Shipping/Packaging for adding a percentage of weight to the shipment for boxing/peanuts. It only calculates the shipping estimates on the pure weight of the items in the cart.
Seems like a simple thing to change/improve upon.
Hmm.. i haven’t think about that percentage.
I will improve it soon. Since there are the others request too. Specially for shipping module from UPS.
Btw, thanks Doug, hope you like my module.
Thanks.
Hi, this is exactly what I need, only problem I have at the moment is that when I send email from admin edit orders page the email link "Click here for a detailed invoice" links to admin account history instead of the customers.
Any help would be appreciated.
Thanks
Hi, this is exactly what I need, only problem I have at the moment is that when I send email from admin edit orders page the email link “Click here for a detailed invoice” links to admin account history instead of the customers.
Any help would be appreciated.
Thanks
There seems to be a bug in the delete orders if you have added the security patch to version 1.3.8a
The lower delete button does nothing and the upper delete order button gets redirected to the main admin page.
I posted a fix here but thought it might be worth posting here as well.
http://www.zen-cart.com/forum/showpost.php?p=800162&postcount=18
Thanks yabyummy,
actually i fixed it myself but forget to update my module.
I am sorry.
There seems to be a bug in the delete orders if you have added the security patch to version 1.3.8a
The lower delete button does nothing and the upper delete order button gets redirected to the main admin page.
I posted a fix here but thought it might be worth posting here as well.
http://www.zen-cart.com/forum/showpost.php?p=800162&postcount=18
Thanks yabyummy,
actually i fixed it myself but forget to update my module.
I am sorry.
The email functions don't seem to work for me. Is there any update to the orders class that I need to make as well?
The email functions don’t seem to work for me. Is there any update to the orders class that I need to make as well?
Ivan, great mod. Couple of outstanding issues for me:
1. FREE SHIPPING is the only option. Is there a fix?
2. Edit order just shows the order with no way to actually edit items. Am I missing something?
I'm using 1.3.8a.
Hi Billy,
here is the answer:
1. Free shipping is the default, you change it the shipping option by add/change manually
2. i guess you just miss copy and paste my code in orders.php
thanks.
Ivan, great mod. Couple of outstanding issues for me:
1. FREE SHIPPING is the only option. Is there a fix?
2. Edit order just shows the order with no way to actually edit items. Am I missing something?
I’m using 1.3.8a.
Hi Billy,
here is the answer:
1. Free shipping is the default, you change it the shipping option by add/change manually
2. i guess you just miss copy and paste my code in orders.php
thanks.
Ivan, Does the re-send invoice function work for you?
I can't seem to get it to send anything…I'm not sure what I did wrong.
Thanks!
Ivan, Does the re-send invoice function work for you?
I can’t seem to get it to send anything…I’m not sure what I did wrong.
Thanks!
Hello, thanks for the scrip I find it ready helpful.
I did run into a problem with TAX, when i create an order TAX is not applied, is that an easy fix?
thank you
Hi Vadim,
it need time to fix that.
You can add tax manually into the subtotal text box for now.
Thanks.
Hello, thanks for the scrip I find it ready helpful.
I did run into a problem with TAX, when i create an order TAX is not applied, is that an easy fix?
thank you
Hi Vadim,
it need time to fix that.
You can add tax manually into the subtotal text box for now.
Thanks.
thanks, let me know
thanks, let me know
hi ivan, i've installed your module.
Everything's going well, except reward point and coment order, it written $ORDER_COMMENTS. I've installed reward point module.
When I edit the order, the reward point is return to 0 (zero) and added with currency (rp/US$/etc). and the reward discount amount didn't work automatically. I have to add with – (minus) so it will work.
any advice?
thx =)
hi ivan, i’ve installed your module.
Everything’s going well, except reward point and coment order, it written $ORDER_COMMENTS. I’ve installed reward point module.
When I edit the order, the reward point is return to 0 (zero) and added with currency (rp/US$/etc). and the reward discount amount didn’t work automatically. I have to add with – (minus) so it will work.
any advice?
thx =)
You had this in the read me file:
" if you still have standard installation you can just upload files in modifications folder, if not please do step 2 and 3."
I am confused. I have uploaded all the files in the modifications folder for zen cart 1.3.8a and it is not doing anything. I also tried earlier the other method with the step 2 and step three method. I cannot seem to get this module to work, please help. Thank you!
Hi Carrie,
Did you read the instruction carefully?
or if you have any change with the original files, you need to use merge tools to merge my files.
Cheers,
Ivan
You had this in the read me file:
” if you still have standard installation you can just upload files in modifications folder, if not please do step 2 and 3.”
I am confused. I have uploaded all the files in the modifications folder for zen cart 1.3.8a and it is not doing anything. I also tried earlier the other method with the step 2 and step three method. I cannot seem to get this module to work, please help. Thank you!
Hi Carrie,
Did you read the instruction carefully?
or if you have any change with the original files, you need to use merge tools to merge my files.
Cheers,
Ivan
There is a problem whit Super order2 and Simple create orders
Cannot redeclare zen_get_country_id()
But for fix siple rename funcuions
zen_get_country_iso_code_2 to zen_get_country_iso_code_2_simple
zen_get_country_id to zen_get_country_id_simple
In files:
admin/includes/functions/extra_functions/edit_orders.php
admin/edit_orders.php
Enyoj it!
Thanks a lot! for Simple create orders!
You need to add my function at admin/includes/functions/general.php
There is a problem whit Super order2 and Simple create orders
Cannot redeclare zen_get_country_id()
But for fix siple rename funcuions
zen_get_country_iso_code_2 to zen_get_country_iso_code_2_simple
zen_get_country_id to zen_get_country_id_simple
In files:
admin/includes/functions/extra_functions/edit_orders.php
admin/edit_orders.php
Enyoj it!
Thanks a lot! for Simple create orders!
You need to add my function at admin/includes/functions/general.php
Hi, Thanks for your plugin.
I'm using that, but a small problem when sent the email to customer, the invoice link is shop/admin/account_history_info.php?order_id=1007 and I found there was no account_history_info.php file in your plugin…
Don't konw what happened, ask for help, thanks
Hi, Thanks for your plugin.
I’m using that, but a small problem when sent the email to customer, the invoice link is shop/admin/account_history_info.php?order_id=1007 and I found there was no account_history_info.php file in your plugin…
Don’t konw what happened, ask for help, thanks
Thanks for taking the time to write the mod. I did notice that it ignors the disocunt of a product so you have to make sure that you catch the differance. Most of our products are discounted because we show the list price then "slash" it (using discount).
@Ty
Yes i did notice that. But it is from edit order module. But i will fix it in the next release.
Thanks for the notice.
Thanks for taking the time to write the mod. I did notice that it ignors the disocunt of a product so you have to make sure that you catch the differance. Most of our products are discounted because we show the list price then "slash" it (using discount).
@Ty
Yes i did notice that. But it is from edit order module. But i will fix it in the next release.
Thanks for the notice.
Hello and thanks for this module!
I dont see shipping price changing when adding or removing products. Maybe missing is also option to change shipping method?
Hello and thanks for this module!
I dont see shipping price changing when adding or removing products. Maybe missing is also option to change shipping method?
Hi Ivan – thank you so much for this – we receive a lot of phone orders – so just what we are after 🙂
We already have 'add customers' and 'edit orders' – so the addition of 'create orders' will be wonderful!
Just wondering – with Step 2, the 3rd set of code seems the same? (but I might be having a blond day)
Find:
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDER_EDIT, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete', 'NONSSL') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
Replace With:
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDER_EDIT, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete', 'NONSSL') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
My apologies if I've missed something….
Many thanks
Sams
Hi Ivan – thank you so much for this – we receive a lot of phone orders – so just what we are after 🙂
We already have 'add customers' and 'edit orders' – so the addition of 'create orders' will be wonderful!
Just wondering – with Step 2, the 3rd set of code seems the same? (but I might be having a blond day)
Find:
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDER_EDIT, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete', 'NONSSL') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
Replace With:
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDER_EDIT, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete', 'NONSSL') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
My apologies if I've missed something….
Many thanks
Sams
Hello Ivan, just installed your add-on, thanks, but I have this problem.
With the orders.php modified as per instruction, I have no "delete order" button.
If I put back the original orders.php file, your addon will work on adding customers, and creating new orders, but not on editing orders.
Looking for an answer, regards.
@Sams and Primus
Please use a file compare software, and compare original admin/orders.php and my modification/orders.php
i forgot to update the instruction file.
I'm so sorry.
I will update it soon.
Hello Ivan, just installed your add-on, thanks, but I have this problem.
With the orders.php modified as per instruction, I have no "delete order" button.
If I put back the original orders.php file, your addon will work on adding customers, and creating new orders, but not on editing orders.
Looking for an answer, regards.
@Sams and Primus
Please use a file compare software, and compare original admin/orders.php and my modification/orders.php
i forgot to update the instruction file.
I'm so sorry.
I will update it soon.
Thanks Ivan!
I can see the correct info by doing the file comparing as you suggested.
One more question – the admin/edit_orders file – I have the 'Edit Orders' module installed – and when I compared (your) file with the orig file, there are dozens of differences – If I install your 'all in one' program, can I safely use your edit_orders file and overwrite the old one?
Many thanks
Sams
I only add auto calculation shipping module and resend invoice.
You can use my edit_orders file, but make sure you backup your old one first.
Cheers.
Thanks Ivan!
I can see the correct info by doing the file comparing as you suggested.
One more question – the admin/edit_orders file – I have the 'Edit Orders' module installed – and when I compared (your) file with the orig file, there are dozens of differences – If I install your 'all in one' program, can I safely use your edit_orders file and overwrite the old one?
Many thanks
Sams
I only add auto calculation shipping module and resend invoice.
You can use my edit_orders file, but make sure you backup your old one first.
Cheers.
Ivan, I am new to zen cart but would like to use your plugin. I will be uploading to the modifications folder. But, What is the full path to the modifications folder? store_name?
@cwill78295: it mean full path to your zencart installation folder
Ivan, I am new to zen cart but would like to use your plugin. I will be uploading to the modifications folder. But, What is the full path to the modifications folder? \store_name?
@cwill78295: it mean full path to your zencart installation folder
Ivan, I have installed your add on to my existing running store but I am getting the following error when I try to create a new order. Can you advise where I have gone wrong
Thanks in advance.
Ivan, I have installed your add on to my existing running store but I am getting the following error when I try to create a new order. Can you advise where I have gone wrong
Thanks in advance.
Sorry Ivan, didn't add the error
1109 Unknown table 'customers' in where clause
in:
[SELECT `customers_firstname` , `customers_lastname` , `customers_email_address` , `customers_telephone`, `entry_company` , `entry_street_address` , `entry_suburb` , `entry_postcode` , `entry_city` , `entry_state` , `entry_country_id` , `entry_zone_id` FROM zen_customers JOIN zen_address_book ON ( `customers_default_address_id` = `address_book_id` ) WHERE `customers`.`customers_id` = 240]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Hi Chris,
Please download the one from this site.
Thanks.
Sorry Ivan, didn't add the error
1109 Unknown table 'customers' in where clause
in:
[SELECT `customers_firstname` , `customers_lastname` , `customers_email_address` , `customers_telephone`, `entry_company` , `entry_street_address` , `entry_suburb` , `entry_postcode` , `entry_city` , `entry_state` , `entry_country_id` , `entry_zone_id` FROM zen_customers JOIN zen_address_book ON ( `customers_default_address_id` = `address_book_id` ) WHERE `customers`.`customers_id` = 240]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Hi Chris,
Please download the one from this site.
Thanks.
Thanks Ivan!
This tool is very powerful!
I lost a order in my zen cart orders, it's very usefully!
Thanks Ivan!
This tool is very powerful!
I lost a order in my zen cart orders, it's very usefully!
Hi Ivan,
Great add-on!! everything seems to be working except I can't seem to delete any orders?
What does this code do?
case 'deleteconfirm':
// demo active test
if (zen_admin_demo()) {
$_GET['action']= '';
$messageStack->add_session(ERROR_ADMIN_DEMO, 'caution');
zen_redirect(zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')), 'NONSSL'));
}
$oID = zen_db_prepare_input($_GET['oID']);
zen_remove_order($oID, $_POST['restock']);
zen_redirect(zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')), 'NONSSL'));
break;
why the reference to zen_admin_demo()???
Thanks in advance for all your hard work and effort!!!
Lyle
Hi Lyle,
Please update your orders.php.
You can download from my blog, i fixed it.
Hi Ivan,
Great add-on!! everything seems to be working except I can't seem to delete any orders?
What does this code do?
case 'deleteconfirm':
// demo active test
if (zen_admin_demo()) {
$_GET['action']= '';
$messageStack->add_session(ERROR_ADMIN_DEMO, 'caution');
zen_redirect(zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')), 'NONSSL'));
}
$oID = zen_db_prepare_input($_GET['oID']);
zen_remove_order($oID, $_POST['restock']);
zen_redirect(zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')), 'NONSSL'));
break;
why the reference to zen_admin_demo()???
Thanks in advance for all your hard work and effort!!!
Lyle
Hi Lyle,
Please update your orders.php.
You can download from my blog, i fixed it.
Hello. I am unable to delete orders after installing this mod. I went through the instructions and I believe I've made all the required changes correctly. I'm using file coparison software to see the differences between the orders.php file, but i confess I am lost as to where the issue lies. Looking at the past threads it looks like there is an update to the order.php file on a blog, but I do not know where it it. I can't seem to find it. I am using 1.3.9c. Can anyone help? Thanks!
Hi Nate,
Please update your orders.php.
You can download from my blog. thanks.
Hello. I am unable to delete orders after installing this mod. I went through the instructions and I believe I've made all the required changes correctly. I'm using file coparison software to see the differences between the orders.php file, but i confess I am lost as to where the issue lies. Looking at the past threads it looks like there is an update to the order.php file on a blog, but I do not know where it it. I can't seem to find it. I am using 1.3.9c. Can anyone help? Thanks!
Hi Nate,
Please update your orders.php.
You can download from my blog. thanks.
i was just starting to test the system out but for some reason it doesn't like my countries postal code it gives it and error when adding a customer. i'm assuming there are rules set for the add customer form could you pint me in the right direction thank you
i was just starting to test the system out but for some reason it doesn't like my countries postal code it gives it and error when adding a customer. i'm assuming there are rules set for the add customer form could you pint me in the right direction thank you
Our orders.php has been patched to work with php 5.3. Will using your replacement break our patched file? We have not yet installed the “Simple Create Order” module.
Is this issue fixed now? 🙂
Please use file compare and merge your orders.php and my orders.php
I think that case is came from the fedex and usps compatibility with your postal code. what is your postal code?
Use file comparer to compare my files and your orders.php.
And merge them.
Thanks
Hi Magnus, i'm afraid not.
Zencart 2.0 will release soon.
I'm wonder if this feature available on the new zencart or not.
Thanks
Ivan,
We're having trouble with our shopping cart's shipping estimator. As soon as we finished installing this module, the shipping estimator quit working. We donated $5, and would be happy to donate another $5 if you could help us fix it.
Thanks,
Preston Mitchell
Berridge Farms
Hi Preston,
What is your shipping estimator?
i'm using usps and fedex.
Please checek your shipping module configuration from the admin.
Hi Ivan, I am having the issue of not being able to delete orders, which I see that you've addressed by telling people to download the new orders.php file from your blog. firstly, this is your blog, no? I can't find the updated version of this file anywhere. I just downloaded the mod today from this page… so where EXACTLY can I find the new orders.php file?
Thank you!
Did you download the one from this blog?
Yes, I downloaded at the “Download” button linked above. The modifications orders.php file did not resolve my problem of not being able to delete.
Thanks!
I love your post, thank you for sharing.
Hi,
I'm trying out this mod and I have a problem with the tax, it shows the product price net of text, and it shows the tax rate in the tax box but it does not add the tax rate to the total? I dont have any tax mods switched on, only the standard Zen cart tax. Any idea waht I need to do to get it to show the total including tax?
Regards
Breda
Same issue here. I have tried everything but cannot delete orders
HI Breda,
For the tax you need to add it manually and calculate it manually too,
Thanks
i wonder what is wrong with the delete order. because i fixed it long time ago.
But i will find what cause it.
Thanks.
For those who have problem with cannot delete the order.
Please download the latest patch from this post.
Just press download, and overwrite the order.php from modifications > admin > orders.php
or see around line 849 and 851 for the fixes.
Thanks.
Hey there, Was looking for opportunity to post here as it beats phoning! My group is extremely astounded by the actual contribution additional webmasters are making on your site and hope to chip in in addition any time i can. I agree with the particular preceding commentor and anticipate to check back now and again.
Hey there Ivan. We’ve installed the module on our websites – it is a really great module. However, I’ve noticed a big problem for us. When I input the delivery address, it does not appear on the online invoice and the invoice print off which will cause a massive problem with our delivery company. Is there an easy solution?
Thanks so much,
Dan Jones
Hi, I was wondering if you can create a search for product box in the add product page instead of step1 2 etc?
Thanks
Love the mod by the way!
To add that functionality for now is not an easy fix.
Because that's structure from the edit_orders module.
I have to rewrite that module to do so.
I run Zen Cart 1.3.9f but had need of this functionality, so with great trepadation (and after backing everything up) I installed it. It let me create a customer and an order, but it pulled in the regular price rather than the discounted price. It also won't let me delete my old test orders, though it does let me reset all their money amounts to 0 so my reports will be accurate as far as showing profits goes. Do you plan to update this for Zen Cart 1.3.9?
P.S. I did upload the files in modifications/admin after already uploading the ones in admin.
Hi Motterj,
For cannot delete order bugs have been fixed. Please download the one from this article.
And for discounted price, i don't add that feature.
But you can add discount at the order total and put '-' (minus sign), for example:
disc 10% -320
it will calculate when you press save. Thanks.
Hello, I downloaded this module from here and folled the installation instructions. I can enter new orders and edit current orders however for downloaded products an entry isn't create in the orders_download table for cutomers to receive the email link. Is there an easy fix for this? Thanks
Hi Ivan, thanks for creating this module, it's exactly what I need for my Zen Cart site (1.3.9f). I'm having an issue and was hoping you might provide some insight. I've uploaded all new files and modified all core files properly (and double checked). I can MANUALLY enter product info, pricing, tax, etc. and it seems to work fine as seen here:
http://www.antioxidantcure.com/images/add_order_1.jpg
When i hit the "Add Products" button, though, it lets me add a product from my catalog just fine…but when i get back to the main order entry screen, everything below the "Resend Invoice" button disappears! (there is no longer Comments, Status, Append Comments, or Update button) As seen here:
http://www.antioxidantcure.com/images/add_order_2.jpg
Can you help?
This plugin is tested on zencart v.1.3.8.
haven't tried for 1.3.9f.
But i will take a look.
Dear Friend,
Have you included necessary changes for "Fixed Cannot Delete Order" in the file available for download?
I took it and still I'm unable to delete my orders. I'm using 1.3.9b
Hi Ivan,
Further,
Since I have not made any other modifications to my admin/orders.php, I have just overwritten the file (orders.php) from your downloaded file.
Here is the 849th line;
$contents[] = array('align' => 'center', 'text' => '<br />' . zen_image_submit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id, 'NONSSL') . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
I do not use the orders.php that comes with this contribution.. Instead, follow the directions in the Edit Orders readme for the correct modifications that need to be made to orders.php and that will resolve this issue.
For cannot delete orders, i patched a while ago. please download it in this blog.
Understood.. However, I tried this file from your download here on your blog on v1.3.9h.. The edits in the orders.php in your package seem different.. and it didn't work for me either.. However, following the directions for editing orders.php in the Edit Orders readme did fix this problem..
Hey Kevin thought I'd share my experience with this mod.. This mod is using a much older and buggier version of Edit Orders so I decided to upgrade to Edit Orders 2.03. I made a few modifications to Edit Orders to use the same comments code as the latest version of Zen Cart (1.3.9) along with a few other minor cosmetic/functional updates to Edit Orders.
Next I verified that this add-on was using the latest version of Add Customers.
Lastly if you downloaded this add-on from the Zen Cart downloads section, please note that there are two errors in the submitted files that need to be corrected. In /admin/create_orders.php look at line 42. It will say:
Code:
WHERE `customers`.`customers_id` = ".$customer_id;
Change it so it now says:
Code:
WHERE ".TABLE_CUSTOMERS." . `customers_id` = ".$customer_id;
The reason that everyone is having issues with the delete NOT working is that the code in the orders.php file is wrong. Follow the instructions for editing the orders.php file that comes with Edit Orders and that should resolve this issue..
One last thing.. There is an issue with a missing function. I resolved it by creating a new extra functions file: Solution is posted here: http://www.zen-cart.com/forum/showpost.php?p=952585&postcount=19
All of the changes I posted have gotten this add-on working fairly smoothly.. I like the fact that it while it uses Edit Orders to create the order, the module is apparently not being bound to any SPECIFIC version of Edit Orders..
The last thing I need to do is to check for PHP 5.3 comparability..
Thank you very much, DivaVocals…I will download the Edit Orders mod and make the change you suggested…I'll let you know how it turns out…this mod will be very important for my business so thanks again! 🙂
So I'm still testing this.. Now that I've compared the version of this mod available here with the latest version of Edit Orders (v2.03) I'm going to see if I can figure out how to get this to work fully with the latest version of edit orders.. While I can create orders with the latest version of Edit Orders, what is missing is the ability to send an order confirmation e-mail to a customer and the shipping estimate data..<br><br>Also I noticed that regardless of which version of Edit Orders I use (the modified one that comes with this module or the latest version) the customer's street address comes through on the order without the state information. Very curious as I cannot see what in the code would cause this behavior..
So I've gotten the Create Orders add-on working with the latest version of Edit Orders.. Details of this can be found here: http://www.zen-cart.com/forum/showpost.php?p=954773&postcount=28<br><br>In the process of testing both versions, I've discovered some behavior that occurs using both the package I put together (with Edit Orders v2.03) and the package available here on Ivan's site. (which uses Edit Orders v 1.53)<br><br>Occasionally clicking the "Re-Send Invoice" button and then clicking "Ok" on the confirmation popup window results in the Edit Orders page going blank.. It's like the re-display of the Edit Orders page is blocked after resending the invoice. Here are some examples of the various steps I took when this issue occurs:<br><br>~ Create Order<br>~ Select Existing Customer<br>~ Add Product<br>~ Send Update E-Mail (this is where the page goes blank)<br><br>~ Create Order<br>~ Add New Customer<br>~ Create Order<br>~ Select New Customer<br>~ Add Product<br>~ Send Update E-Mail (this is where the page goes blank)<br><br>~ Edit Order<br>~ Add Product<br>~ Update<br>~ Send Update E-Mail (this is where the page goes blank)<br><br>~ Edit Order<br>~ Add Product<br>~ Update<br>~ Send Update E-Mail<br>~ Send Update E-Mail (this is where the page goes blank)<br><br>~ Edit Order<br>~ Add Product<br>~ Send Update E-Mail<br>~ Add Product<br>~ Send Update E-Mail (this is where the page goes blank)<br><br>Again I have tested this both with the version of the add-on available here on this site and with the version I updated which uses the latest version of Edit Orders..<br><br>The issue is that I cannot consistently re-create this to establish a pattern of when it occurs.. Repeating some of the same steps I took when I saw this error occur do not always result in the same behavior..<br><br>Very strange indeed..
So I'm done with my testing, and have gotten this working with Edit Orders v 2.03. Details here:
http://www.zen-cart.com/forum/showpost.php?p=954773&postcount=28
I am using zencart 1.3.8 and i have two problems.
1. there is not remove free shipping. actually i dn't want to that.
2. when i add product then shipping zone not change. if i increase weight but there is only one shipping shows me like Shipping to GB (1 x 3.00lb(s)) and Best Way is Rs.0.00 actully this all amount shows when i m order as customer from website.
i just overwrite admin folder to my zen cart 1.3.8 and also overwrite general.php and orders.php from modification folder.
is this correct or i do something wrong. please tell me.
Thanks a lot for create this module.
Thanks
Paresh
Well for shipping isssue. I have make a default "free shipping" as default shipping option because every system have a different shipping system. So i just add free shipping as default and later you can edit it manually.
i suggest you to use file compare and merge my code instead of overwriting.
Except what he is speaking of the fact that this default entry shows on the order list as well as the order details.. If you edit the order to change the shipping method, the order details and invoices, and packingslips all show the NEW shipper.. However the order list still shows "Free Shipper" in the shipping method column.. and you CANNOT modify this..
I finally located a MAJOR issue I have been having in regards to Zone Definitions, to your mod. When one edits the /functions/general.php as the readme states, it prevents the Country and State dropdowns from showing options in the Zones Definitions area.
Because of this, zone settings do not work, flat rate shipping does not work, etc.. :[
Ahhhhhh.. When you posted this issue in the Zen Cart forum, (I assume this is khopek from the Zen forums.. 🙂 ) I realized that this is the likely reason why the shipping tables do not display correctly..
After I installed this mod I tried to use other functions of my admin panel and it redirected me to the log in, screen. Any ideas or suggestions for files to look at?
Hi Ivan, nice module! I have it installed ok, but running into a small problem. When trying to add an order, and adding a product, if the product has attributes such as Checkbox, or Text field, they show up as dropdown options in your module. Any quick way to fix this? Thanks, Curt
Hi there,
I had this mod installed just fine fully working and all. But now for some reason I get this error when I've added a customer and am trying to create an order for this particular customer..
this is the error:
Server error
The website encountered an error while retrieving http://www.MY-WEBDOMAIN.co.uk/ADMIN/create_order.php?action=create_order. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this web page later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
I need some help on what to do as I need our phone orders on the system. Thanks
HTTP Error 500 is because there is a problem with your web server. I cannot investigate it unless i have access to your system and read the log.
Is the minimum version needed 1.3.8? Will this work on 1.3.7 (yes I know that's old and should be upgraded, but that's what the client is on right now)?
hi while am trying to create order 'ADD PRODUCT'—> it redirects to admin index page, what is the prob… am using 1.3.9
I would love to use this mod and make it work. I have zen cart 1.39h. Everything seems to work ok but when i go to add a product under create order it directs me back to the admin home page. I have merged you code with my core files using win merge and have double checked everything but i can not fix it. PLLLLLZZZ… help me
@d6dc85d7d1725c4c600d1b5b531f310b:disqus @fbeece57e4dbe17f23bbe3630bf2d8bf:disqus It's been a while i haven't play with zencart anymore. THis plugin is unsupported anymore. Please follow the instructions from @DivaVocals:disqus at the comment below.
Hi Ivan,
This is an amazing module which I used for 1.3.8 but now we have upgraded to 1.3.9 and I am having problems with it. Several bugs prevent me from editing an existing order, adding shipping or tax or deleting a product, etc. Any feedback? We would really appreciate it!
Hello Ivan,
I would be more than willing to pay a donation to get you to edit/update for zencart 1.3.9h
@DustinShayBurson I'm so sorry. i have decided to abandon this project. but you can look at the comment or the forum for more updates. i'm still waiting for zen cart team to update to v2.0 then i shall continue this project.