Zen Cart Logo
Forums / Addon Shipping Modules / Canada post shipping module

Canada post shipping module

Locked

Views: 13,322

Results 1 to 20 of 41
This thread is locked. New replies are disabled.
30 May 2007, 5:07 PM
#1
highlander avatar

highlander

Zen Follower

Join Date:
May 2007
Posts:
125
Plugin Contributions:
0

Canada post shipping module

Hi,

I've installed the module, and it's seems fine, however I have an anomally that I don't understand. Hopefully someone out there will know how to get me back on track.

I have a number of CD's and DVD's for sale on my site. When I bring up the product for editing, I don't get the Canada Post section at the bottom to input dimensions Like I do for everything else?? CD's and DVD's are Product-music which is a subset of product-General. What do I need to do or change to get this feature working on CD's and DVD's??:huh::frusty:

30 May 2007, 6:37 PM
#2
highlander avatar

highlander

Zen Follower

Join Date:
May 2007
Posts:
125
Plugin Contributions:
0

Re: Canada post shipping module

Maybe a better way of stating my question would be:

Why do I not get to enter the product dimensions ( height, length, width) for products that are classified as product- music?

eg:

If I enter a product as product -general, in a category, I get to enter the dimensions, howver if I enter a product as product-music , the section for entering dimensions is not there.

1 Jun 2007, 10:07 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Canada post shipping module

The contribution only contains the built-in support for the "product-general" product type.

If you wish to port the support into other product types as well, you'll need to mirror the coding changes from
/admin/includes/modules/product
to
/admin/includes/modules/product_music

Note that the files in the contribution's /admin/includes/modules AND /admin/includes/modules/product folders need to be applied to your /admin/includes/modules/product_music folder specifically.

4 Jun 2007, 6:26 PM
#5
tatiana77 avatar

tatiana77

Zen Follower

Join Date:
May 2007
Posts:
114
Plugin Contributions:
0

Re: Canada post shipping module

Hi Dr Byte,
I did everything in the install text, but when I try to goto the Admin>Modules>Shipping, I get the following message:

Parse error: parse error, unexpected T_VARIABLE in /homepages/44/d205662926/htdocs/zencart/includes/modules/shipping/canadapost.php on line **140

Here is the line 140:

