Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Does anyone know how I can combine the Table Rate Shipping with The Individual Product Shipping Prices so that it will add the regular shipping plus individual shipping prices when they check out

I've been trying to see if I can recall the DB info from indvship.php in table.php and tried various ways to edit the following code:

 

$this->quotes = array('id' => $this->code,

'module' => MODULE_SHIPPING_TABLE_TEXT_TITLE,

'methods' => array(array('id' => $this->code,

'title' => MODULE_SHIPPING_TABLE_TEXT_WAY,

'cost' => $shipping + MODULE_SHIPPING_TABLE_HANDLING)));

 

Unfortunatly I'm not well versed in PHP nore Database

Any suggestion would be greatly apreciated

Posted

I Figured it out.

 

After Installing the indivdual product price mod I opened up the table.php and add

 

$shiptotal = $cart->get_shiptotal();

 

below

 

global $order, $cart, $shipping_weight, $shipping_num_boxes;

 

Then edited

 

'cost' => $shipping + $shiptotal)));

 

works great

 

Now all I have to do is figure out how to add free shipping over $1000 and i'm all set.

Any suggestions :)

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...