In my previous post [How to programmatically add shipment with a tracking number to any order : PART I], you found that how can we generate shipment for an order programmatically. Here we are going to learn next step to add tracking number with generated...
- (1) Comment
- More
- Tags: how to generate shipment for an order, magento, magento shipment, order processing, order shipment, programmatically generate shipment for magento, programmatically shipment, shipment, tracking number, United Parcel Services, UPS
We are assuming that we have an order incremented id. and we want to make shipment for this order.
Here also we are assuming that invoice has been generated for order already. so we are going to generate only shipment.
$orderId = '1000001';
...
- No Comments
- More
- Tags: how to generate shipment for an order, magento, magento shipment, order processing, order shipment, programmatically generate shipment for magento, programmatically shipment, shipment, tracking number, United Parcel Services, UPS