VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: sfinx on September 26, 2013, 16:03:35 PM

Title: Gift on order total in checkout page
Post by: sfinx on September 26, 2013, 16:03:35 PM
Hi

I am trying to make gift selection in cart page. If a client will reach order total 60 eur I would like 3 free gifts to show, with option to select one that will be added to cart.

I found this : http://forum.virtuemart.net/index.php?topic=30385.0 old post, but it is for older VM and it doesnt work in VM2. Maybe someone can help me make sense of it, with a little tweaking to make it work in VM2?

Versions: VM latest 2.0.22c, Joomla 2.5
thanx in advance
Title: Re: Gift on order total in checkout page
Post by: Maxim Pishnyak on September 26, 2013, 18:12:13 PM
Gifts? The regular advice is to check awocoupon project.
Title: Re: Gift on order total in checkout page
Post by: sfinx on September 26, 2013, 20:17:22 PM
I got Awo, but thats not what I need in this case. Awo works in coupon logic  (you have to add coupon ...) and what I need is manual selection of gift in chekout (with appropriate product picture)
Title: Re: Gift on order total in checkout page
Post by: sfinx on September 26, 2013, 21:16:10 PM
I was just thinking that maybe I could do that with Awo (buy X gety), but I would need to add something like if order total - get free.php. I am able to make this free.php my self, since there would be just images and appropriate codes next to it, but I dont know how to call it into chekout when order total reaches 60 euro.

This Awo option is not a perfect one, but it is better than none :)

Help anyone?
Title: Re: Gift on order total in checkout page
Post by: Maxim Pishnyak on September 29, 2013, 21:36:39 PM
I saw gifts here http://www.osignite.com/software/vm2-gift-certificate.html.

Nice avatar btw.
Title: Re: Gift on order total in checkout page
Post by: sfinx on October 06, 2013, 16:37:20 PM
ok. thanx (and thanx for my avatar compliment - it is me for real by the way...)
Title: Re: Gift on order total in checkout page
Post by: sfinx on January 24, 2014, 15:10:42 PM
Ok so I had many other urgent things to do in the mean while, so this problem with freebies is still unsolved. Awo coupons is not the solution I am looking for, so it looks that custom code is only option.

This solution from upper link -  http://forum.virtuemart.net/index.php?topic=30385.0 (http://forum.virtuemart.net/index.php?topic=30385.0) would be far the best, if it wouldnt be for old version of VM. I tryed to integrate it, but it doesnt work. Did anyone found something better in the mean time, or. if any of you know how could I adjust this code from link to VM 2.0.22 ?
Title: Re: Gift on order total in checkout page
Post by: PolishedGeek on March 19, 2014, 04:37:28 AM
This post is a bit late to help you probably, but did you check this extension out? https://www.daycounts.com/shop/bonus-items-for-virtuemart-2-detail

It's very similar to something my company did for VM 1.1 called Purchasing Rules, but it works in VM2. It uses rules definition to determine when someone is eligible for discounts and free items.