I've made this script because there are no good modules to edit order
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
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
The qty edit works ok with me, but when i want to add a product i get an: Access Denied.
Also when i call the add_product.php fromout the url directly.
Also when i call the add_product.php fromout the url directly.
open add_product.php
delete this
delete this
if ( is_null($_SESSION['token']) ) die('Access Denied');
attach the correct files
Now it works, thanks!
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. ?
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. ?
I have tried the script and this seems to be what I am missing in Prestashop!
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?
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?
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
that correct?
thanks!
that correct?
thanks!
great script .. thank you.
Could someone create module(or edit AdminOrders) based on this script?
Could someone create module(or edit AdminOrders) based on this script?
Můj obchod sexy kostýmky na party a karneval
Download the new archive. error is the same:)
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?
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?
From 1267173345:
great script .. thank you.
Could someone create module(or edit AdminOrders) based on this script?
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.
I tried it and I am also getting the same error. The id_lang is missing from the add_product.php page. The link to add a new product looks as follows: order_edit.php?action=add_product&id;_lang=&id_order=000002&id_product=8
When I manually set id_lang to a certain value it works.
When I manually set id_lang to a certain value it works.




Back to top










