The attached ZIP file provides a system to offer a number of free products with different purchase values at checkout. The Zip file is for a standard Virtuemart installation. For those using Macalf child mod, the basket.php in the ZIP file woud need to be replace with the separate basket.php file below.
Modification is developed by J Kwan and is free. If you like it, contributions would be gratefully accepted.
PLEASE BACK UP YOUR SITE BEFORE USING
Hey John or Others,
I have tested that tool with my Joomla 1.0.11 and VM 1.0.5.
It runs but there is only one problem. If I put more the one free-product-category in the basket will be listed all products from every free-product-category. For example:
$100 > freeA100, freeB100, freeC100
$250 > freeA250, freeB250, freeC250
If the customer have $100 in the basket there will be listed product
freeA100, freeB100, freeC100
If the basket more than 250 then
freeA100, freeB100, freeC100 and freeA250, freeB250, freeC250
in.
And if the customer between $100 and $250 the header.html write "Your basket is over $250"
Could someone help?
Best,
Torsten