Contributions

Features (Category Index)
Search: 

Get 1 Free

This contribution allows you to promote a product by giving a free product when
the customer buys a specified number of the product you are promoting. This is
commonly used for a "buy two, get one free" promotion, but it is more versatile
than that:
* The qualifying quantity of the product you are promoting can be any number,
including one.
* The free product can be the same as the promoted product or any other product
in your catalog.
* You can limit the free product to one per order or any number that you wish.
* Like specials, you can set a date for the offer to expire.
* You can have any number of products in this promotion with different
requirements for each.

The free product is automatically added to the customers shopping cart when they
purchase a qualifying product in the qualifying quantity (or more.) The free
product is removed when the customer removes the qualifying product from their
cart or reduces the quantity below the qualifying quantity. The customer cannot
increase the number of free products without qualifying for them. It's designed
to be fairly foolproof.

The support thread is here:
http://forums.oscommerce.com/index.php?showtopic=255288

Expand All / Collapse All

Bug Fix: Min.Order QTY gokkus 12 Apr 2009

Normalerweise wenn Sie einen Artikel haben mit Mindestbestellabnahme, dann erhöht dieser Contrib auch die kostenlose Artikel auf Mindestbestellabnahme.Also wenn Sie einen Artikel haben der min.best.menge ist 8 hat.

Und Get1free haben Sie für den Artikel als 10 eingestellt.

Wenn jemand das 10 stück bestellen möchte, dann sieht noch 8 Stück als kostenlos, nicht 1...

Das habe ich so verhindert:

nach der Installation finden Sie diesen Code in shopping_cart.php :

if ($products[$i]['quantity'] < $min_order['min_quant'] ) {
$products[$i]['min_quant']=$min_order['min_quant'];
}
}

und ersetze durch:

if ($products[$i]['final_price']>'0') {
//ende
if ($products[$i]['quantity'] < $min_order['min_quant'] )
$products[$i]['min_quant']=$min_order['min_quant'];
}
}

Danke
------
http://www.eksa-trade.com
http://www.es-toys.com

BUG FIX: wrong free product count in the includesclasses/shopping_cart.php fischo 10 Apr 2009
Vorausgesetzte Menge schraeg 6 Jul 2008
Addon: Linking free product oh the main product (fixed db entry) dmordred 6 Jul 2008
Addon: Linking free product oh the main product dmordred 6 Jul 2008
Version 1.4.2 desiredin 10 Apr 2008
corrected 1.4 Adam46 2 Mar 2008
Version 1.4 Adam46 21 Feb 2008
Fixes and additions flom 30 Nov 2007
Get 1 Free v1.3 kymation 21 Nov 2007
Fixed small failure in "Get 1 Free 1.2a bugfix" flom 17 Nov 2007
Get 1 Free 1.2a bugfix mnk 12 Aug 2007
Get 1 Free 1.2 kymation 31 May 2007
customer notification info timidphper 8 May 2007
Get 1 free 1.1b djbastard 24 Apr 2007
Get 1 Free 1.1a kymation 28 Mar 2007
Get 1 Free 1.1a kymation 27 Mar 2007
Get 1 Free 1.1 kymation 27 Mar 2007
Get 1 Free kymation 18 Mar 2007

Note: Contributions are used at own risk.