Example would be just like in the demo products ...
NOTE: it is a good idea to setup a clean Zen Cart of the current version in a clean directory with a separate clean database and load the demo products so you can see all of the functionality of Zen Cart ...
First, set up an Option Name in the Option Name Manager such as:
Amount
Radiobutton
Next, in the Options Values Manager set up the names as:
Option Name: Amount
Option Value: $5.00 (note this is text)
Default sort order 5
Option Name: Amount
Option Value: $10.00 (note this is text)
Default sort order 10
Option Name: Amount
Option Value: $15.00 (note this is text)
Default sort order 15
Option Name: Amount
Option Value: $25.00 (note this is text)
Default sort order 25
Then, go to the Product and setup as:
Price by Attribute: YES
Product Price: 0.00
Product is Virtual: YES
Product Model: GIFT (note: this must start with the word GIFT in uppercase and then you can add anything after that to the model)
Product Quantity: 1000 (or whatever)
Finally go to Attributes Controller and locate this Product ...
Add each Attribute:
Option Name: Amount
Option Value: $5.00
Price: 5.00
Default: YES
Option Name: Amount
Option Value: $10.00
Price: 10.00
Option Name: Amount
Option Value: $15.00
Price: 15.00
Option Name: Amount
Option Value: $25.00
Price: 25.00
When done ... click the button for Update Sort Order and the default Sort Orders will be set ...
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 for the help, is there a way I could do this with a text box to allow the user to set up custom values(preferably with a way to set up a minimum)?
Only if you re-write all of the code to interpret what that text means ...
You could make a GV for 1.00 and have them enter the amount ...
For this I would tweak the product _info page so that when on that Product, it reads instead of add to cart something like:
Purchase GV Value
Gift Certificate Amount
or something above the add to cart box ...
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!
Heh, I think that would just confuse users, I guess I just need to figure what quantities to offer.
Doesn't seem to calculate the gift certificate
I haven't had a chance to go through this entire thread yet, but I sent out a coupon to a costumer as a gift. They tried to redeem it, and they receive a message saying "congrats you have redeemed the $X amount, but in fact the total doesn't change. Is there an attribute that I may have turned off that won't total or include gift certs. ? It certainly follows through as though it is accounting for it, and allows you to punch in the cert. code, but doesn't calculate it(subtract from the total). I actually tried a test myself and got the same unfortunate response.
Any ideas???
The customer must make and effort and actually fill in how much of their GV balance they wish to spend on the order ...
Send a GV to yourself and go through the steps so that you can see exactly how this works and better explain to the customer to fill in the amount in the GV apply box on the checkout_payment page ... where it reads:
Apply Amount:
Available balance: $XX.XX
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!
BINGO!
That was it indeed. I had actually tried it myself before I posted and missed the amount area too. I'm guessing since you knew right away what the problem was that this is a common mistake. I'm thinking that filling out an amount isn't the most logical setup, or maybe it's that where not used to having an option like that. Perhaps it would be best to have it set at default to use the entire amount, and then there could be an extra option if you wanted to change the amount to use. Just a thought.
Thanks again for your help.
Changing the Text color to RED helps ...![]()
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!
I went through and created a category, product, etc. and everything went smoothly. However, when I went to Modules > Order Totals there is no Gift Certificate Module to install. Instead, at the top of my screen I have this error:
Fatal error: Call to a member function on a non-object in /includes/modules/order_total/ot_gv.php on line 29
Is there something I have missed, or is this a module that needs to be installed separately first? If anyone could help me, I would sure appreciate it.
Thanks so much!
Bookmarks