Forums / Built-in Shipping and Payment Modules / Cloned table shipping module not showing zone selector

Cloned table shipping module not showing zone selector

Views: 1,000

Results 1 to 5 of 5
17 Oct 2013, 4:04 PM
#1
earmsby avatar

earmsby

Zen Follower

Join Date:
Oct 2006
Location:
Worcester, MA
Posts:
451
Plugin Contributions:
0

Cloned table shipping module not showing zone selector

I'm really banging my head against the wall on this. I've cloned table shipping files many times for many clients so am aware of the possible pitfalls when replacing "table" with "myclonedtablename". I'm pretty sure I have't missed any instance of table or TABLE that should have been changed and I'm pretty sure I didn't accidentally replace a "table" or "TABLE" that shouldn't have been changed. I also did clone the appropriate language file.

The thing is that the module works but the zone selector doesn't appear in the edit window in admin. There's just a box with no description or value. The box appears correctly in the default version from which I cloned my second shipping module. I've double checked the two files (original and clone) but can't find any differences other than the changed table/myclonedtable differences. I also uninstalled the cloned module and reinstalled it with no change.

Any thoughts on where to continue my investigation into this would be super helpful.

Thanks!

Ellie Armsby

17 Oct 2013, 4:10 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Cloned table shipping module not showing zone selector

What version Zen Cart are you in?

Usually that is the result of missing configuration keys ...

If you try another REMOVE, INSTALL and re-configure right now, and it does not fix this ... then Zip your cloned files and attach it to your thread here ...

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!

17 Oct 2013, 4:12 PM
#3
earmsby avatar

earmsby

Zen Follower

Join Date:
Oct 2006
Location:
Worcester, MA
Posts:
451
Plugin Contributions:
0

Re: Cloned table shipping module not showing zone selector

I'm sorry I thought by selecting my version when starting the thread, it would show. I'm on v. 1.5.1.

I'll try your suggestion and see if that works and if not do as you suggest.

Ellie Armsby

17 Oct 2013, 4:42 PM
#4
earmsby avatar

earmsby

Zen Follower

Join Date:
Oct 2006
Location:
Worcester, MA
Posts:
451
Plugin Contributions:
0

Re: Cloned table shipping module not showing zone selector

Argh! Found the problem! Stupid me. There was a tiny typo in my cloned file in the very last line:

function keys() {
    return array('MODULE_SHIPPING_USAGROUND_STATUS', 'MODULE_SHIPPING_USAGROUND_COST', 'MODULE_SHIPPING_USAGROUND_MODE', 'MODULE_SHIPPING_USAGROUND_HANDLING', 'MODULE_SHIPPING_USAGROUND_HANDLING_METHOD', 'MODULE_SHIPPING_USAGROUND_TAX_CLASS', 'MODULE_SHIPPING_USAGROUND_TAX_BASIS', '[B]MODULE_SHIPPING_TUSAGROUND_ZONE[/B]', 'MODULE_SHIPPING_USAGROUND_SORT_ORDER');
  }

USAGROUND !=**TUSAGROUND **:blush:

Ellie Armsby

17 Oct 2013, 5:29 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Cloned table shipping module not showing zone selector

Thanks for the update that this is now working for you and for posting what caused the problem ... :smile:

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!