Forums / Addon Shipping Modules / CanadaPost Shipping Module Modification - Eliminate Expected Delivery Date Display

CanadaPost Shipping Module Modification - Eliminate Expected Delivery Date Display

Locked

Started by jdkerr on 16 Aug 2011, 7:01 PM · Views: 1,032

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
16 Aug 2011, 7:01 PM
#1
jdkerr avatar

jdkerr

New Zenner

Join Date:
May 2011
Posts:
3
Plugin Contributions:
0

CanadaPost Shipping Module Modification - Eliminate Expected Delivery Date Display

Very new to ZenCart (v1.3.9h) and just getting my feet wet. Have things working very well, and am now just looking to customize the downloaded shipping module for CanadaPost (running the current version of 1.3.9h-3).

I would like to amend the output from the routine in terms of the elimination of including the Estimated Delivery Date from the format below:

Canada Post (Priority Courier, 2011-08-18) $15.05
Canada Post (Expedited, 2011-08-18) $7.50

Due to the nature of the products I sell, I normally ship product 2-4 days after an order is placed as I must customize each. Can someone give me some assistance in locating and disabling the Expected Delivery Date field from the output?

Thanks,

John

16 Aug 2011, 7:43 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: CanadaPost Shipping Module Modification - Eliminate Expected Delivery Date Display

Change $aryProducts[$index] = array($name[B] . ', ' . $deliveryDate[/B] => $rate);to just```
$aryProducts[$index] = array($name => $rate);

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Aug 2011, 5:57 PM
#3
jdkerr avatar

jdkerr

New Zenner

Join Date:
May 2011
Posts:
3
Plugin Contributions:
0

Re: CanadaPost Shipping Module Modification - Eliminate Expected Delivery Date Display

That amended it just perfect. Thank you for your assistance. You saved me a few hours of looking!

Very much appreciate it.

John

8 Jan 2012, 9:16 PM
#4
windsurfer avatar

windsurfer

Zen Follower

Join Date:
Jun 2011
Posts:
185
Plugin Contributions:
0

Re: CanadaPost Shipping Module Modification - Eliminate Expected Delivery Date Display

Just what i needed as well.

If you wait to do everything until you're sure it's right, you'll probably never do much of anything !!!