Adding a new carrier problem

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

Solved







The CS-Cart team sorted this out for me



Instead of using the code in carrier.tpl above, they replaced it with this code instead and all works fine now


{elseif $carrier == "FEX"}
{assign var="url" value="http://www.fedexuk.net/accounts/QuickTrack.aspx?consignment=`$tracking_number`"}
{/if}

I a using CS cart 2.2.4 i cannot find the New_shipment.tpl mentioned in point 5)

Try this addon I had done by Alt-Team:

Should Tracking Numbers be included with emails - Page 2 - Issues & Troubleshooting - CS-Cart Community Forums - Page 2



It may help



John