
Originally Posted by
Woodymon
So the two arrays you posted above is your normal setup?. Do you truly offer each one of those shipping methods and options? I understood previously you were only offering USPS and freeoptions?
At any rate I wanted to to see the two arrays you used for EACH limited test so I could copy and paste into my module file and attempt to emulate your scenario (and Ropu needs the same). But so far you have not offered that information.
Woody
Woody, the only two shipping modules I use and have installed are USPS and freeoptions. You understood correctly the first time.
Now I'm just using the USPS module for the sake of simplifying things.
I was simply copying and pasting what's in my includes/modules/payment/googlecheckout.php file, which is pretty much what you find in the file by default, the only changes I have made to it is the new USPS naming.
When you mention you want to attempt to emulate my scenario, does that mean you have USPS international options working just fine on your shop?
I really don't have any custom coding in the file. It's just what's there by default plus the update for the new naming of the usps options.
When I did those tests, everything in the file stayed the same except for the usps part when I changed to the following for the one test:
PHP Code:
'usps' => array(
'domestic_types' =>
array(
'Express' => 'Express Mail',
'First Class' => 'First-Class Mail',
'Priority' => 'Priority Mail',
'Parcel' => 'Parcel Post',
),
'international_types' =>
array(
'Express Mail Int' => 'Express Mail International (EMS)',
),
),
and this for the other test:
PHP Code:
'usps' => array(
'domestic_types' =>
array(
'Express' => 'Express Mail',
'First Class' => 'First-Class Mail',
'Priority' => 'Priority Mail',
'Parcel' => 'Parcel Post',
),
'international_types' =>
array(
'First-Class Mail Int' => 'First-Class Mail International',
),
),
I don't think it makes any difference, but did you want me to remove or comment out all the arrays for the modules I don't have installed?
Bookmarks