SCH_001 Posted June 16, 2019 Share Posted June 16, 2019 Hi all, So at the moment is appears that FLAT_TEXT_TITLE and FLAT_TEXT_WAY from public_html/includes/languages/english/modules/shipping/flat.php are written to order_total Is it an easy change to only write the shipping modules TEXT_TITLE to order_total and how will doing this break anything else The issue is I have a fairly long TEXT_WAY and this is then appearing in customers order and invoice making a mess of things Many thanks Link to comment Share on other sites More sharing options...
♥JcMagpie Posted June 16, 2019 Share Posted June 16, 2019 Would be better to fix the invoice than messing with the code. Better still just shorten your text? if you using frozen then look in includes/modules/shipping/flat.php class methods function quote($method = '') { global $order; $this->quotes = array('id' => $this->code, 'module' => MODULE_SHIPPING_FLAT_TEXT_TITLE, 'methods' => array(array('id' => $this->code, 'title' => MODULE_SHIPPING_FLAT_TEXT_WAY, 'cost' => MODULE_SHIPPING_FLAT_COST))); Link to comment Share on other sites More sharing options...
♥Moxamint Posted June 16, 2019 Share Posted June 16, 2019 @supercheaphobb Take a look at this one: https://apps.oscommerce.com/lRMLi&fix-shipping-method-description-in-order Eddy Link to comment Share on other sites More sharing options...
SCH_001 Posted June 16, 2019 Author Share Posted June 16, 2019 Many thanks @Moxamint I am running frozen BS and will try this tomorrow evening as it coming on midnight now But this is exactly what I was after - hopefully it will work Link to comment Share on other sites More sharing options...
♥Moxamint Posted June 16, 2019 Share Posted June 16, 2019 2 minutes ago, supercheaphobb said: But this is exactly what I was after - hopefully it will work 100% sure it will work Link to comment Share on other sites More sharing options...
SCH_001 Posted June 17, 2019 Author Share Posted June 17, 2019 worked a treat and so easy... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.