Results 1 to 10 of 470

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Posts
    106
    Plugin Contributions
    0

    Default Re: Canada Post module

    DISREGARD THIS, GOT IT WORKING, forgot to add post code, not needed for quotes in Australia, just found out it is needed for quotes to USA and Canada, so it was working all along.

    My bad, how embarrassment.

    Quote Originally Posted by Australian Caching View Post
    I have the latest version of the cart (installed last week)
    I have the latest version of the CP add on, installed this week.

    I have 2 websites, www.australiancaching.com/store, old version of CP works fine.

    My other store, www.nacaching.com/store is on the same server, like a subdomain, I don't even get rate quotes for CP, so I know it is not a problem with the port, as the other is working.

    My CPC_ etc is set for the other store, and when I phoned CP, they confirmed that regardless of the store, it will work (my settings in CPC are linked to the Australian caching site, they say it makes no difference, either will work)

    All settings in new store seem fine, just nothing showing up.

    I would have just set up a new customer number with CP, but get the error "phone number in ust with another account" and wouldn't let me go further (I am not getting a new phone to add an account to CP)

    Any guess as to why it won't work?

    Guy

  2. #2
    Join Date
    Aug 2009
    Location
    Canada
    Posts
    42
    Plugin Contributions
    0

    help question Re: Canada Post module

    Hi there,
    I am little confused with installing the CP shipping module...
    I have upgraded to ZenCart 1.3.9d (from v1.3.9c) yesterday. I just installed v1.3.9c not long ago and I was just learning how to get around so none of files were customized so I printed out changelog files and simply copied to my site.

    Now, I am trying to install CP Shipping module and I got confused. I downloaded the file named canada_post_shipping_module_1-3-8c (I think this is the latest one available?!) and came with instrustion doc says "v1.3.7. and I uploaded new files listed but I noticed some of the listed files need to be overwritten.

    I just copied the same files yesterday (namely
    admin/includes/modules/product/collect_info.php
    includes/classes/shopping_cart.php )
    in order to upgrade to v.1.3.9 so I am not sure if I can upload the same name and overwrite these files...

    Also, other files:
    admin/includes/modules/copy_to_confirm.php
    admin/includes/modules/update_product.php
    admin/includes/modules/product/preview_info.php (if I copy this file, file size will be from 9,501(1.3.9d) to 9,319 (1.3.8c??).

    Can I just override to my 1.3.9d files???
    Any help for newbie will be greatly appreciated.

  3. #3
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    274
    Plugin Contributions
    0

    Default Re: Canada Post module

    Hi there,
    I am little confused with installing the CP shipping module...
    I have upgraded to ZenCart 1.3.9d (from v1.3.9c) yesterday. I just installed v1.3.9c not long ago and I was just learning how to get around so none of files were customized so I printed out changelog files and simply copied to my site.

    Now, I am trying to install CP Shipping module and I got confused. I downloaded the file named canada_post_shipping_module_1-3-8c (I think this is the latest one available?!) and came with instrustion doc says "v1.3.7. and I uploaded new files listed but I noticed some of the listed files need to be overwritten.

    I just copied the same files yesterday (namely
    admin/includes/modules/product/collect_info.php
    includes/classes/shopping_cart.php )
    in order to upgrade to v.1.3.9 so I am not sure if I can upload the same name and overwrite these files...

    Also, other files:
    admin/includes/modules/copy_to_confirm.php
    admin/includes/modules/update_product.php
    admin/includes/modules/product/preview_info.php (if I copy this file, file size will be from 9,501(1.3.9d) to 9,319 (1.3.8c??).

    Can I just override to my 1.3.9d files???
    Any help for newbie will be greatly appreciated.
    Hello Shinmai,

    You can overwrite these files. But by doing so. You will not have the benefit of the new updates from 1.3.9d.

    Used WinMerge to merge your files. Check here: https://www.zen-cart.com/tutorials/i...hp?article=138

    WinMerge: http://winmerge.org/downloads/
    Pre-Owned Books and Second Hand Stuff: http://www.onlineyardsale.ca

  4. #4
    Join Date
    Aug 2009
    Location
    Canada
    Posts
    42
    Plugin Contributions
    0

    Default Re: Canada Post module

    Thanks for the reply and links! Since I am newbie and don't comprehentd PHP files well, it might be beyond my capability to merge the files correctly but I will give it a try

    Thanks again.

  5. #5
    Join Date
    Aug 2009
    Location
    Canada
    Posts
    42
    Plugin Contributions
    0

    Default Re: Canada Post module

    Well, I tried to look through files and compare but I am just giving up since ...collect_info.php and ...shopping_cart.php in 1.3.9d has less codes than CP mod files and I don't want to blindly erase some codes because I don't know how PHP code works...

    I just hope that CP mod will be updated to 1.3.9d very soon - sigh -
    For now I will just overwrite CP mod hope I won't running into problems.

  6. #6
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    274
    Plugin Contributions
    0

    Default Canada Post Beta 1.3.9d

    Quote Originally Posted by Shinmai View Post
    Well, I tried to look through files and compare but I am just giving up since ...collect_info.php and ...shopping_cart.php in 1.3.9d has less codes than CP mod files and I don't want to blindly erase some codes because I don't know how PHP code works...

    I just hope that CP mod will be updated to 1.3.9d very soon - sigh -
    For now I will just overwrite CP mod hope I won't running into problems.
    Hello Shinmai,

    You can test this Canada Post merge update for 1.3.9d. Let me know if it works for you.

    Please backup your site first before installing this mod.
    Pre-Owned Books and Second Hand Stuff: http://www.onlineyardsale.ca

  7. #7
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    274
    Plugin Contributions
    0

    Default Re: Canada Post module

    Pre-Owned Books and Second Hand Stuff: http://www.onlineyardsale.ca

  8. #8
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    274
    Plugin Contributions
    0

    Default Canada Post 1.3.9d submit to Addons

    Quote Originally Posted by Royal View Post
    Hello Shinmai,

    You can test this Canada Post merge update for 1.3.9d. Let me know if it works for you.

    Please backup your site first before installing this mod.

    Here you go: Beta Canada Post 1.3.9d

    *********************************

    Hello Shinmai,

    Check attachment for updated files.

    *********************************


    Updated in v1.3.9d.

    ------------
    Optional
    ------------

    From thread: http://www.zen-cart.com/forum/showthread.php?p=887795

    ---------------------------------------
    Make kgs and cm the default:
    ---------------------------------------

    In the collect_info.php files for that addon you'll see these lines near the top:

    Code:
    //added Canada Post start
    			           'products_weight_type' => '',
    			           'products_dim_type' => '',
    ----------------------------------------------------------------------------

    Change that to:

    Code:
    //added Canada Post start
    			           'products_weight_type' => SYSTEM_WEIGHT_UNITS,
    			           'products_dim_type' => SYSTEM_DIMENSION_UNITS,

    ----------------------------------------------------------------------------

    Already updated in v1.3.9d.

    ------------
    Optional
    ------------

    For those who do not want (1 box(es) to be shipped) to show.

    Go to includes/modules/shipping/canadapost.php.

    Look for:
    Code:
    'module' => $this->title . ' (' . $this->boxCount . MODULE_SHIPPING_PACKAGING_RESULTS . ')');
    Change to:
    Code:
    'module' => $this->title . ' <!--(' . $this->boxCount . MODULE_SHIPPING_PACKAGING_RESULTS . ')-->');
    ----------------------------------------------------------------------------

    Updated in v1.3.9d.

    ----------
    Optional
    ----------

    Look for: USA Lettermail: no estimated delivery date

    You can change it to anything you like: U.S.A Letter-post, up to 2 weeks


    Look for: International Lettermail: no estimated delivery date

    You can change it to anything you like: INTL Letter-post, up to 2 weeks


    Go to includes/modules/shipping/canadapost.php.


    Code:
    case 'US':
    			{
    				$table_cost = split("[:,]" , constant('MODULE_SHIPPING_CANADAPOST_LETTERMAIL_USA'));
    				$lettermail_service = "USA Lettermail: no estimated delivery date";
    				break;
    			}
    		      	default:
    		   	{
    				$table_cost = split("[:,]" , constant('MODULE_SHIPPING_CANADAPOST_LETTERMAIL_INTL')); //Use overseas rate if not Canada or US
    				$lettermail_service = "International Lettermail: no estimated delivery date";
    	      		}

    Change to:

    Code:
    case 'US':
    			{
    				$table_cost = split("[:,]" , constant('MODULE_SHIPPING_CANADAPOST_LETTERMAIL_USA'));
    				$lettermail_service = "U.S.A Letter-post, up to 2 weeks";
    				break;
    			}
    		      	default:
    		   	{
    				$table_cost = split("[:,]" , constant('MODULE_SHIPPING_CANADAPOST_LETTERMAIL_INTL')); //Use overseas rate if not Canada or US
    				$lettermail_service = "INTL Letter-post, up to 2 weeks";
    	      		}
    Pre-Owned Books and Second Hand Stuff: http://www.onlineyardsale.ca

 

 

Similar Threads

  1. Canada Post Module (w/Beanstream payment module)
    By sgt_slaughter in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 15 Sep 2009, 07:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg