Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 6 votes

NEW! Complete Order Editing Tool!


3242 replies to this topic

#41 jhilgeman

  • Community Member
  • 44 posts
  • Real Name:Jonathan Hilgeman

Posted 08 August 2003, 21:05

We posted at the same time, I think. See my previous comment.

- Jonathan
Download osCommerce Order Editor v1.2 Here:
http://www.oscommerce.com/community/contributions,1435

#42 chfields

  • Community Member
  • 1,272 posts
  • Real Name:Craig
  • Location:Florida,USA

Posted 08 August 2003, 21:08

I am using a mod that randomizes my order numbers. I know nothing about coding. Once I find it how do I change the code? I have to go out for a bit, be back soon.
Thanks in advance

#43 jhilgeman

  • Community Member
  • 44 posts
  • Real Name:Jonathan Hilgeman

Posted 08 August 2003, 21:21

If you'd like, send me a private message and I can help you put in the correct code.

- Jonathan
Download osCommerce Order Editor v1.2 Here:
http://www.oscommerce.com/community/contributions,1435

#44 jhilgeman

  • Community Member
  • 44 posts
  • Real Name:Jonathan Hilgeman

Posted 08 August 2003, 22:32

Okay, a bunch more fixes and additions are here. It's been a busy day for releases and patches.

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
Download osCommerce Order Editor v1.2 Here:
http://www.oscommerce.com/community/contributions,1435

#45 CC

  • Community Member
  • 1,289 posts
  • Real Name:....
  • Gender:Male
  • Location:Here \o/

Posted 08 August 2003, 22:59

Sorry I should look into this more, but I thought I would post straight away at finding this error for anyone else who experiences it.

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 jhilgeman

  • Community Member
  • 44 posts
  • Real Name:Jonathan Hilgeman

Posted 08 August 2003, 23:14

Hmmm, line 29 is a bunch of comments. However, line 129 is close to a line that refers to the comments field.

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
Download osCommerce Order Editor v1.2 Here:
http://www.oscommerce.com/community/contributions,1435

#47 jhilgeman

  • Community Member
  • 44 posts
  • Real Name:Jonathan Hilgeman

Posted 08 August 2003, 23:17

Also, for anyone who's using a mod that "randomizes" the order ID into a alphanumeric string like AZ12345, here's how to make the mod work (forum member "chfields" just tested it):

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
Download osCommerce Order Editor v1.2 Here:
http://www.oscommerce.com/community/contributions,1435

#48 CC

  • Community Member
  • 1,289 posts
  • Real Name:....
  • Gender:Male
  • Location:Here \o/

Posted 09 August 2003, 00:22

Quote

Hmmm, line 29 is a bunch of comments. However, line 129 is close to a line that refers to the comments field.

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 GFW

  • Community Member
  • 32 posts
  • Real Name:Gerhard Martin

Posted 09 August 2003, 06:41

n!ce

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 GFW

  • Community Member
  • 32 posts
  • Real Name:Gerhard Martin

Posted 09 August 2003, 06:44

another thing.

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 GFW

  • Community Member
  • 32 posts
  • Real Name:Gerhard Martin

Posted 09 August 2003, 07:08

triplepost as usual:

would be great if you implement this "flags" mod!

#52 CC

  • Community Member
  • 1,289 posts
  • Real Name:....
  • Gender:Male
  • Location:Here \o/

Posted 09 August 2003, 08:37

Quote

n!ce

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 bodyfeelings

  • Community Member
  • 71 posts
  • Real Name:Matthias F.
  • Location:Germany

Posted 09 August 2003, 09:17

Hallo,

first of all... Thanks for the fast programming of a new release.

Now I have some wishes :D :

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.
Thanks Matthias

#54 GFW

  • Community Member
  • 32 posts
  • Real Name:Gerhard Martin

Posted 09 August 2003, 10:25

Quote

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.

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 CC

  • Community Member
  • 1,289 posts
  • Real Name:....
  • Gender:Male
  • Location:Here \o/

Posted 09 August 2003, 10:33

Quote

3. :?: Why you have bild the Adresstables one below the other ?
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 cgchris99

  • Community Member
  • 802 posts
  • Real Name:Chris

Posted 09 August 2003, 18:04

Any chance you can add the ability to Create orders as well.

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 cgchris99

  • Community Member
  • 802 posts
  • Real Name:Chris

Posted 09 August 2003, 18:13

Jonathan,

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 GFW

  • Community Member
  • 32 posts
  • Real Name:Gerhard Martin

Posted 09 August 2003, 20:06

Quote

Any chance you can add the ability to Create orders as well.

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 cgchris99

  • Community Member
  • 802 posts
  • Real Name:Chris

Posted 09 August 2003, 20:30

From what I read about Manual Order entry, the installation is a pain and it installs many things not just the Manual Order Entry. I keep hoping someone comes up with a good solution.

#60 End

  • Community Member
  • 97 posts
  • Real Name:Per

Posted 10 August 2003, 10:22

Still I can´t see my products under the "Choose a product" dropdown, the products displays as a blank field.