Post by Johnathan » Mon Sep 30, 2013 10:28 pm

This edit will remove all text after the first < symbol in all USPS titles:

Code: Select all

IN:
/catalog/model/shipping/usps.php

AFTER:
if ($quote_data) {

ADD:
foreach ($quote_data as &$quote) {
     $quote['title'] = str_replace('&', '&', $quote['title']);
     if (strpos($quote['title'], '<')) {
          $quote['title'] = substr($quote['title'], 0, strpos($quote['title'], '<'));
     }
} 
If that doesn't work for you, see the fix posted by BionicBill, and ensuing discussion, here:

http://forum.opencart.com/viewtopic.php ... 96#p424265

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 15 guests