Fixes shipping estimate return $0
Orig lines 57-58:
$srcFSA = substr(strtoupper(SHIPPING_ORIGIN_ZIP), 0, 3);
$desFSA = substr(strtoupper($order->delivery['postcode']), 0, 3);
Change to:
$srcFSA = substr(str_replace(" ", "", strtoupper(SHIPPING_ORIGIN_ZIP)), 0, 6);
$desFSA = substr(str_replace(" ", "", strtoupper($order->delivery['postcode'])), 0, 6);
More...





LinkBack URL
About LinkBacks









Bookmarks