Post by incan » Fri Sep 23, 2011 3:15 pm

In /catalog/model/shipping/flat.php

Code: Select all

      		$quote_data['flat'] = array(
        		'code'         => 'flat.flat',
        		'title'        => $this->language->get('text_title'),
        		'cost'         => $this->config->get('flat_cost'),
        		'tax_class_id' => $this->config->get('flat_tax_class_id'),
				'text'         => $this->currency->format($this->tax->calculate($this->config->get('flat_cost'), $this->config->get('flat_tax_class_id'), $this->config->get('config_tax')))
      		);

      		$method_data = array(
        		'code'       => 'flat',
        		'title'      => $this->language->get('text_title'),
        		'quote'      => $quote_data,
				'sort_order' => $this->config->get('flat_sort_order'),
        		'error'      => false
The 'text_title' is there twice. For other shipping methods,for example free shipping there is also a 'text_description' string.

Having problems changing the language file in checkout process...

Active Member

Posts

Joined
Fri May 28, 2010 5:53 pm
Who is online

Users browsing this forum: No registered users and 82 guests