dailce Posted September 12, 2011 Posted September 12, 2011 On the account_history_info.php page - I can't believe I can't find where this break is The html code for shipping for instance will show the name like this: Per Item<br> (Best Way): But where is the break tag being created? I can't find it in the language file. The code is $order->totals[$i]['title'] But I checked the files and can't seem to find it
Guest Posted September 12, 2011 Posted September 12, 2011 What you are looking for is this array found in the /includes/modules/shipping/table.php file: $this->quotes = array('id' => $this->code, 'module' => MODULE_SHIPPING_TABLE_TEXT_TITLE, 'methods' => array(array('id' => $this->code, 'title' => MODULE_SHIPPING_TABLE_TEXT_WAY, 'cost' => $shipping + MODULE_SHIPPING_TABLE_HANDLING))); The shipping method is not passed to the account_history_info.php file. Chris
dailce Posted September 12, 2011 Author Posted September 12, 2011 No I don't think that's it. Maybe there is nl2br somewhere? Just added str_replace("<br/>"," ",$order->totals[$i]['title']) to remove the break tag, still can't find the code though.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.