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
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
Read this article it will help you setup your Gift Cert.
http://www.zen-cart.com/content.php?...t-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.
There's no way I know of to do that within Zencart. You would need to write code.
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!
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
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!
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:
to ot_gv.php file(in function collect_posts()) and function is_product_valid_redeem to functions_general.phpCode:$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')); } }
But it is not working, can somebody help me figure out what is missing?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; } }
Thank you!
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!
Great! If you will need any help testing or whatever just let me know!
Thanks!
Bookmarks