I'm confused because when I look at the cheapest_method function, it explicitly checks for storepickup and will not use that as the cheapest rate. However, I think this is a bug because if storepickup is the ONLY rate, it still will not get selected as the cheapest. This causes issues with mods like FEC.
Here is my fix.
Change line 172 to:
PHP Code:
if (($rates[$i]['cost'] < $cheapest['cost'] and $rates[$i]['module'] != 'storepickup') || $size == 1) {
and line 176 to:
PHP Code:
if ($rates[$i]['module'] != 'storepickup' || $size == 1) {
Bookmarks