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.