In my activity, I can have several shipments per order. Shipments are generated automattically by a module I coded.
I now would like to access the shipment linked to a selected order (ID) and containing a selected product (ID).
I thought using the "AddAttributeToFilter" function, but I do not know how to use them exactly in this context.
Thank you for your help,
Best Answer
You can get shipments using
Or
Shipment products can be fetch by