I do hope someone can help me here
I’ve been trying to add a new carrier to select when creating a new shipment for an order in the admin area
I have followed the instructions here in detail:
[url]CS-Cart Documentation — CS-Cart 4.15.x documentation
I cannot seem to get the tracking url to show correctly in the customer area (orders, order detail, shipment info
The url is just a link back to the store home page
Here is my skins/CURRENT_SKIN (Cars)/customer/common_templates/carriers.tpl contents after adding the code advised
{* $Id: carriers.tpl 8364 2009-12-08 11:43:31Z alexions $ *}
{if $carrier == "USP"}
{assign var="url" value="http://trkcnfrm1.smi.usps.com/PTSInternetWeb/InterLabelInquiry.do?strOrigTrackNum=`$tracking_number`"}
{elseif $carrier == "UPS"}
{assign var="url" value="http://wwwapps.ups.com/WebTracking/processInputRequest?AgreeToTermsAndConditions=yes&tracknum=`$tracking_number`"}
{elseif $carrier == "FDX"}
{assign var="url" value="http://fedex.com/Tracking?action=track&tracknumbers=`$tracking_number`"}
{elseif $carrier == "AUP"}
{assign var="url" value="javascript: document.tracking_form`$shipment_id`.submit();"}
{elseif $carrier == "DHL" || $shipping.carrier == "ARB"}
{assign var="url" value="javascript: document.tracking_form`$shipment_id`.submit();"}
{elseif $carrier == "CHP"}
{assign var="url" value="http://www.post.ch/swisspost-tracking?formattedParcelCodes=`$tracking_number`"}
{elseif $carrier == "FEX"}
{assign var="url" value="javascript: document.tracking_form`$shipping_id`.submit();"}
{/if}
{capture name="carrier_url"}
{$url}
{/capture}
The other parts of the code seem to work (from the linked instructions) the new carrier shows in admin and I can select it, it shows the new carrier in emails etc
It’s just the url is wrong
Any advice ?
Thanks in advance
Terry