New Zenner
- Join Date:
- May 2010
- Posts:
- 7
- Plugin Contributions:
- 0
Can I automatically apply Gift Certificate balance to order on checkout?
Hi,
I've been able to avoid having to ask how to do something as I have been able to find what I needed on here! Until now...I can't seem to find any related threads to my question, and I am stumpted trying to figure it out myself. So ANY help will be appreciated!
In relation to Gift Certificates, I want to change how it gets applied to the customers order. Currently, the customer has to manually apply what amount they want to use from their available balance on the Checkout page, which then get's updated on the Confirmation page.
Now, I find it a little silly, and an extra step for the customer to have to apply it themselves. My question is, is there a way to insert coding to automatically apply their available gv amount when they checkout their shopping cart.
For example, if a customer has a $50 gv balance, and the product they're purchasing is $20, on the checkout page, it displays a -$20 from their gv balance. Making the order total $0.00 and leaving them with $30 gv balance after the order. Or if they are purchasing something that is $80, then their full available balance is used, ie -$50, and they pay for the remaining $30.
So in summary, I need to tailor the code so when a customer clicks checkout on the shopping cart, and lands on the checkout page, their order total shows the gift certificate deduction automatically (for customers with a gv balance), without having to enter anything.
I am currently using 1.3.8a, with some mods, but nothing that should impact what I'm asking for...
I need to get this working in the next 3-4 days.
Hope it all makes sense...