Admin - Configuration - GV Coupons - New Signup Gift Voucher Amount - Admin

From Zen Cart(tm) Wiki
Jump to: navigation, search


Menu: Admin - Configuration - GV Coupons - New Signup Gift Voucher Amount - Admin


/path/to/your/shop/admin/email_welcome.php

Line #77 : if (NEW_SIGNUP_GIFT_VOUCHER_AMOUNT > 0) {

Line #79 : // $insert_query = $db->Execute("insert into " . TABLE_COUPONS . " (coupon_code, coupon_type, coupon_amount, date_created) values ('" . $coupon_code . "', 'G', '" . NEW_SIGNUP_GIFT_VOUCHER_AMOUNT . "', now())");

Line #84 : $email_text .= "\n\n" . sprintf(EMAIL_GV_INCENTIVE_HEADER, $currencies->format(NEW_SIGNUP_GIFT_VOUCHER_AMOUNT)) .

Line #88 : $html_msg['GV_WORTH'] = str_replace('\n','',sprintf(EMAIL_GV_INCENTIVE_HEADER, $currencies->format(NEW_SIGNUP_GIFT_VOUCHER_AMOUNT)) );