Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Parcel Tracking for your Customers

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 07-02-2010, 09:59 AM
  isaels@i-artsupplies.co.u's Avatar 
isaels@i-artsupplies.co.u isaels@i-artsupplies.co.u is offline
 

Advanced Member
  
Join Date: May 2010
Posts: 67
 

Default Re: Parcel Tracking for your Customers

am using phils, sorry I forgot there were 2 on thread
__________________
Paul Wallace

X-Cart Gold 4.3.2
Php5.3.8
MySQL 5.1.56

Backorder/PreOrder
SEO All in one CDSEO
Wholesale Option Pricing
Gift Cert Recovery
Password Recovery
CompanyLogo Alt Tag
Smart Search - ALtered Cart
On Sale - Altered Cart
Sitemap
MM One page checkout
order page emailer

Remember Anomymous Carts
Website CM Speed Opitmisation

iartsupplies.co.uk
Reply With Quote
  #12  
Old 09-26-2010, 09:30 PM
 
kgoel kgoel is offline
 

Advanced Member
  
Join Date: May 2010
Posts: 82
 

Default 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
__________________
Version 4.3.2
Reply With Quote
  #13  
Old 09-27-2010, 02:38 AM
  isaels@i-artsupplies.co.u's Avatar 
isaels@i-artsupplies.co.u isaels@i-artsupplies.co.u is offline
 

Advanced Member
  
Join Date: May 2010
Posts: 67
 

Default 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
__________________
Paul Wallace

X-Cart Gold 4.3.2
Php5.3.8
MySQL 5.1.56

Backorder/PreOrder
SEO All in one CDSEO
Wholesale Option Pricing
Gift Cert Recovery
Password Recovery
CompanyLogo Alt Tag
Smart Search - ALtered Cart
On Sale - Altered Cart
Sitemap
MM One page checkout
order page emailer

Remember Anomymous Carts
Website CM Speed Opitmisation

iartsupplies.co.uk
Reply With Quote
  #14  
Old 10-18-2010, 04:16 AM
 
floyd_2 floyd_2 is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 69
 

Default 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
__________________
X-Cart Gold v4.1.8
Reply With Quote
  #15  
Old 10-21-2010, 06:55 AM
  Phoenixone's Avatar 
Phoenixone Phoenixone is offline
 

Advanced Member
  
Join Date: Feb 2010
Location: Portugal
Posts: 38
 

Default Re: Parcel Tracking for your Customers

Quote:
Originally Posted by floyd_2
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

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>
__________________
PHP 5.2.11
MYSQL 5.0.45

WESH UK hosting

--- Add-ons -----
X-RMA
X-AOM
X-FancyCategories
X-Feature comparison

BCSE Request a Quote
BCSE Customer Testimonials
BCSE Advanced ratings and reviews
BCSE Customer reward points
BCSE Reward points refferal
BCSE Customer polls

Cart Labs - Tabs
Reply With Quote
  #16  
Old 11-12-2010, 06:47 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Parcel Tracking for your Customers

TNT added if anyone's interested.
__________________
xcartmods.co.uk
Reply With Quote
  #17  
Old 11-12-2010, 07:18 AM
 
floyd_2 floyd_2 is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 69
 

Default 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"> function ActionDeterminator() { var prefix = "-A"; var suffix = ",-N1"; var track = document.myform.arguments.value; var fullstring = prefix + track + suffix; document.myform.arguments.value = fullstring; document.myform.action = 'http://www.fastway.com.au/Magic94scripts/mgrqispi94.dll'; document.myform.method = 'post'; return true; }

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
__________________
X-Cart Gold v4.1.8
Reply With Quote
  #18  
Old 01-03-2011, 03:20 PM
 
vitalaccessories vitalaccessories is offline
 

Advanced Member
  
Join Date: Jan 2011
Posts: 33
 

Default 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.
__________________
X-Cart 4.4.2 Gold
Reply With Quote
  #19  
Old 01-03-2011, 08:30 PM
  Dan.roh's Avatar 
Dan.roh Dan.roh is offline
 

eXpert
  
Join Date: Jul 2008
Posts: 397
 

Default 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
__________________
Regards

Dan


Xcart version:
4.1.10 GOLD
Reply With Quote
  #20  
Old 01-04-2011, 08:40 AM
 
vitalaccessories vitalaccessories is offline
 

Advanced Member
  
Join Date: Jan 2011
Posts: 33
 

Default Re: Parcel Tracking for your Customers

Quote:
Originally Posted by Dan.roh
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

That would be very appreciated, thanks. I am standing by...
__________________
X-Cart 4.4.2 Gold
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:26 AM.

   

 
X-Cart forums © 2001-2020