• Resolved Fran

    (@franfal)


    Hi there,

    I would like to be able to drag and drop the items in the list on the order page (in the backoffice).

    Just as products can be ordered by drag and drop, I want to be able to do the same on the admin order page.

    I think adding by code the ui-sortable class to the table (with this id “order_line_items”) with the items, should work….

    Do you know if this is possible?

Viewing 1 replies (of 1 total)
  • Hi @franfal,

    That is a great question. It isn’t possible to add that class to the table to drag and drop the order items to change their order. Even with applying the JavaScript to allow you to drag and drop them, the changes wouldn’t be saved when you updated the order.

    The only options to change the sorting of products in an order are to click the headings at the top of the order items table. That will let you sort them based on name, cost, quantity, and total. That sorting is also temporary. If you update the order or navigate away it will be reset the next time you edit it.

    Take care

Viewing 1 replies (of 1 total)
  • The topic ‘sorteable by drag and drop the list of product items in a woocommerce order’ is closed to new replies.