I would like to display to my customers an explanation of why they have to select a payment method even though the balance is zero (I do not have the module configured to bypass shipping & payment for $0.00 orders since I need to charge tax on the order). Is this possible?
Yes, you can do this by adding tokens to the "Redemption button setup" (on the module's Options/Options tab). Using conditional tokens you can test whether or not the basket total is $0.00 (the module sets a global variable g.BrokCert_BasketTotal for the basket total after a certificate is redeemed) and whether or not a gift certificate has been redeemed. So you can display a message only if the gift certificate was redeemed and the total is $0.00 with:
%begin_if|(NOT g.BrokCert_BasketTotal) AND g.BrokCert_Redeemed|%
The total is $0.00 and your gift certificate was sufficient to cover the product subtotal. However, there may be a shipping and/or tax to be paid. Please select a shipping and payment method and click on "continue".
%end_if%
Note that you can also use the %else% option to suppress the redemption field for $0.00 orders at the same time:
%begin_if|(NOT g.BrokCert_BasketTotal) AND g.BrokCert_Redeemed|%
The total is $0.00 and your gift certificate was sufficient to cover the product subtotal. However, there may be a shipping and/or tax to be paid. Please select a shipping and payment method and click on "continue".
%else%
%error%Gift Certificate: %box% %button%
%end_if%
This will display the redemption field only if the balance isn't 0.00 and a certificate was redeemed.
Last update: 2007-09-19 18:28
Author: Brok
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
- Is there any way to look up a customer's ... (2008-08-06 18:04)
- I am looking for a module that will allow ... (2008-08-06 18:00)
- Is it possible to display a link in Phone ... (2008-08-06 12:05)
Top 10 
- 2754 views:
Adding Tokens to Evaluate Expressions - 2697 views:
Is there a way to "Limit" the number of ... - 2654 views:
Why won't you call me for technical support? I ... - 2549 views:
Are license keys valid for more than one store? ... - 2447 views:
I'm trying to enter a license key and get ... - 2425 views:
How do I install a module? - 2286 views:
How do I check for a module upgrade? - 2254 views:
How can display and change the parameters of an ... - 2097 views:
The total on my checkout pages are not correct. ... - 1932 views:
I have select and radio type attributes in my ...
















