| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Pre-Login Shipping Calculator | ||||
|
|
Thread Tools | Search this Thread |
#41
|
|||||||
|
|||||||
Here you go...
Code:
|
|||||||
#42
|
|||||||||
|
|||||||||
Quote:
Just guessing here... |
|||||||||
#43
|
|||||||||
|
|||||||||
Just tried on 3.5.9 with no success.
I'm using Canada Post RealTime Shipping here. I expanded the text field to 6 digits (characters) in the php file and the template, but basically this doesn't work so good for me. |
|||||||||
#44
|
|||||||||
|
|||||||||
Rackit,
I think I may have tracked down why this is not working for Fedex or Canada Post. Mod_UPS calls for Code:
Mod_CPC (Canada Post Corporation) requires Code:
I believe that the Canada Post server validates the Postal code with the province (state). Mod_Fedex asks for a whole bunch of stuff which is probably beyond keeping this estimator simple. Code:
So because I am concerned with Mod_CPC (Canada Post) I need to add the province (state) data to the information sent by the shipping estimator. I can either 1. Let the customer choose there province from a drop down (in addition to the postal code entry) 2. Have the postal code look-up in PHP for the correct province (state) info. Canadian Postal Codes work like this Letter-Number-Letter<space>Number-Letter-Number ie. R7N 2G6 A1N 9D9 N7X 4J0 The first character a letter dictates which province the postal code is for. List for lookup in PHP purposes. Newfoundland/Labrador - "A" Nova Scotia - "B" Prince Edward Island - "C" New Brunswick - "E" Quebec - "G", "H", "J" Ontario - "K", "L", "M", "N", "P" Manitoba - "R" Saskatchewan - "S" Alberta - "T" British Columbia - "V" Northwest and Nunavut Territories - "X" Yukon Territory - "Y" I could use some help and would be happy to donate or something. I can guarantee that an ENTIRE nation of X-Cart users would be very excited and grateful to have this mod. |
|||||||||
#45
|
|||||||
|
|||||||
I'd also be delighted to donate for the time it takes to tinker the code to work with FedEx lookup!
|
|||||||
#46
|
|||||||||
|
|||||||||
Is this dead, because I only need a little help with the PHP to add a Canadian Postal Province (state) drop down and have it submit with the postal code.
It's worth some money to me if anyone is listening... |
|||||||||
#47
|
|||||||
|
|||||||
which parts exactly do you need help with?
|
|||||||
#48
|
|||||||||
|
|||||||||
IN my second to last post (before this one)i chronicled how Canada Post needs one more piece of info over UPS. I need the state.
I think the easiest way is to use a drop down. I am good at Smarty but lousy at PHP. I have no idea how to get started. |
|||||||||
#49
|
|||||||||
|
|||||||||
BUMP
|
|||||||||
#50
|
|||||||
|
|||||||
Can't get this modification to work in 3.5.10
I can't get the zip code calculation to show up in 3.5.10 Can anyone tell me exactly where in the cart_totals.tpl I should insert the code? Thank you very much.
|
|||||||
|
|||
X-Cart forums © 2001-2020
|