Ok, you knew I wouldn't let it go at that didn't you...
Assuming you're using CA Post...CA Post uses a slightly different URL for multi consignment tracking. The code you need to use is based on this:
Forgetting the two dummy consignment numbers in there, you really just need to change basicPin.do to multiPinPool.do in your existing query string. That's the first bit.
Secondly, you need to be able to string your consignment numbers in such a way that a line feed is generated between each one, whilst still keeping the syntax of the URL correct.
This is just a little ugly, but it IS cheap
Delimit your consignment numbers when you type them into the Tracking Number field for an order inside X-Cart with the following string:
This will generate a line feed in the CA Post multi tracking number input window.
Whilst it will look just a little odd to the end user when they see a tracking number like:
Quote:
AA123456789AA&0d%0aAA987654321AA
|
it will actually work. Besides....who really looks at the actual number - its the results that we're after!
Give it a try - it worked in my tests here and means absolutely minimal changes to your X-Cart.
Dean