Spend an amount automatically get a Gift Card

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
divers-supply
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Fri Nov 21, 2008 5:15 pm

Spend an amount automatically get a Gift Card

Post by divers-supply » Thu Oct 08, 2009 2:31 pm

We want to do a campaign via an email marketing blast to our customer where if they spend X amount we will send them a Gift Card in Z amount...

For Instance, spend $200 get a $40 Gift Card

We are trying to figure out a way to automate this and make it simple for our customers.

Our idea would be have a field during check out where they had to enter "gift", then when they processed their order on the receipt page it would display the gift card amount they will be issued.

Any ideas or suggestions would be appreciated.

Thank You

Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

Re: Spend an amount automatically get a Gift Card

Post by Mike718NY » Thu Oct 08, 2009 5:36 pm

You could check the total in the code and automatically
add the Gift Card:

If (total >= 200)
add a $40 Gift Card to the Cart

I don't have the exact code, but I could probably figure it out.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Spend an amount automatically get a Gift Card

Post by mazhar » Fri Oct 09, 2009 3:41 am

May be this helps about how to automatically add stuff to order
viewtopic.php?f=42&t=8808

divers-supply
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Fri Nov 21, 2008 5:15 pm

Re: Spend an amount automatically get a Gift Card

Post by divers-supply » Fri Oct 09, 2009 4:47 am

That would work but we don't want to give it to everyone only the customers who received the email and enter in a code. So we would need to not only look at order total but would have to look at coupon code entered.

I know order total is Order.TotalCharges do you know what coupon code is?

bhill
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 84
Joined: Mon Oct 31, 2005 5:06 pm
Location: Institute

Re: Spend an amount automatically get a Gift Card

Post by bhill » Mon Dec 20, 2010 12:06 pm

Would like to be able to add a free product to the basket if the current order total reaches $50.00 or more. Can someone point me to a thread were this has been done? Or know how to implement line of code to accomplish this? thanks

Post Reply