Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

Vous parlez français ? par ici !
[MODULE] Free Script to edit orders
#1
Posted 24 February 2010 - 09:11 AM
I have not written a module because I can not do it, I hope someone take my example and write a PrestaShop module.
** Feature **
- add products into order;
- edit order products quantity, price and description;
- edit order cost of shipping and discount;
test it before using it!
Bye
to download the last version visit http://ad.atomicshop...?pop=prestashop
#2
Posted 24 February 2010 - 09:21 PM
Thanks.
#3
Posted 24 February 2010 - 09:56 PM
Also when i call the add_product.php fromout the url directly.
#4
Posted 25 February 2010 - 12:29 AM
delete this
if ( is_null($_SESSION['token']) ) die('Access Denied');
attach the correct files
#5
Posted 25 February 2010 - 09:24 AM
Only when adding a product, the same product appears in every language. could that be filtered to one?
Also what would has to be changed to update the description as well of the product.
Reason for this is that we are selling erotic goods, and if we send it outside the eu, we do not want erotic description of the product, so we digg into the db and change the lines.
the script may also be a good base to update stock easily, search product and enter the qty received. ?
#6
Posted 25 February 2010 - 10:25 AM
#7
Posted 25 February 2010 - 11:26 AM
Marco
#8
Posted 25 February 2010 - 08:30 PM
There is only one problem and that is that I do not get an id_lang from the add_product.php. My url looks like: order_edit.php?action=add_product&id;_lang=&id_order=000002&id_product=5 and this gives an error when adding a product.
Am I doing something wrong?
#9
Posted 26 February 2010 - 09:25 AM
that correct?
thanks!
#10
Posted 26 February 2010 - 09:33 AM
Bye
#11
Posted 26 February 2010 - 09:35 AM
Could someone create module(or edit AdminOrders) based on this script?
#12
Posted 26 February 2010 - 10:11 AM
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in Z:\home\site.ru\www\law\order_edit.php on line 45
Thank you!
Maybe because I use the Cyrillic alphabet?
#13
Posted 26 February 2010 - 10:14 AM
From 1267173345:
Could someone create module(or edit AdminOrders) based on this script?
Just make a quick access link ;-)
Back Office >> Tools >> Quick Accesses
Works faster then going into the modules page.
#14
Posted 26 February 2010 - 11:18 AM
When I manually set id_lang to a certain value it works.
#15
Posted 26 February 2010 - 11:22 AM
#17
Posted 27 February 2010 - 09:26 AM
#19
Posted 27 February 2010 - 09:55 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users













