Community Add-Ons

Add file to this package
Top » Shipping Modules

Free Shipping w/ Minimum Amount
for osCommerce Online Merchant v2.2

This shipping module is modified from which allowed you to offer free shipping w/ a minimum number of products in the shopping cart.

This edition of the script offers free shipping with a minimum order amount in dollars (or whatever your local currency).

cd /usr/htmldir/catalog/..
tar -xvzf freeamount.tar.gz

this will place a file in catalog/includes/modules/shipping/ and a file in catalog/includes/languages/english/modules/shipping/. Feel free to edit files to tailor to your situation.

Now load your administration pages and configure "Free Shipping w/ Minimum Amount". Send email if you have questions.

Legend:  Download   Report

Expand All / Collapse All

Free Shipping w/ Minimum Amount v3.5e-C sojomy 6 Feb 2009  

I am calling this v3.5e-C because it is based on the 3.5e version. I ignored v3.5f and the "Free Amount changes for Google Checkout Support" version because I didn't need any of that and wanted to keep complications out of my store. I also ignored v3.5e-b because I think the changes are unneccessary. And finally, I ignored v3.6f because I don't speak german and don't know what it does.

Basically this version that I am uploading is v3.5e PLUS I fixed the calculations where it takes into account whether to count products on special towards the minimum amount required to qualify for free shipping. Version 3.5e does account for products on special, but does not account for products on special purchased in multiple quantities. I simply rewrote that section. So if you want to use one of the other versions provided, you can simply change the following section.

In catalogincludesmodulesshippingfreeamount.php, find the section that checks whether MODULE_SHIPPING_FREEAMOUNT_HIDE_SPECIALS is true or not (around line 67), and replace that whole IF section with this

if ($cart->count_contents() > 0) {
$products = $cart->get_products();
for ($i=0, $n=sizeof($products); $i<$n; $i++) {
if ($special_price = tep_get_products_special_price($products[$i]['id'])) {
$cart_total -= ($special_price * $products[$i]['quantity']);

Freeamount3.6 Marcx 8 Oct 2008  
Free Amount changes for Google Checkout Support 19 Aug 2008  
Free Shipping w/ Minimum Amount3.5e-b adoncreative 2 Jul 2008  
v3.5f rkoechel2004 25 Nov 2007  
v3.5e homewetbar 24 Aug 2007  
v3.5d homewetbar 24 Aug 2007  
Update Minimum Amount jwatts 5 Mar 2007  
Freeamount 3.5c fr proshack 6 Dec 2006  
Show amount in active currency mbuswell 15 Nov 2006  
Freeamount 3.5c w/norwegian language rctech 15 Mar 2006  
Freeamount 3.5c Sid04 18 Feb 2006  
Freeamount 3.5b wheeloftime 5 Nov 2005  
Free Amount 3.5a ValKiller 5 Nov 2005  
Freeamount 3.5 wheeloftime 29 Sep 2005  
Freeamount 3.4 wheeloftime 28 Sep 2005  
freeamount v3.3 Florian Strauß 11 Mar 2005  
freeamount v3.3 Florian Strauß 11 Mar 2005  
freeamount v3.2 Keith 21 Sep 2004  
FreeAmount version 3.1 BearHappy 4 Sep 2004  
freeamountv3 xaglo 8 Jun 2004  
Free Amount V2 Patch Karsten Ley 31 Jan 2003  
freeamont v2 xaglo & pericles 10 Jan 2003  
Free Shipping w/ Minimum Amount Andrew Edmond 2 Jun 2002