osCommerceCoders.com

Affordable end to end oscommerce solutions with
Search Engine Optimization

Email : osCommerceCoders@gmail.com
Call : +1 818-574-3596 (USA) / +44 (020) 8123-6463 (UK)

USPS Methods Jan 2 2011 – International Shipping Error

Posted by admin On January - 3 - 2011

in usps.php

Locate

list($type, $cost) = each($uspsQuote[$i]);

Add these lines after it

$type = str_replace(‘<sup>®</sup>’, ”, $type);
$type = str_replace(‘<sup>™</sup>’, ”, $type);
$type = str_replace(‘**’, ”, $type);

This removes the everything that was added by USPS that was causing errors on the site. It also fixes the international issue (response had added a ** to the end of the title).

thanks

http://www.oscommerce.com/community/contributions,487

If you need paid support you can use the contact us in the site

Sponsors