Jump to content

Recommended Posts

  • 2 months later...
  • 1 month later...

One hint: The button "#add_product" in back office 1.6. is removed when the product is delivered.

 

Unfortunately, the whole history of order states is considered (class Order, function hasBeenDelivered)

So resetting the state to "in preparation" doesn't help, e.g.when some co-worker made a mistake, or if you are willing to send another parcel for the same order). That should be changed in PS, I think.

 

The easiest modification would be just show the button anyway

(edit: "admin-folder"/themes/default/template/controllers/orders/helpers/view/view.tpl)

 

But I don't know about the side effects for the rest of the administration...

Edited by wildrow (see edit history)
Link to comment
Share on other sites

Another hack if you are not a programmer and you need to modify just one order could be: Adjust all the states involved with this command temporarily, so that they don't hold the flag "delivered". Then edit that order (the button should be available) and undo the changes with the states.

 

I didn't try that, but I manipulated the history for that order in my database, and that brought the add_products button back.

Edited by wildrow (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...