Author Topic: Free gift with order value over $XX - SOLVED  (Read 28359 times)

John - Australia

  • Beginner
  • *
  • Posts: 47
Free gift with order value over $XX - SOLVED
« on: January 15, 2008, 12:35:27 pm »
I am wanting to offer:

a selection from 4/5 freegifts with every order,at checkout

and
if the order value is over $XX, then another free gift from a selection of 4 or 5 gifts.

I need this urgently and am hapy to contribute towards someones time in developing it

John

[attachment cleanup by admin]

John - Australia

  • Beginner
  • *
  • Posts: 47
Re: Free gift with order value over $XX - SOLVED
« Reply #1 on: January 22, 2008, 20:36:51 pm »
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

[attachment cleanup by admin]

charobnjak

  • Beginner
  • *
  • Posts: 24
Re: Free gift with order value over $XX - SOLVED
« Reply #2 on: January 23, 2008, 15:47:33 pm »
Demo please

mc_moe

  • Beginner
  • *
  • Posts: 6
Re: Free gift with order value over $XX - SOLVED
« Reply #3 on: February 24, 2008, 14:48:25 pm »
...looks really good, but it's not working in my case.
i uploaded the files according to your note, the gift is shown up, but it won't add to cart...

baggiesmad

  • Jr. Member
  • **
  • Posts: 308
Re: Free gift with order value over $XX - SOLVED
« Reply #4 on: March 31, 2008, 16:12:42 pm »
does this work?

mihail

  • Beginner
  • *
  • Posts: 2
Re: Free gift with order value over $XX - SOLVED
« Reply #5 on: May 17, 2008, 10:01:52 am »
Good job. Thank you John.

Tachikoma

  • Jr. Member
  • **
  • Posts: 66
Re: Free gift with order value over $XX - SOLVED
« Reply #6 on: August 19, 2008, 20:54:49 pm »
Which files go where?

The readme is seemingly written by an English writing non-native.
I loaded the files where I thought they go, then created the unpublished category and nothing changes to my site.
Joomla 1.5.4 on Siteground
Virtuemart 1.1.1

John - Australia

  • Beginner
  • *
  • Posts: 47
Re: Free gift with order value over $XX - SOLVED
« Reply #7 on: September 02, 2008, 04:56:08 am »
Hi
It can be seen in action at www.fithealth-au.com
John

reni

  • Beginner
  • *
  • Posts: 14
Re: Free gift with order value over $XX - SOLVED
« Reply #8 on: December 04, 2008, 20:47:07 pm »
Does this work with Virtuemart 1.1.2 ?

reni

  • Beginner
  • *
  • Posts: 14
Re: Free gift with order value over $XX - SOLVED
« Reply #9 on: December 05, 2008, 21:00:04 pm »
I can't get this to work with J1.5.8 and VM 1.1.2. I follow the instructions exactly but nothing happens?

reni

  • Beginner
  • *
  • Posts: 14
Re: Free gift with order value over $XX - SOLVED
« Reply #10 on: December 16, 2008, 05:21:25 am »
Okay, I have recoded this hack so that it works with Virtuemart 1.1.2 and Joomla 1.5 and attached it to this post. The instructions remain the same and are included in the package.

Merry Christmas to all :)

[attachment cleanup by admin]

jazzy013

  • Beginner
  • *
  • Posts: 5
Free gift at checkout
« Reply #11 on: May 15, 2009, 16:39:29 pm »
Hey,

i have tried this hack: http://forum.virtuemart.net/index.php?topic=35453.0
but it doesnt work completely for me. When i add free gift from the list it always adds the last gift on my list.
I have joomla 1.0.15 and vm 1.1.3

Do you know what might the problem be? Is it because im using joomla 1.0.15? Or is there something wrong with radio button?

Please help me! I need this like yesterday!

Thank you!



kingul

  • Beginner
  • *
  • Posts: 1
Free gift with order value over $XX - Virtuemart 1.1.4
« Reply #12 on: December 17, 2009, 14:38:45 pm »
Hello, cand somebody create a hack for virtuemart 1.1.4 for the customers to receive one free gift if the order value is over $XX? There is one created for virtuemart 1.1.2, but the code is very different in virtuemart 1.1.4 and i don't know how to make it work.Here is the post with the code: http://forum.virtuemart.net/index.php?topic=35453.msg181748

Brendpn

  • Beginner
  • *
  • Posts: 11
Re: Free gift with order value over $XX - SOLVED
« Reply #13 on: January 15, 2010, 12:38:28 pm »
I know this already says "solved", but in the current environment...is it?

It's just about the only thread I can find on the topic and I'm using Joomla 1.5.12 and VM 1.1.3.

The attachment above will not load to this version. Is there an updated version? How do I update it myself if there isn't?

Cheers

fantalight

  • Beginner
  • *
  • Posts: 3
Re: Free gift with order value over $XX - SOLVED
« Reply #14 on: July 22, 2010, 10:35:47 am »
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