Page 52 of 188 FirstFirst ... 242505152535462102152 ... LastLast
Results 511 to 520 of 1872
  1. #511
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    4,056
    Plugin Contributions
    1

    Default Re: ozpost shipping module

    Quote Originally Posted by Mike_Dean View Post
    Rod,

    I'm doing my head in here..

    I use the Prepaid Satchels as an option, and in the estimator, and or at checkout, if that option is available, it displays

    3kg Prepaid Satchel Express


    I want to rename it Express Satchel

    But I cannot find the instance anywhere where 3kg Prepaid Satchel Express is documented..



    The text comes from the server. If you wish to change it you'll need to add a line or two of code into the ozpost.php file (one to test, the other to change).

    Cheers
    Rod
    New support site for the ozpost shipping module now live!

  2. #512
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    555
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Quote Originally Posted by RodG View Post
    The text comes from the server. If you wish to change it you'll need to add a line or two of code into the ozpost.php file (one to test, the other to change).

    Cheers
    Rod
    Thanks,


    At least I know where it comes from now.. as for me writing code... hmmmmm...

    Any chance you could offer some input ?

    Cheers,
    Mike
    Norts And Ones
    Norts And Ones

  3. #513
    Join Date
    Mar 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Quote Originally Posted by RodG View Post
    It's a bug.

    Cheers
    Rod
    Thanks for the quick response Rod. Do you have anymore info on the bug. I have seen in some posts that it does display sometimes. Just wondering if there is a work around.

  4. #514
    Join Date
    Jul 2009
    Posts
    135
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Quote Originally Posted by integrity_designs View Post
    How would this be done though? (which files etc) I am only just learning PHP / Zen Cart etc.

    Kind Regards

    If anyone can work this out, I for one would love to know!

  5. #515
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    4,056
    Plugin Contributions
    1

    Default Re: ozpost shipping module

    Quote Originally Posted by Mike_Dean View Post
    Thanks,


    At least I know where it comes from now.. as for me writing code... hmmmmm...

    Any chance you could offer some input ?

    Cheers,
    Mike
    In the ozpost.php file, search for the line that reads:
    $description = ($xml->quote[$i]->description);

    Then immediately after this, add the following:

    if ( $description == "3kg Prepaid Satchel Express") {
    $description = "Express Satchel" ;
    }

    I *think* that should work without any repercussions, but haven't actually tried it.

    Cheers
    Rod
    New support site for the ozpost shipping module now live!

  6. #516
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    555
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Quote Originally Posted by RodG View Post
    In the ozpost.php file, search for the line that reads:
    $description = ($xml->quote[$i]->description);

    Then immediately after this, add the following:

    if ( $description == "3kg Prepaid Satchel Express") {
    $description = "Express Satchel" ;
    }

    I *think* that should work without any repercussions, but haven't actually tried it.

    Cheers
    Rod
    Your blood is worth bottling... worked perfectly

    Thanks Rod...
    Norts And Ones
    Norts And Ones

  7. #517
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    4,056
    Plugin Contributions
    1

    Default Re: ozpost shipping module

    Quote Originally Posted by rhodie1000 View Post
    Thanks for the quick response Rod. Do you have anymore info on the bug. I have seen in some posts that it does display sometimes. Just wondering if there is a work around.
    There are few of lines of code that didn't get ported from 'austpost' over to 'ozpost' - So the posts that say it 'displays sometimes' are either pure BS or they are referring to the older/obsolete module.

    There are two fixes/workArounds.

    If you just want to get rid of the 'xx's revert the tpl_modules_shipping_estimator.php file back to the original zencart copy.

    If you want the dimension data to be displayed (so instead of "xx" it will show something like "2x3x4" you'll need to add the 'missing' lines to the oppost.php file.

    Specifically: Locate the line that reads"

    if (MODULE_SHIPPING_OZPOST_WEIGHT_FORMAT == "kgs") {$parcelweight = $parcelweight * 1000 ; }

    Then immediatly after this line add the following:

    $_SESSION['swidth'] = $parcelwidth ;
    $_SESSION['sheight'] = $parcelheight ;
    $_SESSION['slength'] = $parcellength ;
    $_SESSION['boxes'] = $shipping_num_boxes ;


    Cheers
    Rod
    New support site for the ozpost shipping module now live!

  8. #518
    Join Date
    Mar 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Quote Originally Posted by RodG View Post
    There are few of lines of code that didn't get ported from 'austpost' over to 'ozpost' - So the posts that say it 'displays sometimes' are either pure BS or they are referring to the older/obsolete module.

    There are two fixes/workArounds.

    If you just want to get rid of the 'xx's revert the tpl_modules_shipping_estimator.php file back to the original zencart copy.

    If you want the dimension data to be displayed (so instead of "xx" it will show something like "2x3x4" you'll need to add the 'missing' lines to the oppost.php file.

    Specifically: Locate the line that reads"

    if (MODULE_SHIPPING_OZPOST_WEIGHT_FORMAT == "kgs") {$parcelweight = $parcelweight * 1000 ; }

    Then immediatly after this line add the following:

    $_SESSION['swidth'] = $parcelwidth ;
    $_SESSION['sheight'] = $parcelheight ;
    $_SESSION['slength'] = $parcellength ;
    $_SESSION['boxes'] = $shipping_num_boxes ;


    Cheers
    Rod
    Thanks once again for your help Rod. Worked like a charm.

    Just to correct the typo for any newbie like me, oppost = ozpost.

  9. #519
    Join Date
    Sep 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Is the server down again? It's not working at the moment...

  10. #520
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    4,056
    Plugin Contributions
    1

    Default Re: ozpost shipping module

    Quote Originally Posted by somedood View Post
    Is the server down again? It's not working at the moment...
    No problems that I can see.
    New support site for the ozpost shipping module now live!

 

 

Similar Threads

  1. USPS Shipping Module to Print Shipping Labels
    By HelenSama in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 8 Sep 2011, 03:17 PM
  2. Canadapost Shipping module and Dual Pricing module
    By oxxyfx in forum Addon Shipping Modules
    Replies: 1
    Last Post: 12 Feb 2009, 02:06 AM
  3. store pick-ip in ozpost shipping module
    By lazerweb in forum Addon Shipping Modules
    Replies: 2
    Last Post: 29 Jul 2008, 05:04 AM
  4. Clone a shipping module or define a new shipping attribute under table rate module?
    By meeven in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 4 Sep 2007, 04:56 PM
  5. MZMT shipping module - Display Shipping Options based on Weight
    By DogTags in forum Addon Shipping Modules
    Replies: 2
    Last Post: 27 Feb 2007, 04:26 AM

Bookmarks

Posting Permissions

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