Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Aug 2012
    Posts
    7
    Plugin Contributions
    0

    Default gift certificates with Special

    How do I setup a gift certificate that costs $10 but has a value of $20? I haven't been able to find an answer in the gift certificate forms

  2. #2
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,504
    Plugin Contributions
    0

    Default Re: gift certificates

    Read this article it will help you setup your Gift Cert.

    http://www.zen-cart.com/content.php?...t-certificates

  3. #3
    Join Date
    Aug 2012
    Posts
    7
    Plugin Contributions
    0

    Default Re: gift certificates

    Thanks for the response, but that does not help me. That document does not tell me how to make the gift certificate's value different from the price. I was able to install a functioning gift certificate. That was not my problem. I would like to know how to establish a gift card that has a value of $20, but cost $10. So far all of my attempts at establishing this type of card has failed. My Gift Certificate Release Queue shows my customers only have the $10 they paid for the card available.
    Last edited by awesomshot; 5 Nov 2012 at 04:42 PM.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: gift certificates

    There's no way I know of to do that within Zencart. You would need to write code.

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

    Default Re: gift certificates

    One work around is to make a Product that does not have the model starting with GIFT and mark as a Virtual Product then have the customer order that Product and you then send them a Gift Certificate via your Zen Cart Admin for the amount you want them to have based on what they actually purchase ...
    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: v1.5.5]
    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!

  6. #6
    Join Date
    Aug 2012
    Posts
    7
    Plugin Contributions
    0

    Default Re: gift certificates

    Thanks Ajeh.

    I did what you said. I have been emailing customers a gift certificate after their purchase.

    http://www.nygardenworld.com/gift-ce...value-of-usd20

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

    Default Re: gift certificates

    Glad that this is working for you ... thanks for the update ...
    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: v1.5.5]
    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!

  8. #8
    Join Date
    Apr 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: gift certificates

    Ajeh thanks for your help, I was looking for it. However I still feel insecure about this method, can some kind of validation be added to check if customer is not trying to buy this virtual product with credit he already has? For example add model - "SaveCard" to the product and check for it during checkout, if it is found no go. Well, just like Zen Cart works with regular GIFT certificates?

    I already started digging into it, I tried to add:
    Code:
    	
    $products = $_SESSION['cart']->get_products();
    	foreach ($products as $product) {
                if (!is_product_valid_redeem($product['id'])) {
    				$messageStack->add_session('checkout_payment', ERROR_NO_INVALID_REDEEM_GV, error);
    				zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
                }        
              }
    to ot_gv.php file(in function collect_posts()) and function is_product_valid_redeem to functions_general.php
    Code:
    function is_product_valid_redeem($product_id) {
        global $db;
        $product_query = "SELECT products_model FROM " . TABLE_PRODUCTS . "
                          WHERE products_id = '" . (int)$product_id . "'";
    
        $product = $db->Execute($product_query);
    
    	if (preg_match('/^SAVECARD/', $product->fields['products_model'])) {
          return false;
        }
    }
    But it is not working, can somebody help me figure out what is missing?

    Thank you!

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

    Default Re: gift certificates

    I am working on something for allowing Gift Certificates on Special but prevent the purchase of Gift Certificates with Gift Certificates so that you do not end up with a loop of buy/sell that costs more money than you want to give on a Gift Certificate with a Special ...

    There is a way to do this but it will take a while for me to work out all the issues and safeties ...

    It requires quite a few changes ... but I have a plan ...

    But it will be sometime late next week before I have this working and tested out ...
    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: v1.5.5]
    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!

  10. #10
    Join Date
    Apr 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: gift certificates

    Great! If you will need any help testing or whatever just let me know!
    Thanks!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. 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
  2. Issue with Gift Certificates
    By footloseandfancyfree in forum General Questions
    Replies: 2
    Last Post: 5 May 2010, 10:53 PM
  3. Shopping with gift certificates
    By svetlae in forum General Questions
    Replies: 1
    Last Post: 3 Dec 2009, 09:18 AM
  4. Gift Certificates- conflict with addons?
    By rory in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 31 Oct 2008, 06:52 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR