Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Change name of flat shipping module

    Hi,
    Years ago I installed additional flat shipping modules, named flat2 flat3 etc.
    I'm now trying to change the name that appears in admin/customers/orders, so that instead of saying flat2, it says something like standarddelivery.
    There is no option in the language define that names that section of text...

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Change name of flat shipping module

    have you looked at the file that should have been created at includes/languages/english/modules/shipping/your_new_flatrate.php
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Re: Change name of flat shipping module

    Yes, I have added text for the following
    define('MODULE_SHIPPING_FLAT2_TEXT_TITLE', 'Standard Courier');
    define('MODULE_SHIPPING_FLAT2_TEXT_DESCRIPTION', 'Courier charge');
    define('MODULE_SHIPPING_FLAT2_TEXT_WAY', '2-3 Day delivery');

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Change name of flat shipping module

    On a test install I am looking at the invoice and it represents the values entered in the flat.php language module

    Is this where you are talking about
    admin > customers > orders > edit > invoice
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Re: Change name of flat shipping module

    It's just in the Customers/Orders section...Name:  Capture.JPG
Views: 173
Size:  20.7 KB

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Change name of flat shipping module

    For that you would need to edit the two files replacing all "flat" with "courier"
    And all "FLAT" with "COURIER"

    Renaming the files from flat.php to courier.php

    I would keep the code names simple like courier instead of standard courier as spaces are not acceptable
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Re: Change name of flat shipping module

    Thanks for the input kobra :)

 

 

Similar Threads

  1. Flat Clone shipping module
    By Ms_X in forum Addon Shipping Modules
    Replies: 0
    Last Post: 24 Oct 2010, 03:57 PM
  2. Flat rate shipping change
    By pensive612 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 21 Feb 2010, 02:18 AM
  3. shipping module, can you charge flat shipping fee for one item?
    By jonnyboy22 in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 9 Apr 2009, 06:40 AM
  4. Flat rate shipping module
    By tammy_kenny in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 25 Jul 2006, 01:07 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