NEW! Complete Order Editing Tool!
#41
Posted 08 August 2003, 21:05
- Jonathan
http://www.oscommerce.com/community/contributions,1435
#42
Posted 08 August 2003, 21:08
Thanks in advance
#43
Posted 08 August 2003, 21:21
- Jonathan
http://www.oscommerce.com/community/contributions,1435
#44
Posted 08 August 2003, 22:32
Version 1.2
- Updated instructions and added some more recommendations.
- Corrected the bug in which the "Billing Address" fields would update the "Customer" fields.
- Added separate "Billing Address" fields, along with compatibility for osC 2.1 (which didn't have separate billing address info)
- Added "Company" and "Suburb" fields to each address section to make them "complete."
- Added ability to add auto-calculated "Tax" entry to the order total.
- Added option for taxing shipping via a variable near the top of the script.
- First (and hopefully last) fix for currency formatting. It used to only calculate using U.S. dollars (how ethno-centric of me...).
- Some additional, but minor bug fixes and corrections.
Feedback, comments, requests, bug reports, etc... are more than welcome.
- Jonathan
http://www.oscommerce.com/community/contributions,1435
#45
Posted 08 August 2003, 22:59
I got this at first attempt at using 1.2:
1064 - You have an error in your SQL syntax near 'comments = '' where orders_id = '100235'' at line 29
#46
Posted 08 August 2003, 23:14
Are you using osC 2.1 by any chance?
Open the file in notepad or your editor, and go to line 124, which should begin with: orders_status = ......
Delete the comma near the end, go down to line 128 (should start with $UpdateOrders), and add the comma right after the first quote and before the word "comments", so it looks like:
$UpdateOrders .= ", comments = '" . tep_db_input($comments) . "'";
Save and upload the file and see if that works. If so, let me know and I'll upload a "1.2b" version with that compatibility fix.
- Jonathan
http://www.oscommerce.com/community/contributions,1435
#47
Posted 08 August 2003, 23:17
Open up the edit_orders.php file and replace all instances of:
(int)$oID
with:
$oID
I probably won't make this a permanent fix. The osC crew put the (int) cast function in there for a reason, so I'll leave it in there, but add instructions to future versions on how to fix the above problem.
- Jonathan
http://www.oscommerce.com/community/contributions,1435
#48
Posted 09 August 2003, 00:22
Quote
Are you using osC 2.1 by any chance?
Open the file in notepad or your editor, and go to line 124, which should begin with: orders_status = ......
Delete the comma near the end, go down to line 128 (should start with $UpdateOrders), and add the comma right after the first quote and before the word "comments", so it looks like:
$UpdateOrders .= ", comments = '" . tep_db_input($comments) . "'";
Save and upload the file and see if that works. If so, let me know and I'll upload a "1.2b" version with that compatibility fix.
- Jonathan
Yep, that solved it.
I am now trying to find a way to make this intigrate with P&G Shipping Mod, as I think quite a number of people use it, but this update tool doesnt work with it. The details are not carried forward to the spg_invoice page etc...
#49
Posted 09 August 2003, 06:41
few bugs @ tax, hope i can explain it with my english....
-) when you click on "edit" you see the product price without tax, but the shipping price is with tax, what happend is that you add the tax twice to the shipping costs!
-) i think nearly everyone in austria/germany uses the "cod_fee_calculation" mod, so there is a extra line for the cod fee added. Same thing for this, you have to add tax to this fee! (This fee is also displayed with tax at the edit screen, but there is nothing added).
What i mean is when you look at the edit module:
Product-Price (w.o. tax)
Shipping (w.o.tax, no it is displayed with tax)
C.O.D Fee (same like shipping)
-----------
Tax
---------
Sum
Added a Screenshot H E R E
Zwischensumme = Sub Total
Versandkosten = Shipping
Nachnahmegebühr = COD Fee
Mehrwertsteuer = Tax
Thx in advance, great mod!
#50
Posted 09 August 2003, 06:44
wouldnt it be possible to add the tax for every line above the "tax line" ? Because when i deduct a discount the tax is still the same!
#51
Posted 09 August 2003, 07:08
would be great if you implement this "flags" mod!
#52
Posted 09 August 2003, 08:37
Quote
few bugs @ tax, hope i can explain it with my english....
-) when you click on "edit" you see the product price without tax, but the shipping price is with tax, what happend is that you add the tax twice to the shipping costs!
-) i think nearly everyone in austria/germany uses the "cod_fee_calculation" mod, so there is a extra line for the cod fee added. Same thing for this, you have to add tax to this fee! (This fee is also displayed with tax at the edit screen, but there is nothing added).
What i mean is when you look at the edit module:
Product-Price (w.o. tax)
Shipping (w.o.tax, no it is displayed with tax)
C.O.D Fee (same like shipping)
-----------
Tax
---------
Sum
Added a Screenshot H E R E
Zwischensumme = Sub Total
Versandkosten = Shipping
Nachnahmegebühr = COD Fee
Mehrwertsteuer = Tax
Thx in advance, great mod!
Hmmm...
I dont follow you there, this is not how it is working for me.
Are you running your store to display prices inc Tax?
All my prices in the edit module are displayed without tax, and then calculated with tax on updating.
#53
Posted 09 August 2003, 09:17
first of all... Thanks for the fast programming of a new release.
Now I have some wishes
1. :? Is it possible to have a searching for products during you add new products. I have alot of products and it's not very easy to finde them in the dropdownboxes. A search after 'products_name' or better also after 'products_model'
2. :shock: Would be nice to have the possibility to have the functions from edit order status also in edit orders. Not only showing the information.
3. :?: Why you have bild the Adresstables one below the other ?
The release bevore they were side by side. That lokked better.
#54
Posted 09 August 2003, 10:25
Quote
I dont follow you there, this is not how it is working for me.
Are you running your store to display prices inc Tax?
All my prices in the edit module are displayed without tax, and then calculated with tax on updating.
yes, my prices are displayed with tax. litte bit a mess with the tax
- ) when i push the "edit" button, the article price is displayed without tax, the sub-sum with tax. then, when i push the "refresh" button without changing anything, the sub-sum is displayed without tax.
the shipping costs and cod fees are displayed with tax every time, and the shipping cost tax is added twice.. :S
#55
Posted 09 August 2003, 10:33
Quote
The release bevore they were side by side. That lokked better.
The last release only had 2 address sections for alteration.
This has one for seperate Invoicing Address, Delievery Address and Billing Address. You wont fit all 3 side by side.
Just alter it though if you need to.
Set the back alongside if thats how you prefer it.
#56
Posted 09 August 2003, 18:04
We need the ability to manually create orders for customers. When they call by phone and give us their credit card info and the items they want, I want to be able to enter that into my store.
Thanks for any info
#57
Posted 09 August 2003, 18:13
Any chance you can make a contribution for that screen shot of the Orders.php you created.
Some of that information could be very nice to see at a glance.
#58
Posted 09 August 2003, 20:06
Quote
We need the ability to manually create orders for customers. When they call by phone and give us their credit card info and the items they want, I want to be able to enter that into my store.
Thanks for any info
have you tried the manual order entry module contrib?
Hope there is a way for fixing the tax issues on your contrib so that all sums are displayed without tax and then all additional lines created are calculated with the tax
#59
Posted 09 August 2003, 20:30
#60
Posted 10 August 2003, 10:22














