Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Table Rate (Best Way) 2.3


DrumrLC

Recommended Posts

Is there a shipping module that works similar to the Table Rate (Best Way) shipping module from 2.2 that's compatible with 2.3? I need to charge a minimum shipping fee then a percentage based on price.

 

Thanks.

Link to comment
Share on other sites

To get the functionality I needed I just added this code below line 64 in /includes/modules/shipping/table.php

 

//Percentage Mod
  if ( strpos($shipping,"%") > 0 && MODULE_SHIPPING_TABLE_MODE == 'price') {
  	$shipping = $order_total * round(($shipping/100),2);
  }
//end Percentage Mod

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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