if (zen_get_product_is_always_free_shipping($products_array[$i]['id'] == false) $this->_addItem ($products_array[$i][quantity], $products_array[$i][final_price], $products_array[$i][weight], $products_array[$i][length], $products_array[$i][width], $products_array[$i][height], 'online_product', $products_array[$i][ready_to_ship], $products_array[$i][dim_type], $products_array[$i][weight_type]);

**I tried to find any & or weird symbols with no luck, please help,

Tatiana

4 Jun 2007, 7:19 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Canada post shipping module

Oops - wrong file uploaded.
The package has been replaced with the right file.
Since you have yesterday's files already, simply re-download it, unzip, and re-upload the /includes/modules/shipping/canadapost.php file.

4 Jun 2007, 9:04 PM
#7
highlander avatar

highlander

Zen Follower

Join Date:
May 2007
Posts:
125
Plugin Contributions:
0

Re: Canada post shipping module

Thanks!! I'll give it a try tonight.

Cheers !

5 Jun 2007, 12:51 AM
#8
tatiana77 avatar

tatiana77

Zen Follower

Join Date:
May 2007
Posts:
114
Plugin Contributions:
0

Re: Canada post shipping module

Dr Byte -

Yesssss! It worked, fanks.

Tat

5 Jun 2007, 1:37 AM
#9
tatiana77 avatar

tatiana77

Zen Follower

Join Date:
May 2007
Posts:
114
Plugin Contributions:
0

Re: Canada post shipping module

Well I got through the parse error by replacing the file you just mentionned to re-upload.

At the moment, I'm waiting for the CP office to be opened to register a SellOnline account and to confirm from my host provider that port 30000 is accessible. When I tested the 'Estimate Shipping' option from the Shopping cart page, the CP estimator is not showing, so I'm assuming my aforementioned information must be taken care of. I'll repost tomorrow when more clear,

Thanks,
Tatiana

5 Jun 2007, 12:02 PM
#10
highlander avatar

highlander

Zen Follower

Join Date:
May 2007
Posts:
125
Plugin Contributions:
0

Re: Canada post shipping module

I installed the revised module last night. Only had a few minutes to check it out, but it seems to be woking just fine. Thank you very much!

Dimensional shipping is how Canada Post determines their rates, so it is important for all shipping needs. Weight is a factor, but comparing actual past receipts with the estimates I was getting from the module showed a marked discrepancy in the cost. Hopefully the dimensional aspect will solve that for me.

5 Jun 2007, 1:09 PM
#11
tatiana77 avatar

tatiana77

Zen Follower

Join Date:
May 2007
Posts:
114
Plugin Contributions:
0

Re: Canada post shipping module

Unfortunately since I'm in a shared hosting package versus a dedicated server, port 30000 cannot be enabled for me. Is there a way to get around this?

TIA,
Tat

5 Jun 2007, 6:40 PM
#12
drbyte avatar

drbyte

Sensei

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

Re: Canada post shipping module

tatiana77:

Unfortunately since I'm in a shared hosting package versus a dedicated server, port 30000 cannot be enabled for me. Is there a way to get around this?

Canada Post does not offer any other option for talking to their servers.
You will have to get your hosting company to open the port, or choose one of their other hosting packages, or try another hosting company that will open the port.

5 Jun 2007, 6:41 PM
#13
tatiana77 avatar

tatiana77

Zen Follower

Join Date:
May 2007
Posts:
114
Plugin Contributions:
0

Re: Canada post shipping module

Very well, thanks Dr byte,

Tat

1 Jul 2007, 9:42 PM
#14
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Canada post shipping module

Canada Post Shipping Module v1.3.7d

I've added a small update to this module which allows the user to base the handling fee as a percentage of the shipping amount.

This is useful because some payment methods charge a percentage fee on the total charge including shipping.

The update is only available from the Numinix Technology website.

9 Jul 2007, 7:32 PM
#15
hipctech avatar

hipctech

Totally Zenned

Join Date:
Oct 2004
Location:
Surrey, BC, Canada
Posts:
1,466
Plugin Contributions:
1

Re: Canada post shipping module

Hello there,

I don't know if anyone else experienced this but when I try to enter the length, width, and height and save the product it sets everything to 12.00. It also doesn't let me select inches or lbs but it default it all the time to cm and gr.

I would appreciate your help.

10 Jul 2007, 4:06 AM
#16
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Canada post shipping module

Sounds like an issue with listing your products. The Canada Post module will only accept whatever units you've set it up to accept. So, if your website uses lb/inches, you need to change this in the Canada Post configuration to accept lb/inches and always use lb/inches when you input your products.

10 Jul 2007, 6:34 PM
#17
hipctech avatar

hipctech

Totally Zenned

Join Date:
Oct 2004
Location:
Surrey, BC, Canada
Posts:
1,466
Plugin Contributions:
1

Re: Canada post shipping module

Hello numinix,
Thanks for your reply. I have the configuration, in includes/extra_configurations/ set to lbs and in. But when I enter a product weight, and the other things, and update the product then it defaults everything to kgs, with the weight I put in, and 12.00 for the measures in cm. So something is messed up bad.

Thank you for your help. God bless.

10 Jul 2007, 6:55 PM
#18
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Canada post shipping module

Have you been doing the edits to the files themselves rather than through: ADMIN -> MODULES -> SHIPPING -> CANADA POST

10 Jul 2007, 7:13 PM
#19
hipctech avatar

hipctech

Totally Zenned

Join Date:
Oct 2004
Location:
Surrey, BC, Canada
Posts:
1,466
Plugin Contributions:
1

Re: Canada post shipping module

Hello numinix,

Yes I have done the edit to the file themselves. I think that those settings should be added in the Admin settings though for the usual nonprogrammer user.

I figured my problem though. I didn't upload all the files to the server.
Thanks for helping me out though. God bless you.

10 Jul 2007, 8:29 PM
#20
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Canada post shipping module

They are in the configuration already!

If you plan on using this module I highly recommend installing my update which will allow you more versatility with handling fees since most payment providers charge a fee on the entire amount including the shipping charge.