If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Shipping Modules / A few questions about zones and why isn't this working etc...

A few questions about zones and why isn't this working etc...

Locked

Started by recordshow on 21 Nov 2006, 10:57 PM · Views: 2,137

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
21 Nov 2006, 10:57 PM
#1
recordshow avatar

recordshow

New Zenner

Join Date:
Sep 2005
Posts:
79
Plugin Contributions:
0

Post #1 by recordshow

A few questions about zone setup and template overrides.

I'm trying to add 2 more zones. I followed the directions I found in the forum.
I went to:
store/includes/modules/shipping/zones.php
and changed the number ($this->num_zones = 3;) from 3 to 5 and all it did was added 5 more text boxes under zone 3 for 'handling fee'

I also copied the .php file made this custom folder/file:
store/includes/custom_template/shipping/zones.php
Is this correct???

I am under the understanding that I am supposed to make a custom_template folder wherever I see a "classic" folder correct? Then if I make changes to .php files I am supposed to copy them into the custom_template folder right?

I'm asking because making changes to:
store/includes/custom_template/shipping/zones.php does nothing but making changes to: store/includes/modules/shipping/zones.php does something.

So why is it still reading the core file when I made the override and set it in the admin etc.. Is my path wrong?

Please help.

22 Nov 2006, 12:25 AM
#2
ajeh avatar

ajeh

Oba-san

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

Post #2 by ajeh

To add more zones ... you want to edit the Shipping Module for Zones ... and copy all settings to NotePad or something as they will be lost ...

Remove ...

Change setting in zones.php to how many you need ...

Install ...

Voila ... more Zones!!

Now just configure ...

You did save your original settings before hitting Remove ... right? :eek:

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!