Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Posts
    6
    Plugin Contributions
    0

    bug Flat Shipping Clones

    I have created clones of the flat rate files.

    The code file located in:
    /includes/modules/shipping/flat.php

    The language file located in:
    /includes/languages/english/modules/shipping/flat.php

    I have put them in my custom folder and made them flat, flatasia and flatworld. All seems to work great in the cart and they say (title & description) what they should. But in the shipping module itself in admin they display as:

    MODULE_SHIPPING_FLATASIA_TEXT_TITLE
    MODULE_SHIPPING_FLATASIA_TEXT_DESCRIPTION

    Can someone let me know how I can fix this please.



    Scott

  2. #2
    Join Date
    Sep 2005
    Location
    Hong Kong
    Posts
    307
    Plugin Contributions
    0

    Default Re: Flat Shipping Clones

    In your /includes/languages/english/modules/shipping/flatasia.php file, have you changed :

    MODULE_SHIPPING_FLAT_TEXT_TITLE
    MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION

    to :

    MODULE_SHIPPING_FLATASIA_TEXT_TITLE
    MODULE_SHIPPING_FLATASIA_TEXT_DESCRIPTION

    ?

    Shirley

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Flat Shipping Clones

    NOTE: overrides only work when there is an original file ...

    New shipping modules belong in the same directories as the existing ones:
    /includes/modules/shipping
    /includes/languages/english/modules/shipping

    Overrides would be on the language file when you want to ensure customization of the language file is not overwritten on an install ...
    /includes/languages/english/modules/shipping/your_template_dir

    But regardless, there needs to be an original file in the main directories for the new shipping modules to work ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v151 Flat Rate shipping clones not working
    By tjaquatic in forum General Questions
    Replies: 4
    Last Post: 12 Mar 2013, 06:33 PM
  2. v139e Combine Flat Rate shipping and shipping cost based on weight
    By dang in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 13 Nov 2012, 05:45 PM
  3. Flat shipping in US by price, per item shipping everywhere else?
    By johncvrg in forum Managing Customers and Orders
    Replies: 1
    Last Post: 19 Mar 2010, 09:54 PM
  4. free shipping defualt plus courier shipping (flat rate)
    By snukos.eu in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 11 Mar 2010, 04:53 AM
  5. Flat rate shipping per item with shipping & handling
    By FlameAngel in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 8 Jan 2008, 05:43 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