Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Duplicated zones.php - now having display issues

Duplicated zones.php - now having display issues

Locked

Views: 887

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
9 Jul 2007, 4:55 PM
#1
phreakymonkey avatar

phreakymonkey

New Zenner

Join Date:
Jun 2007
Posts:
20
Plugin Contributions:
0

Duplicated zones.php - now having display issues

My store is based in Japan, and I'll be using Japan Post for all of my shipping. Their rates are set up like so, so clearly zone and table-based shipping is the way to go. I wanted to create a few different international shipping options, but the MZMT module I duplicated the zones.php module twice, replaced all the variables, etc., and they work fine. The only problem is display-related. Since two of the shipping options are international only, I have Japan set to be excluded. However, when checking out with a Japanese address, the empty fieldsets for the inactive modules are still being drawn. Here's what it looks like:

I suspect that because I duplicated the zones module, as long as one of them is active, it will draw all three boxes. Clearly I need to add a few lines to tpl_checkout_shipping_default.php, but my php skills are more or less nonexistent and this file is denser than most. Any advice on how to approach this would be much appreciated.

13 Jul 2007, 7:34 AM
#2
phreakymonkey avatar

phreakymonkey

New Zenner

Join Date:
Jun 2007
Posts:
20
Plugin Contributions:
0

Re: Duplicated zones.php - now having display issues

Any ideas? Is this a completely hopeless pursuit?

16 Aug 2007, 3:51 PM
#3
shirster avatar

shirster

Zen Follower

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

Re: Duplicated zones.php - now having display issues

Just wondering if you ever sorted it out? I'm having the same problem :(

Shirley