Administrator
- Join Date:
- Feb 2006
- Location:
- Tampa Bay, Florida
- Posts:
- 10,758
- Plugin Contributions:
- 56
Mod Authors Please Note: Smart idea if you're adding configuration entries to addons
Please see USPS, version January 22, 2012 Version F.
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1962
Note in ./includes/modules/shipping/usps.php, lines 125-131
if (IS_ADMIN_FLAG) {
$chk_sql = $db->Execute("select * from " . TABLE_CONFIGURATION . " where configuration_key like 'MODULE\_SHIPPING\_USPS\_%' ");
$chk_keys = $this->keys();
if (sizeof($chk_keys) != $chk_sql->RecordCount()) {
$this->title = $this->title . '<span class="alert">' . ' - Missing Keys you should reinstall!' . '</span>';
}
}
If you are adding new configuration entries to your shipping (or payment or order total) module, please consider doing a double check like this which verifies that your users have done a REMOVE and then an INSTALL with the new files.
This is the gold standard. Please study it and make sure you understand it.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.