I'm trying to add the domestic "FLAT RATE BOX" to my USPS module, however, so far it's only appearing as an option in my admin menu, it doesn't give me any rates back yet. (Btw, I checked the 1.3.8a version, it doesn't include it either or else I would've copied it.)
Here's what I modified so far:
Code:
$this->types = array('Express' => 'Express Mail',
'First Class' => 'First-Class Mail',
'Priority' => 'Priority Mail',
'Priority Mail Flat Rate Box' => 'Priority Mail Flat Rate Box', 'Parcel' => 'Parcel Post',
'Media' => 'Media Mail',
'BPM' => 'Bound Printed Material',
'Library' => 'Library'
);
Code:
// BOF: UPS USPS
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Domestic Shipping Methods', 'MODULE_SHIPPING_USPS_TYPES', 'Express, Priority, Priority Mail Flat Rate Box, First Class, Parcel, Media, BPM, Library', 'Select the domestic services to be offered:', '6', '14', 'zen_cfg_select_multioption(array(\'Express\', \'Priority\', \'Priority Mail Flat Rate Box\', \'First Class\', \'Parcel\', \'Media\', \'BPM\', \'Library\'), ', now())");
Now, if I read this manual correctly, in order to get the 'FLAT RATE BOX' rate, it has to be specified, but all I can find is this:
Code:
$this->_setContainer('None');
Anywhere else I can find 'containers'??? Simply changing it doesn't do the trick. Anyone with ideas?
Thanks.
A
Bookmarks