Zen Follower
- Join Date:
- Nov 2008
- Posts:
- 164
- Plugin Contributions:
- 0
Crediting to Gift Certificate Balance Automatically
I'm looking to automatically apply 5% of a user's purchase to the gift certificate balance on their account, without them having to click a link to redeem via email. If I'm understanding how the system works, would I simply need to UPDATE/INSERT into zen_coupon_gv_customer (5% of zen_orders.order_total) for it to appear in their account?
I'll be creating a separate table to track whether the credit has been applied to the order so that it isn't applied multiple times.