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;
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.
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?
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.