Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2008
    Posts
    164
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Nov 2008
    Posts
    164
    Plugin Contributions
    0

    Default Re: Crediting to Gift Certificate Balance Automatically

    I've gone ahead and done the above - site seems to be working fine, people are able to see their balance, it adds correctly if there's an existing or creates an entry for the customers' id if there isn't one.

    Would still appreciate some feedback from anyone familiar with modifying the giftcards/giftcertificates - to see whether I'm missing any steps or if there are bugs I should know about.

 

 

Similar Threads

  1. Gift Certificate not Crediting
    By hspraggins in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 28
    Last Post: 8 Aug 2011, 05:02 PM
  2. Can I automatically apply Gift Certificate balance to order on checkout?
    By timryan in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 6
    Last Post: 13 May 2010, 02:42 AM
  3. $25 gift certificate becomes $50 GV balance
    By christianday in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 23 Dec 2008, 01:45 AM
  4. Gift Certificate Balance?
    By FatGuyinAZ in forum General Questions
    Replies: 1
    Last Post: 23 Jan 2008, 08:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg