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

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


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


/path/to/your/shop/includes/modules/create_account.php

Line #405 : if (NEW_SIGNUP_GIFT_VOUCHER_AMOUNT > 0) {

Line #407 : $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 #412 : $email_text .= "\n\n" . sprintf(EMAIL_GV_INCENTIVE_HEADER, $currencies->format(NEW_SIGNUP_GIFT_VOUCHER_AMOUNT)) .

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