Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

limiting shipping details that are writting to orders_total


Recommended Posts

Posted

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

  1. Is it an easy change to only write the shipping modules TEXT_TITLE to order_total and how
  2. 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

Posted

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)));

 

 

Posted

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

Posted
2 minutes ago, supercheaphobb said:

But this is exactly what I was after - hopefully it will work

100% sure it will work :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...