Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    1
    Plugin Contributions
    0

    Default Re: Custom Flat Shipping Rates and Shipping Method Titles

    I have been reading the different messages regarding cloning the shipping files. I have tried cloning, and I would see the clone in the admin of zen-cart, but when I pass the cart to Google Checkout V1.4.5, I would only see one option for flat rates instead of multiple.

    Google Checkout permits Multiple Carrier Calculated Shipping, but will it allow me to do multiple flat rate shipping?

  2. #2
    Join Date
    Aug 2007
    Posts
    6
    Plugin Contributions
    0

    bug Re: Custom Flat Shipping Rates and Shipping Method Titles

    I have created clones off the flat rate files myself.

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

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

    And made them flat, flatasia and flatworld. All seems to work great in the cart and they say (title & description) what they need too. But in the shipping module in admin they display as:
    MODULE_SHIPPING_FLATASIA_TEXT_TITLE
    MODULE_SHIPPING_FLATASIA_TEXT_DESCRIPTION

    Can someone let me know if this can be fixed.

    Scott

  3. #3
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Custom Flat Shipping Rates and Shipping Method Titles

    Quote Originally Posted by SGP View Post
    I have created clones off the flat rate files myself.

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

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

    And made them flat, flatasia and flatworld. All seems to work great in the cart and they say (title & description) what they need too. But in the shipping module in admin they display as:
    MODULE_SHIPPING_FLATASIA_TEXT_TITLE
    MODULE_SHIPPING_FLATASIA_TEXT_DESCRIPTION

    Can someone let me know if this can be fixed.

    Scott
    If that is displaying in the Admin, rather than the actual name (such as Flat Asia) then you either missed defining the constants you show above, or you have an error in your text for the define.

    Make sure you actually did create some text for the defines.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  4. #4
    Join Date
    Aug 2007
    Posts
    6
    Plugin Contributions
    0

    bug Re: Custom Flat Shipping Rates and Shipping Method Titles

    Eric, Thanks for the quick reply.

    When I added details to
    /includes/languages/english/modules/CUSTOM/shipping/flat.php it showed the new values in Admin/Modules/Shipping (eg. Padded Post Bag - Australia) However it has not done the same for flatasia.php and flatworld.php. I am not to sure what other details to add and where to add them without screwing around with the code. Do I add the actual constants definitions to the includes/modules/CUSTOM/shipping/flatasia.php page instead of /includes/languages/english/modules/shipping/CUSTOM/flatasia.php

    Regards, Scott

  5. #5
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Custom Flat Shipping Rates and Shipping Method Titles

    Each new cloned shipping module needs to have its own unique language file. As well, you will need to make sure you define (and alter the constant accordingly) to the new "terminology" you want to use.

    Basically, do the exact same thing you did for the first module (which you said worked), and duplicate that for the remaining two. It should do the trick. Make sure you are careful in naming and using the proper constants associated with each new mod you created.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  6. #6
    Join Date
    Dec 2005
    Posts
    6
    Plugin Contributions
    0

    Default Re: Custom Flat Shipping Rates and Shipping Method Titles

    Could you show a more specific example with code changed in one 'flatasia.php' file or similar as an example?

    Changed everything including the function names but it still conflicts with the original flat.php and kicks errors when you '+Install'

    Do you need to change the configuration install strings as well (beyond the variable names?)

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 US and International Shipping Flat Rates plus calculated shipping rates.
    By Rick5150 in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 22 Jan 2013, 10:48 PM
  2. v139h Flat Rates for Domestic First Class and Priority Shipping
    By Yolanda in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 14 Jul 2012, 07:14 PM
  3. v139h Need to set Flat AND combined shipping rates
    By IntegriTivity in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 18 Jan 2012, 05:16 PM
  4. Shipping to Canada and US, two flat rates
    By tedvieira in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 29 May 2008, 08:37 PM
  5. Set flat rates based on UPS shipping method?
    By 3hounddesign in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 23 Oct 2007, 10:34 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