Here are some more instructions from the forum:
=====================================
Under Admin->Modules->Order Totals there is listed a sort order. Gift voucher comes out under the install as a 740 and total is a 5 or something like that. You need to have the total higher than the gift voucher and the gift voucher needs to be higher than the discount and the discount needs to be higher than the sub total.
so that it looks something like
Modules Sort Order Action
Discount Coupons 4
Gift Vouchers 5
Low Order Fee
Shipping 2
Sub-Total 1
Tax 3
Total 6
Or something like that. This works on my stores and on everyones stores I have put up.
Now... after it is installed to set the sort order you also have to set up some other information.. like
Display Total
Sort Order
Queue Purchases
Include Shipping
Include Tax
Re-calculate Tax
Tax Class
Credit including Tax
these items will determine the behavior of how your gv is handled, shown and sent. These items are in the
admin-modules-order total->gift voucher and you edit them
the dc has items like
Display Total -- true
Sort Order -- 4
Include Shipping -- false
Include Tax -- false
Re-calculate Tax -- None
Tax Class --none--
The previous items determine how the dc works.
Now if your gv editable items have queue purchases set to true... before the customer gets his gift cert you the admin need to ok it .. this is handled in admin->vouchers/coupons->gift voucher cue.
then you have the mail gift voucher and also a list of the gift vouchers sent.
=========================================
Notice the email that you send out when you create an account.
It is automatically setup to give out $10.00 to the person signing up. Now you disable this by setting a value to zero in
catalog->includes->add_ccgvdc_application_top
// The settings below determine whether a new customer receives an incentive when they first signup
//
// Set the amount of a Gift Voucher that the new signup will receive, set to 0 for none
define('NEW_SIGNUP_GIFT_VOUCHER_AMOUNT', '10');
//
// Set the coupon ID that will be sent by email to a new signup, if no id is set then no email
define('NEW_SIGNUP_DISCOUNT_COUPON', '3');
set 'NEW_SIGNUP_GIFT_VOUCHER_AMOUNT' to '0' and 'NEW_SIGNUP_DISCOUNT_COUPON to ''
then where this is checked for in create account.php on about line 274
}
//// if ((NEW_SIGNUP_GIFT_VOUCHER_AMOUNT > 0) || (NEW_SIGNUP_DISCOUNT_COUPON != '')) {
// $email_text .= EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING;
//// }
// ICW - CREDIT CLASS CODE BLOCK ADDED ************************************************** ***** END
$email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING;
comment out the if statement and add the email_text.= line and that should do it while taking out the email statement above where ICW starts.
================================================== ======
Bookmarks