patrmich Posted February 3, 2016 Share Posted February 3, 2016 Hi,My shop is built with Prestashop 1.5.6.In Control panel > Orders > Orders :I can select an order and amend a few things related to this order (such as adding or deleting one product).But, there is no way of editing the order Reference.How would it be possible to edit one order Reference ?I found modules which are able to modify the rule used to create the order Reference.But my goal is not to modify such rule.I would like to have the possibility of changing the order reference just for some orders, one by one.I thank you in advance for any suggestion.Patrick Link to comment Share on other sites More sharing options...
NemoPS Posted February 3, 2016 Share Posted February 3, 2016 You'd have to add a new editable field in form.tpl admin folder themes\default\template\controllers\ordersThen edit the AdminOrdersController's postProcess, add a rule concerning your new form with the reference field, and have it save there Link to comment Share on other sites More sharing options...
patrmich Posted February 3, 2016 Author Share Posted February 3, 2016 Hi, Thank you Nemo1 for your prompt reply. But, as I am not a developer, could you be so kind to give me more details of what amendements have to be made in the two here below files : /themes/default/template/controllers/orders/form.tpl /controllers/admin/AdminOrdersController.php Sorry to not being able to do it myself. Thank you again if you have time enough for more details, Patrick Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now