DPDBeNeLux / magento-DPD_Shipping

Let op: er zijn nieuwe DPD plugins (BETA versie) beschikbaar met belangrijke nieuwe functionaliteiten. De oude plugins zullen na Brexit niet meer goed functioneren, download daarom de nieuwe versie op Github/DPDconnect.
11 stars 10 forks source link

Partial Shipments: Some stock with long delivery time #38

Open onepack opened 9 years ago

onepack commented 9 years ago

See case: Can't do partial shipments #11 The case is that a client sells books and some of these books take far longer to deliver than others. The way the DPD module works now is that you have to generate the partial shipping labels-pdf's at once in the DPD overview. It doesn't work the other way: generate a shipment and generate the dpd label when needed, one by one.

After generating a label DPD will send a notification to the customers that will logically be confused as we have just informed them during the order that some books will arrive later.

Is it hard to change the way labels are created so that a partial shipment can also have a generated DPD label when needed to stop/prevent confusion with customers.

Thanks in advance.

mvgucht commented 8 years ago

You could try to change it, and use the action in the controller to generate labels on demand.

lkreher commented 8 years ago

We're running into the same issue with our shop setup, when we have to deal with partial shipments because one item is out of stock. I can manually reset the flag whether labels have been created, and then process the order again, but it will generate a new label for the first shipment as well.

If there's already a solution it would be great if you could share it, otherwise I'll have to come up with something.

mvgucht commented 8 years ago

Hey,

the idea was to have an extra button in the order to generate labels at will. But I can't find the time to implement it.

The generate label and complete action is defined here: https://github.com/DPDBeNeLux/magento-DPD_Shipping/blob/master/app/code/community/DPD/Shipping/controllers/Adminhtml/DpdorderController.php#L111

but you don't want to complete the order. so there should be a new action defined that calls the generateAndReturnLabel fucntions directly

https://github.com/DPDBeNeLux/magento-DPD_Shipping/blob/master/app/code/community/DPD/Shipping/Model/Adminhtml/Dpdgrid.php#L111

hope this helps.