What is the variable for Tracking Number, and the syntax to insert it into an email template?
We use Shiprush to process & ship orders, and have it set to send the shipment tracking info once the shipment is processed. Sometimes there is a problem with an order that results in the shipment having to be voided, and a new shipment processed - so it now has a different tracking number than the one Shiprush originally emailed to the customer.
When this happens, we go into the order details & update the customer's order info with the new correct tracking number. While we're in there, we'd like to click on customer's email address & email them a predefined template that gives them their new tracking number.
Variable to insert TRACKING NUMBER in an email template?
Variable to insert TRACKING NUMBER in an email template?
Thanks!
--
bugman
AbleCommerce for ASP.NET
VERSION: 7.0.90.8302
Release Label: GoldR10
--
bugman
AbleCommerce for ASP.NET
VERSION: 7.0.90.8302
Release Label: GoldR10
Re: Variable to insert TRACKING NUMBER in an email template?
Anybody?....
Thanks!
--
bugman
AbleCommerce for ASP.NET
VERSION: 7.0.90.8302
Release Label: GoldR10
--
bugman
AbleCommerce for ASP.NET
VERSION: 7.0.90.8302
Release Label: GoldR10
Re: Variable to insert TRACKING NUMBER in an email template?
For our AC7 email templates we have
Still in the process of upgrading to Gold, have not tested it there yet.
Code: Select all
#foreach($trackingNumber in $shipment.TrackingNumbers)
#if($trackingNumber.ShipGateway)
#set($provider = $trackingNumber.ShipGateway.GetProviderInstance())
#set($summary = $provider.GetTrackingSummary($trackingNumber))
#if($summary.TrackingResultType == "ExternalLink")
<a href='$summary.TrackingLink'>$trackingNumber.TrackingNumberData</a>
#end
#end
#end
Ryan A.
Scott's Bait and Tackle
http://store.scottsbt.com
Work In Progress
Able Gold R10
Bootstrap 3.3
Scott's Bait and Tackle
http://store.scottsbt.com
Work In Progress
Able Gold R10
Bootstrap 3.3