Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2013
    Location
    Oak Harbor, Washington, United States
    Posts
    7
    Plugin Contributions
    0

    Default delete gift certificates

    Hello,

    I have looked and I found OLDER versions of what to do, but nothing for the current version.


    I'd like to DELETE a gift certificate. I have a customer that personally presented a certificate to me instead of using it with a purchase online, so to keep from any confusion later I'd like to delete it, so it can't be used later OR make the certificate have a balance of $0. Either option is fine I just want to be sure they can't use it later with an on-line purchase.



    THANK YOU

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: delete gift certificates

    There are a couple of ways to cancel a GV ...

    1 login with your own test account and claim the GV
    This method prevents fully deleting the GV for record keeping and you could make your test account just for deleted GVs so that you can track how many are manually claimed.

    2 login to you phpMyAdmin and find it in the table:
    coupons
    and edit it and mark the field:
    coupon_active
    as: N
    The record will still be there but will be marked as in active so it cannot be claimed ...

    3 The least desirable method is to delete the record in the database table:
    coupons
    This destroys all ability to track the GV in any manner ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2013
    Location
    Oak Harbor, Washington, United States
    Posts
    7
    Plugin Contributions
    0

    Default Re: delete gift certificates

    Quote Originally Posted by Ajeh View Post
    There are a couple of ways to cancel a GV ...

    1 login with your own test account and claim the GV
    This method prevents fully deleting the GV for record keeping and you could make your test account just for deleted GVs so that you can track how many are manually claimed.

    2 login to you phpMyAdmin and find it in the table:
    coupons
    and edit it and mark the field:
    coupon_active
    as: N
    The record will still be there but will be marked as in active so it cannot be claimed ...

    3 The least desirable method is to delete the record in the database table:
    coupons

    This destroys all ability to track the GV in any manner ...

    Thank you for the reply, but I'm a true novice... could you give me a better explanation as where I can find option #2?

    I didn't find a file called "coupons" I found coupon-admin and coupon-restrictions

    Could you give me more direction please?

    THANK YOU

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: delete gift certificates

    The tables are not in the files, your data is all in the database used for your shop ...

    To locate your database tables, you would need to use your Control Panel for your domain and use phpMyAdmin, which should be provided by your hosting provider. In the database that you are using for your shop, you will find a database table called:
    coupons

    If you are not familiar with finding phpMyAdmin, you could contact your hosting provider and see if they can better assist you to locate your database so that you can edit its content ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Sep 2013
    Location
    Oak Harbor, Washington, United States
    Posts
    7
    Plugin Contributions
    0

    Default Re: delete gift certificates

    Quote Originally Posted by Ajeh View Post
    The tables are not in the files, your data is all in the database used for your shop ...

    To locate your database tables, you would need to use your Control Panel for your domain and use phpMyAdmin, which should be provided by your hosting provider. In the database that you are using for your shop, you will find a database table called:
    coupons



    If you are not familiar with finding phpMyAdmin, you could contact your hosting provider and see if they can better assist you to locate your database so that you can edit its content ...
    I know how to get to the control panel I was just saying that there's not a file called "coupons"

    I found "coupon-admin" and "coupon-restrictions" in my phpMyAdmin on my server, but not a file JUST "coupons" I was hoping someone knew the exact way to get to that file Language/ English/ BLAH BLAH

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: delete gift certificates

    Seriously, you are looking in the wrong place ...

    You sound like you got to the Control Panel, but then it sounds like you are using the File Manager ... this is incorrect ... File Manager is for looking at files on your domain ...

    NOTE: You would NOT want to use File Manager to work on your files for Zen Cart as you can seriously damage files on your server ...

    When you are on your main screen for your Control Panel, look for something called phpMyAdmin ...

    phpMyAdmin is for looking at databases ... if you have trouble finding it, try a search with CTRL F for Find and search for:
    phpMyAdmin in your browser as it might help you see it in your Control Panel ...

    Does that help steer you in the right direction?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Sep 2013
    Location
    Oak Harbor, Washington, United States
    Posts
    7
    Plugin Contributions
    0

    Default Re: delete gift certificates

    Quote Originally Posted by Ajeh View Post
    Seriously, you are looking in the wrong place ...

    You sound like you got to the Control Panel, but then it sounds like you are using the File Manager ... this is incorrect ... File Manager is for looking at files on your domain ...

    NOTE: You would NOT want to use File Manager to work on your files for Zen Cart as you can seriously damage files on your server ...

    When you are on your main screen for your Control Panel, look for something called phpMyAdmin ...

    phpMyAdmin is for looking at databases ... if you have trouble finding it, try a search with CTRL F for Find and search for:
    phpMyAdmin in your browser as it might help you see it in your Control Panel ...

    Does that help steer you in the right direction?

    You were EXACTLY correct, and with your direction I WAS able to find the correct area and mark the certificates as $0

    THANK YOU that was very help, I do appreciate your time and patience!

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: delete gift certificates

    Marking as 0 was not exactly my idea of a perfect solution but it will at least have no value ...

    Thanks for the update that you were able to resolve this issue to your satisfaction ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v154 Gift Certificates Sent - need to delete two
    By MELSHH in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 18 Dec 2016, 10:36 PM
  2. Can I prevent Gift Certificates from being bought with Gift Certificates?
    By Brianwocky in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 21 Dec 2010, 07:11 PM
  3. Searching a cart for Gift Certificates (GIFT-XXXX)
    By retched in forum Contribution-Writing Guidelines
    Replies: 7
    Last Post: 12 Aug 2010, 02:58 AM
  4. How do I delete the gift certificates sent
    By MagicMan in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 16 Dec 2007, 09:39 PM
  5. Turn off Gift Wrap for Gift Certificates
    By tammy_kenny in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 25 Jul 2006, 12:54 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