*BUMP*
I used the link you gave me "extension function instructions can be found here" to make an extension function for my shipping receipt xslt page with the following function from the storefront source.
Public Shared FunctionGetTrackingURL(ByVal ShippingTrackingNumber As String) As String
I was able to take the exact same function that already existed in the source and use it with minimal setup.
My question is how does storefront handle multiple shipping numbers for tracking? I basically took this function and it does exactly what I want. It receives the tracking number, decides who the carrier is and formulates a url with magic to the carrier with the tracking number passed in the querystring. The problem is it appears to not format the url correctly if there are more than a single tracking number. Here is an example for ups of the url that is generated from the above function.
Code:
http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status
&tracknums_displayed=1
&TypeOfInquiryNumber=T
&loc=en_US
&InquiryNumber1=1Z9488210305315769,1Z9488210305315778
&track.x=0&track.y=0
The above url is rendered by the function in storefront and is incorrect. Notice the differences between the urls.
Code:
http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status
&tracknums_displayed=2
&TypeOfInquiryNumber=T
&loc=en_US
&InquiryNumber1=1Z9488210305315769
&InquiryNumber2=1Z9488210305315778
&track.x=0&track.y=0
The above url is what the url should have been for multiple tracking numbers. Can anyone shed some light on this? George already has been super helpful!
Thanks in advance