Broken Link in Email Template - Fedex
There is a problem with our ship notification emails, specifically the link for tracking on fedex is broken (and has been broken for quite awhile). How do we fix this? It seems like it is a deeper line of code that needs to be updated somewhere.
Example link in email: http://www.fedex.com/Tracking?language=english&cntry_code=us&tracknumbers=396337042040
Page when linked clicked (404): https://www.fedex.com/apps/pagenotfound/404.shtml?language=english&cntry_code=us&tracknumbers=396337042040
Section of Code in template:
<p>
<xsl:if test="count($order/Shipment[Status = 'Processed']) = 0">
<i>(No shipments)</i>
</xsl:if>
<xsl:for-each select="$order/Shipment[Status = 'Processed']">
Shipped on <b><xsl:value-of select="sw:ToShortDate(ShippedDate)" /></b>
using <b><xsl:value-of select="ServiceUsed" /></b>: <b><xsl:call-template name="TrackingLink" /></b>
<br />
</xsl:for-each>
</p>
-
You can edit the trackinglink snippet and change to <a href="https://www.fedex.com/fedextrack/?trknbr={TrackingNumber}">
Please sign in to leave a comment.
Comments
1 comment