Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)
Hello,

 

Can anyone help with following needed:

 

Flat Rate from 1-5 items = $7.00 + any additional items at $1.50 per item

 

Regards, John

 

Just a quick glance but try the following: - (presuming the file is catalog/includes/modules/shipping/flat.php)

// class methods
function quote($method = '') {
  global $order, $shipping_num_boxes;

  $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 + (($shipping_num_boxes-1) * 1.50))));

Edited by FWR Media

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...