Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Wondering is it possible to hide a shipping option unless a certain order amount is reached


Recommended Posts

Hi folks - looking for some pointers in the right direction on this one. I want my shipping to operate like this ...


1) Table rate for standard postage based on a per quantity basis ie 1 unit = €5.00 2 units=€9.00 etc

2) A second table rate giving an option of registered courier post again per quantit ie 1 unit = €8.00 2=€13.00 etc


The above 2 I have found using a contribution.


What I want though is to also offer free shipping on orders over a certain cash amount.


3) Free shipping by standard post if order over €50

4) Free shipping by courier if over €100


I would not want these to show up though unless the total was over the threshold given. I know I could use a table rate with a large postage cost up to €49 and then free over €50 etc but it would look so much more professional if options 3 and 4 only were displayed when the qualifying criteria were met.


Many thanks in advance for any help or suggestions offered.

Link to comment
Share on other sites

  • 2 weeks later...


I am no good at php and need a little help with installing this code, at line 80 in flat.php I see this





Then the instructions say

In the particular shipping module you wish to apply this to ( catalog/includes/modules/shipping/FILE.php ) insert the following at line 80:



if ( ($this->enabled == true) && ($order_total <100) ) {

$this->enabled = false;




So I now have code that looks like this but starting from line 61


 if (tep_not_null($this->icon)) $this->quotes['icon'] = tep_image($this->icon, $this->title);
//below added for free shipping over £100
if ( ($this->enabled == true) && ($order_total <100) ) {
$this->enabled = false;
  return $this->quotes;


However this just keeps reloading the page now on the delivery information bit I cant seem to progress beyond this can anyone help





Edited by ian_m
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.

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