Parcel Tracking for your Customers
Hi Guys,
This is something I would like to share, not sure if there is something like this already on the forum but here goes... This mod will allow your customers to track their parcels online from your site, I use CityLink as my courier but you might need to change the code to suit your courier. I should have really placed the code into a tpl. file but instead I just created an static page as this would do me just fine. The code can be used in any way that suits you or placed anywhere on your site. I have placed mine under "order history" on my storefront. If this is what you want then do the following: **You would need to use your own images or feel free to copy mine** **The code is a bit messy but feel free to change** 1. Create a language variable - lbl_parcel_tracking and place Parcel tracking in it. 2. Create a static page in you admin side (call it Parcel Tracking) and place the following code in it Quote:
3. Open /customer/menu_cart.tpl and place the following between two If statements where you want it to appear to call your code Quote:
The results can be seen here http://www.customoid.co.uk/pages.php?pageid=50 Hope someone find this useful |
Re: Parcel Tracking for your Customers
Nice, I did some thing similar yesterday, supporting Royal Mail, Parcelforce, Citylink, USPS and Canada Post... :)
http://www.xcartmods.co.uk/snippet-handy-parcel-tracking-mod.html http://www.xcartmods.co.uk/images/D/track.jpg |
Re: Parcel Tracking for your Customers
Thanks, but you should have posted it yesterday...lol - that way I would not have wasted half of my day, could have just copied yours... :D
Quote:
|
Re: Parcel Tracking for your Customers
Quote:
Very handy indeed, Dan Are you using phils now? lol..... |
Re: Parcel Tracking for your Customers
Phils mod is much more advanced I would say, but all I really needed was for it to work with CityLink. When I do upgrade my shipping options in the near future I will definitely upgrade to Philâ–“s mod!
By the way, great mod Phil! Just found it too late or shall I say you posted it too late...lol :lol: Quote:
|
Re: Parcel Tracking for your Customers
Nice work on both accounts. Does it handle things like spaces all well and good etc?
|
Re: Parcel Tracking for your Customers
Not sure what you mean with spaces? When a customer types in a tracking number that is incorrect the courier's website will notify them that the tracking number is not valid. Nothing much you can do there as this will be different from every courier company's website. Some courier websites only take lower case tracking numbers so the customer will just have to type it the way it is or copy and paste it for that matter
Quote:
|
Re: Parcel Tracking for your Customers
I have got this to come up in the customer email. But its not displaying properly nor is it when I put it in the customer home tpl.
I cant get an example up but is only dispays the drop down box with the shipping companies in it. Ther is no option to enter the tracking number. Like I said this happens in the site too. Any Ideas? |
Re: Parcel Tracking for your Customers
Which one are you using? Mine or Phil's?
Quote:
|
Re: Parcel Tracking for your Customers
In my version of 4.1.12 you need this bottom line:
{include file="menu.tpl" menu_title="Parcel Tracking" menu_content=$smarty.capture.menu} notice: menu_ works great for me! Thanks very much |
Re: Parcel Tracking for your Customers
am using phils, sorry I forgot there were 2 on thread
|
Re: Parcel Tracking for your Customers
Paul,
Did you solve the problem for 4.3.1 ?. If so, please post the changes that you have made. Thanks |
Re: Parcel Tracking for your Customers
HI, no I gave up in the end, and just put some basic links within the text of the customer complete notificaition email. Would have prefered something a bit more fancy though.
Unfortunatly kept having the same problems though. Thanks |
Re: Parcel Tracking for your Customers
I implemented Phil's mod on my site in Australia for TNT, Hunter Express and Couriers Please. Great mod Phil, thanks. However, when it came to implementing it for Fastway Couriers there was a hitch :( The way Fastways construct their query URL is different to most others. Here's an example query URL:
where FA0017457708 is the Tracking Number. The rest of the URL is static. The problem is that I can't get my head around how to create the URL using the form when the Arguments data has both a prefix (-A) and a suffix (,-N1,-AN). I have assumed that the Tracking ID form input field data (the tracking number that the user types in) needs to be massaged prior to the form being submitted so that the prefix and suffix data is added to the tracking number - in this case changing it from FA0017457708 to -AFA0017457708,-N1,AN I'm just wondering if anyone might have the expertise to assist with massaging the tracking number and modifying it as the form is being submitted. Thanks in advance Dean |
Re: Parcel Tracking for your Customers
Quote:
i used a iframe for mine Code:
<iframe name=booking frameborder=0 width="100%" height="400px" src=http://www.supaswift.com/fx/Default.aspx?TabId=89&waybill={$order.tracking}></iframe> so for yours i think this should work: Code:
<iframe name=booking frameborder=0 width="100%" height="400px" src=http://www.fastway.com.au/Magic94Scripts/mgrqispi94.dll?appname=FW&prgname=PodResultNew&arg uments=-A{$order.tracking},-N1,-AN></iframe> |
Re: Parcel Tracking for your Customers
TNT added if anyone's interested.
|
Re: Parcel Tracking for your Customers
Thanks everyone. I ended up assembling the string using javascript and it works a treat. Because the tracking form I'm using doesn't actually reference {$order.tracking} - it's on the sidebar - I had to assemble the string based on a customer input tracking number. The tracking box I'm using is form based and coded in javascript anyway. I just needed to add a function to do the string handling for me before the form was actually posted, and after the customer had entered their tracking number. I put a function into the java sidebar form app as follows:
Code:
<script type="text/javascript" language="JavaScript"> and altered the submit button code for Fastways to call the function as follows: Code:
<input type="submit" name="Submit" value="Go" onClick="return ActionDeterminator();"> Dean |
Re: Parcel Tracking for your Customers
Hi,
This is a really interesting thread. I am trying to come up with something that will allow customers to track their parcels progress using DHL or Interlink in the UK. Maybe it's feasible using an adaptation of the mods found here? One other thing though, how are you giving the tracking information to customers in the first place? I would like to enter it when changing the order status to complete but can't see an option to enter free text that will be shown in the email sent to the customer when 'complete' is triggered. Just wondering how you guys transmit this info'... Thanks. |
Re: Parcel Tracking for your Customers
There is a free mod that allows you to do this when complete is triggered. When I locate it I will post it for you
|
Re: Parcel Tracking for your Customers
Quote:
That would be very appreciated, thanks. I am standing by... |
Re: Parcel Tracking for your Customers
1 Attachment(s)
There you go...:-)
http://www.bcsengineering.com/store/free-xcart-order_page-emailer.html Above should give you the results underneath each order as displayed in my image below |
Re: Parcel Tracking for your Customers
Quote:
Regards, Adam |
Re: Parcel Tracking for your Customers
Quote:
this is part of 4.3, I upgraded from 4.2 and this facility wasnt in it. |
Re: Parcel Tracking for your Customers
Quote:
Maybe this is a bug... |
Re: Parcel Tracking for your Customers
Quote:
As an update, installed the mod and it works great, thanks. I notice the shipping service is not moved across though. Would there be any easy way to adjust the code so the shipping service used at checkout is automatically shown once a tracking ID is shown in the customers completion email? Thanks again! |
Re: Parcel Tracking for your Customers
Quote:
Does this work with 4.3.2? I had it on my old xCart system and I do miss it sometimes. |
Re: Parcel Tracking for your Customers
I would like to use something like this for 4.4.2 that allows UPS or USPS customers to track their orders; I guess USPS doesn't do reference numbers though. Could this mod (or another) look up the order, find the tracking ID and then track the package? That would be cool.
|
Re: Parcel Tracking for your Customers
One can be developed when customer provides orderid and some other info to identify unique order and customer. I have something similar with orderid and email and outputs order status from XC data with tracking number, further carrier tracking can be added as well. Contact me if interested
|
All times are GMT -8. The time now is 05:55 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.