Thread: AUSTPost module

Results 1 to 10 of 321

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: AUSTPost module

    Quote Originally Posted by ionebusiness View Post
    Hi Rod

    I think I may have found a bug but just wondered if you were aware of it.

    With versions of MySQL lower than 5.0.3, as you know you are limited to varchars with a max length of 255. On a couple of stores I've developed this has caused problems with the 'orders_total' table in the 'title' column whereby the html was being truncated and not terminating properly. This makes the invoices display incorrectly on certain browsers.

    I'm just upgrading the databases to 5.0.3 as we speak and am going to run an alter table on that column to increase its size. Hopefully, that should sort the problem.

    Thought you should know if you didn't already.

    Cheers
    Oooeerr, thanks for letting me know about this one. No, I wasn't aware of it.

    Thanks.

    Rod

  2. #2
    Join Date
    Jun 2008
    Location
    Coolum Beach, QLD, Australia
    Posts
    10
    Plugin Contributions
    0

    Default Re: AUSTPost module

    Quote Originally Posted by RodG View Post
    Oooeerr, thanks for letting me know about this one. No, I wasn't aware of it.

    Thanks.

    Rod
    Hi Rod

    I'm looking for the module I need to modify in order to change the actual concatenation of the html that gets inserted into the orders_total.title column. Can you point me in the right direction? I've got clients who can't upgrade to MySQL 5 so I'm intending to take off the first Australia Post logo from the html and just leave them with the shipping option instead to see if that does the trick for them.

    Cheers
    Andy

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: AUSTPost module

    Quote Originally Posted by ionebusiness View Post
    Hi Rod

    I'm looking for the module I need to modify in order to change the actual concatenation of the html that gets inserted into the orders_total.title column. Can you point me in the right direction?
    The easiest/safest/best way to do this is to edit:

    /includes/languages/english/modules/shipping/austpost.php

    Once you open the file into an editor it will be quite obvious what you need to change. :-)

    Cheers
    Rod.

  4. #4

    Default Re: AUSTPost module

    Has anyone figured out how to make the order total cost text line up with the images (or make the text that is part of the shipping method center vertically with the images instead of the bottom)? The best I could do was to center the cost text but the title text was still aligned with the bottom of the images, making it look sloppy.

    This seems very complex to me to be done properly. I doubt I will get a response unless it has been done before, easily enough. Thanks regardless.

  5. #5

    Default Re: AUSTPost module

    Quote Originally Posted by ionebusiness View Post
    Hi Rod

    I'm looking for the module I need to modify in order to change the actual concatenation of the html that gets inserted into the orders_total.title column. Can you point me in the right direction? I've got clients who can't upgrade to MySQL 5 so I'm intending to take off the first Australia Post logo from the html and just leave them with the shipping option instead to see if that does the trick for them.

    Cheers
    Andy
    It's in the shipping module, in include/modules/shipping/austpost.php. Good luck, it is unlikely you will be able to fix it from there, unless you remove the images altogether and have a decent understanding of PHP; it is a very complex module. I just posted a simple question in the same ballpark. (The order total generator file is tpl_module_order_totals.php.) You can remove the entire shipping title and replace it with a generic one perhaps.

    Well, just removing that one header image, on second reading, that is much more possible - still a decent basic of PHP would be necessary.

    Good luck.

 

 

Similar Threads

  1. Austpost module v 3.02
    By pchappy in forum Addon Shipping Modules
    Replies: 1
    Last Post: 23 Feb 2009, 02:41 PM
  2. Austpost module
    By crankyvirgo in forum Addon Shipping Modules
    Replies: 1
    Last Post: 15 Apr 2008, 05:51 AM
  3. AustPost Module Logos
    By tannersports in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 20 Mar 2008, 07:25 AM

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