Can anyone help with this? Using razor. I can't even work out where to start. Assumed that a purchase order would have a ShippingMethodId I could work from
basket.PurchaseOrder.Shipments.First() will return the first shipments. You probably want to loop over the shipments and display their attached order lines if you're working with multiple shipments. For single shipment scenarios First() will work nicely.
Show shipping method in basket
Can anyone help with this? Using razor. I can't even work out where to start. Assumed that a purchase order would have a ShippingMethodId I could work from
This works. Better methods welcomed
You can also use
or in XSLT
the <shipments> element will contain the pertinent information.
I'm assuming that's
basket.PurchaseOrder.Shipments;
So how would I access the shipment name?
Did you try:
Tony
basket.PurchaseOrder.Shipments.First() will return the first shipments. You probably want to loop over the shipments and display their attached order lines if you're working with multiple shipments. For single shipment scenarios First() will work nicely.
is working on a reply...