daxcastro Posted February 24, 2005 Share Posted February 24, 2005 I recently installed oscommerce on a new site (copied the files from the old site) and now when i try to use the individual shipping module I get: Fatal error: Call to undefined function: get_shiptotal() in /home/virtual/site1/fst/var/www/html/oscommerce/includes/modules/shipping/indvship.php on line 53 Any help? Line 53 noted in red // class methods function quote($method = '') { global $order, $cart; $shiptotal = $cart->get_shiptotal(); $this->quotes = array('id' => $this->code, 'module' => MODULE_SHIPPING_INDVSHIP_TEXT_TITLE, 'methods' => array(array('id' => $this->code, 'title' => MODULE_SHIPPING_INDVSHIP_TEXT_WAY, 'cost' => $shiptotal))); if ($this->tax_class > 0) { $this->quotes['tax'] = tep_get_tax_rate($this->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']); } if (tep_not_null($this->icon)) $this->quotes['icon'] = tep_image($this->icon, $this->title); return $this->quotes; } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.