Jump to content

duplicateOrder() function return nothing on adminOrders (adminCartControllers)


Recommended Posts

I upgraded prestashop from 1.5.? to 1.6.1


In admin order tab i used to copy cart from customer orders.

I tried this on 1.6 but nothing was displayed in products list when selecting an order.

sometime it work sometime it does not. it depend on order (last orders works)


In console log i can see this error :


TypeError: res is null


i searched and found an ajax function named : duplicateOrder()

it look like it return something null...


it's something like:


success: function (res) {

id_cart = res.cart.id;



and res is null...



why ?

how to fix this ?



Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...