A few months ago we integrated a basic UPS shipping provider into Tea Commerce 2.0.0. This works in that the value of the shipping amount is saved with the Tea Commerce order details. However, the client would like to see what type of shipping the customer selected, rather than just the value of it. Otherwise they'd have to replicate the order in the cart and loosely establish the selected shipping type the customer has chosen just by matching the price of the different options. This would obviously fail if there were two options of the same price or if the prices changed.
So how would I retreive the actual name of the shipping type selected (e.g. '7 day ground shipping') and output this value in the email confirmations and in the Tea Commerce order management section?
First: Is the "7 day ground shipping" a Tea Commerce payment method or is that a value from UPS? If its from UPS then you need to save that as an order property. Now when you have it as an order property you can just in your Razor file for the email template or the edit order one use: order.Properties["yourUpsPropertyHere"]. That´s it.
Reporting on Tea Commerce UPS shipping type
Hi,
A few months ago we integrated a basic UPS shipping provider into Tea Commerce 2.0.0. This works in that the value of the shipping amount is saved with the Tea Commerce order details. However, the client would like to see what type of shipping the customer selected, rather than just the value of it. Otherwise they'd have to replicate the order in the cart and loosely establish the selected shipping type the customer has chosen just by matching the price of the different options. This would obviously fail if there were two options of the same price or if the prices changed.
So how would I retreive the actual name of the shipping type selected (e.g. '7 day ground shipping') and output this value in the email confirmations and in the Tea Commerce order management section?
Thanks
Hi Dan
First: Is the "7 day ground shipping" a Tea Commerce payment method or is that a value from UPS? If its from UPS then you need to save that as an order property. Now when you have it as an order property you can just in your Razor file for the email template or the edit order one use: order.Properties["yourUpsPropertyHere"]. That´s it.
Kind regards
Anders
is working on a reply...