Contributions
AJAX Orders Editor
hello world,
The Order Editor is a great contrib, very usefull, but I get tired of everytime I had to install it having to modified it in order to work properly.
So I've decided to make my own, using AJAX technology.
With this contrib, you can edit almost everything of your client's orders directly from the orders.php screen. Change name, addresses, telefone, email, adding products, delete them, change price, ...
Very efective, quick and powerfull.
Hope you like it.
Hola,
Esta contribucion permite editar todas las informacion de los pedidos de vuestros clientes directamente desde la pantalla del pedido, gracias a la tecnologia AJAX. Cambiar el nombre, la direccion, telefono, mail, añadir productos, elliminarlos, ...
Espero que os guste.
Salut,
Cette contribution permet d'éditer les informations des commandes de vos clients, directement depuis l'écran de la commande (orders.php). Vous pouvez changer le nom, l'adresse, téléphone, email, rajouter des produits, en éliminer...
J'espère qu'elle vous sera utile
Expand All / Collapse All
For this excellent AJAX Orders Editor contribution, I found a small bug where add product fails when a product to be added has special characters need to be escaped in its title.
example:
Joseph's Cookies
needs to be translated to
Joseph's Cookies
.. before INSERT into database
The fix is to use the php function addslashes() on the product name so that the database insert happens correctly.
Paul Yip
Changes/Updates:
- Included the IE and PDF fixes contributed by others, described in a text file (i.e. the included files DO NOT contain these updates - they are optional but instructions are included with this full package)
- Corrected a few typos as follows
Corrections:
1. catalogadminincludesclassesorder.php
Reference Line 81 should be Line 82
The file included in the package did not have the change made specified in the install.txt file. The included file still had the original OSCommerce code. I have corrected it.
----
2. catalog/admin/includes/languages/english/orders.php
No such file included in the package, though instructions are mentioned in the install.txt file.
Added modified file to directory.
------
3. install.txt file mentions modifying file catalog/admin/includes/languages/espanol.php by modifying line 25.
This should have read catalog/admin/includes/languages/espanol/orders.php
Corrected text in install.txt.
-------
4. install.txt file mentions modifying file catalog/admin/includes/languages/french.php by modifying line 25.
This should have said catalog/admin/includes/languages/french/orders.php
Corrected text in install.txt.
No such file included in the package, though instructions are mentioned in the install.txt file.
Corrected install text which referenced incorrect file, however since I do not have a French version of this file I have not included it in this contrib.
-------
5. Corrected various other minor text problems.
If you use PDF invoice rather than the standard invoice or packing slip you will get errors. Missing arguments.
This is because the order editor adds a couple of arguments to the address function in functions - general.php.
These are not needed for the invoice and packing slip but placeholders will need to be added.
open admin - invoice.php and add to lines as detailed
find
tep_address_format(
at the end of this line after the "n") add the following ,'','' before the bracket
mine looks like this when complete
$pdf->MultiCell(70, 3.3, tep_address_format(1, $order->customer, '', '', "n",'',''),0,'L');
Do this as many times as the tep_address_format( line appears 3 in my case
same in admin - packing_slip.php
do this on each occurence of the tep_address_format
Enjoy
Steve
I ad problems adding products with IE 6 so made a little "fix" to the admin/includes/Ajax.js file
Look for line :
xmlHttp.onreadystatechange = hideAddProducts();
comment it out, then added below:
hideAddProducts();
Now it works...who knows! :P
P.s.
ALL creds to the authors...this contrib rocks!!
Thanks to oneill (form the french forum), we've been able to solve a few bugs.
- add a product in IE
- addslashes function for JS strings
Also, I've bettered the currency issue, using the OSC native function.
FULL PACKAGE
Hallo,
habe die Dateien auf "Deutsch" ergänzt. Sonst nix.
ganz einfach:
1. install.txt (original)
2. German_by_Westfale.txt (Änderungen in deutsch)
FULL PACKAGE
in this version taxes are working fine, eventually!
Also corected a compatility with php5 bug.
Everything running smooth now, at least I hope so.
Enjoy
FULL PACKAGE
Nothing to download this time, just to let you know that you can see how it's working here: http://www.youtube.com/watch?v=m27AxMhBbxQ
see you
added the stylesheet.css that wasn't in the package.
Also in this version you can add a order_total field
FULL PACKAGE
in my hurry to upload this contrib, I've forgot 2 modified files, and one step in the install.txt.
Here is the funcional FULL PACKAGE.
Sorry about that
oups, I've forgotten the install and the license.
Here they are.
FULL PACKAGE
I seems to be a great contribution, some not-so expert users however would appreciate a manual install file mentionning what has been added/changed.
Attachment is a blank file
hello world,
The Order Editor is a great contrib, very usefull, but I get tired of everytime I had to install it having to modified it in order to work properly.
So I've decided to make my own, using AJAX technology.
With this contrib, you can edit almost everything of your client's orders directly from the orders.php screen. Change name, addresses, telefone, email, adding products, delete them, change price, ...
Very efective, quick and powerfull.
Hope you like it.
Hola,
Esta contribucion permite editar todas las informacion de los pedidos de vuestros clientes directamente desde la pantalla del pedido, gracias a la tecnologia AJAX. Cambiar el nombre, la direccion, telefono, mail, añadir productos, elliminarlos, ...
Espero que os guste.
Salut,
Cette contribution permet d'éditer les informations des commandes de vos clients, directement depuis l'écran de la commande (orders.php). Vous pouvez changer le nom, l'adresse, téléphone, email, rajouter des produits, en éliminer...
J'espère qu'elle vous sera utile
Note: Contributions are used at own risk.