I finally got this fixed, v1.4.9.3 I use a shipping flat rate boxes calculator so it figures out the cheapest size box per dimensions of the products. It has been displaying <sup>®</sup> in the box description. To remove this you will need to add this code after curl_close($ch); located in catalog/model/shipping/usps.php
add this after curl_close($ch);
// strip reg and trade out 01-02-2011
$result = str_replace('<sup>&reg;</sup>', '', $result);
$result = str_replace('<sup>&trade;</sup>', '', $result);
This is what it should look like
curl_close($ch);
// strip reg and trade out 01-02-2011
$result = str_replace('<sup>&reg;</sup>', '', $result);
$result = str_replace('<sup>&trade;</sup>', '', $result);
Always make a back up before editing.
Hope this helps some people
Fastercat12
I am using Opencart 1.5.6.2 and had this same problem. This is my version of what fixed it:
Original Code was... (I added the comments just to keep it in place)
// strip reg, trade and ** out 01-02-2011
//$result = str_replace('<sup>&reg;</sup>', '', $result);
//$result = str_replace('<sup>&trade;</sup>', '', $result);
Then this is what I added...
//Start AMWard Edit on 04-22-2014 to remove this crap from showing up on checkout.
$result = str_replace('<sup>®</sup>', '', $result);
$result = str_replace('<sup>™</sup>', '', $result);
//End AMWard Edit
Initial testing showed good results. It got rid of the sup! I still have more testing to do to make sure it is all working properly. But I hope this helps someone repair the new release. I worked on this baby for hours until I derived this... I am not that fluent in PHP, just enough to get me in trouble.
Original Code was... (I added the comments just to keep it in place)
// strip reg, trade and ** out 01-02-2011
//$result = str_replace('<sup>&reg;</sup>', '', $result);
//$result = str_replace('<sup>&trade;</sup>', '', $result);
Then this is what I added...
//Start AMWard Edit on 04-22-2014 to remove this crap from showing up on checkout.
$result = str_replace('<sup>®</sup>', '', $result);
$result = str_replace('<sup>™</sup>', '', $result);
//End AMWard Edit
Initial testing showed good results. It got rid of the sup! I still have more testing to do to make sure it is all working properly. But I hope this helps someone repair the new release. I worked on this baby for hours until I derived this... I am not that fluent in PHP, just enough to get me in trouble.

Who is online
Users browsing this forum: No registered users and 7 guests