Guest Posted December 12, 2003 Share Posted December 12, 2003 Can any one tell me why every time someone puts a redemtion code in at checkout it alwasy comes up invaild? Also, is there a way to stop the program from sending out vochures to everyone that signs up or at least change the monetary amount to a respectable value? Linn Link to comment Share on other sites More sharing options...
TomThumb Posted December 12, 2003 Share Posted December 12, 2003 Excerpt from forum instructions.txt which is included with the contribution. 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. ======================================================== while (!succeed) {try()}; GMT -6:00 Link to comment Share on other sites More sharing options...
Guest Posted December 12, 2003 Share Posted December 12, 2003 :blink: Thank you for the info. However I am not the best computer person out there. The information you sent makes sense, I just can not find where to enter the program to be able to modify that infomation. So where in the administrator section will I go to modify this stuff. Also, any idea why when I type in these test codes for gift vochers why the system states they are invaild? Link to comment Share on other sites More sharing options...
Guest Posted December 12, 2003 Share Posted December 12, 2003 In the file create_account.php Under the heading EMAIL_GV_INCENTIVE_HEADER I have: As part of our welcome to new customers, we have sent you an e-Gift Voucher worth %s I have not found where to enter an amount for this varible. Linn :blink: Link to comment Share on other sites More sharing options...
josh26 Posted September 13, 2004 Share Posted September 13, 2004 I tried to find it also and could not Link to comment Share on other sites More sharing options...
josh26 Posted September 13, 2004 Share Posted September 13, 2004 I tried to find it also and could not Link to comment Share on other sites More sharing options...
Guest Posted September 14, 2004 Share Posted September 14, 2004 i suggest that you invest in a 'windows grep' program, as it will find anything you need. i searched with 'windows grep' in one of my osCommerce directories i use for programming and in 3 seconds it came up with the exact line # in create_account.php Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.