antoniobenthos Posted June 26, 2020 Share Posted June 26, 2020 Got a last minute call today, a customer wanted to add another product to his order, and because he choose COD as a payment method, we can do it. But I cannot find the way... It also can happen that after a customer places an order, we get information from our supplier that the product is not available (we do not stock in our shop, is kinda dropshipping). I cannot find anyway to do it from the basic Prestashop Back Office. TIA Link to comment Share on other sites More sharing options...
Guest Posted June 26, 2020 Share Posted June 26, 2020 I don't understand your question. Orders are changed in the order detail administration. When it is not in stock, you change the status of the order to be out of stock. Link to comment Share on other sites More sharing options...
antoniobenthos Posted June 27, 2020 Author Share Posted June 27, 2020 The case was that a customer ordered 1 kg of banana, but then he wanted to modify his order and he decided to call us. Because he couldn't do it from his user interface. So we said "ok, no problem". But we saw that there is no option to change the amount of bananas once the order is placed. You said from the order detail administration, where exactly? About the stock I know. But we sell third party products, we deal with 40 different suppliers every day, and more than 200 products. It didn't happen yet, but I know it will. One day the same client will order bananas and by the time the fruit order from the whole seller will arrive, it will be no bananas without previous notice. So we have to be able to modify the order and drop the amount to zero. Basically, I want to access the orders and modify them as I want, in case I need to. Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2020 Share Posted June 27, 2020 Did you think that it is not possible to set 0 in the order detail? Order detail Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2020 Share Posted June 27, 2020 Open ./js/admin/orders.js 1. find if ($(this).closest('tr.product-line-row').find('td .edit_product_quantity').val() <= 0) replace to: if ($(this).closest('tr.product-line-row').find('td .edit_product_quantity').val() <= -1) 2. find if ($(this).closest('tr.product-line-row').find('td .edit_product_price').val() <= 0) replace to: if ($(this).closest('tr.product-line-row').find('td .edit_product_price').val() <= -1) 3. save orders.js 4. refresh order detail page 5. change product quantity = 0 6. click update button 7. done Link to comment Share on other sites More sharing options...
antoniobenthos Posted June 27, 2020 Author Share Posted June 27, 2020 Ey D.Tengler. First of all, many thanks for your help. Which PS version are you using? I cannot access that screen where you modify an order, look how mine looks from the back office: HRE There is no option for me to modify anything from there Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2020 Share Posted June 27, 2020 Prestashop 1.7. You did not write what version of Prestashop you have. Link to comment Share on other sites More sharing options...
antoniobenthos Posted June 27, 2020 Author Share Posted June 27, 2020 1.7.6.5 Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2020 Share Posted June 27, 2020 Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2020 Share Posted June 27, 2020 You definitely have a modified administration template. Link to comment Share on other sites More sharing options...
antoniobenthos Posted June 27, 2020 Author Share Posted June 27, 2020 I see what is happeninig. Most of my orders choose COD as a payment method. We are doing local groceries delivery. If that option is choosen the order is closed and cannot be modified, don know why. But if the client chooses bank transfer then is ok I can do those changes, like in your screenshots Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2020 Share Posted June 27, 2020 Ah, this will need to modify the COD module so that it does not mark the order as completed. Just create a new order status and change the status in the order detail. Then it will be possible to change the order. Link to comment Share on other sites More sharing options...
antoniobenthos Posted June 27, 2020 Author Share Posted June 27, 2020 No, it doesn't. I tried several options of status and still not accepting changes. It probably needs to access the COD module to modify that. I guess, the only solution from now will be to cancel the order and make a new one from the Back Ofiice with the modifications. Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2020 Share Posted June 27, 2020 What order status is set for COD? Take a look at the status of your orders and find out what's checked. Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2020 Share Posted June 27, 2020 Settings> Orders> Order statuses Link to comment Share on other sites More sharing options...
antoniobenthos Posted June 28, 2020 Author Share Posted June 28, 2020 That was quite helpful Guest. Thank you very much! Now we can modify amounts up and down, until zero... But now I give you a small challenge... What about if the client changes his mind and wants to add 1 more product to the order? Link to comment Share on other sites More sharing options...
musicmaster Posted July 2, 2020 Share Posted July 2, 2020 You can also use Prestools. It has an option for order editing. 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