Jump to content

Duplicate order in the backend


mario.schillermann

Recommended Posts


 

send @ jquery-1.11.0.min.js:4

ajax @ jquery-1.11.0.min.js:4

duplicateOrder @ index.php?controller=AdminOrders&addorder&token=9d8bf3a…:1232

(anonymous) @ index.php?controller=AdminOrders&addorder&token=9d8bf3a…:1025

dispatch @ jquery-1.11.0.min.js:3

r.handle @ jquery-1.11.0.min.js:3

jquery-1.11.0.min.js:2 Uncaught TypeError: Cannot read property 'length' of undefined

    at Function.each (jquery-1.11.0.min.js:2)

    at Object.<anonymous> (index.php?controller=AdminOrders&addorder&token=9d8bf3a…:1591)

    at Function.each (jquery-1.11.0.min.js:2)

    at updateCartProducts (index.php?controller=AdminOrders&addorder&token=9d8bf3a…:1579)

    at displaySummary (index.php?controller=AdminOrders&addorder&token=9d8bf3a…:1664)

    at Object.success (index.php?controller=AdminOrders&addorder&token=9d8bf3a…:1249)

    at j (jquery-1.11.0.min.js:2)

    at Object.fireWith [as resolveWith] (jquery-1.11.0.min.js:2)

    at x (jquery-1.11.0.min.js:4)

    at XMLHttpRequest.b (jquery-1.11.0.min.js:4)

 

function updateCartProducts(products, gifts, id_address_delivery) {

  ...

  $.each(this.customized_datas[this.id_product][this.id_product_attribute][id_address_delivery], function() {

    ...

  }

  ...

}

 

In my example the id_address_delivery is 50. The address id is correct, but my object has the index number 0.

So here is the bug and problem with customize fields in the products.

 

How can i fix the problem?

post-1324719-0-40051200-1489141042_thumb.png

Edited by mario.schillermann (see edit history)
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...