Zen Cart Logo

Flat Shipping Clones

Locked

Views: 960

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
5 Aug 2007, 9:49 AM
#1
sgp avatar

sgp

New Zenner

Join Date:
Aug 2007
Posts:
6
Plugin Contributions:
0

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.

:censored:

Scott

7 Aug 2007, 11:16 AM
#2
shirster avatar

shirster

Zen Follower

Join Date:
Sep 2005
Location:
Hong Kong
Posts:
301
Plugin Contributions:
0

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

7 Aug 2007, 3:20 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ...