Guest Posted January 21, 2003 Posted January 21, 2003 Thanks Ian for the great contributions. I have just loaded the Credit Class&GV contribution for new checkout as well as the Discount Coupon v.0.95 All seemed to go well with the addition as I get no errors and it seems to function quite well (had to remove an include of the "polls" box :) ) . The question I have is that during checkout_payment.php I first need to enter in the CC info as well as the coupon code (it will not let me leave the cc fields blank and redeem the coupon first). I hit continue and it gives me the congratulations statement at the top on a refreshed page. I then need to re-enter all of the credit card information in order to go to the next page. I am just curious, is this how it is supposed to work? Is there a way that the customer would only need to enter in the cc_info once? It works just fine after you enter the info in the second time and goes to the screen with the order total showing the deduction of the coupon and everything. You can see what I mean by going to http://www.diyreef.com/development/catalog/default.php and creating a fake account. Just place something over $20 into the cart, use 41111.....etc for the cc_number and use the coupon code of "test". I know I uploaded a button_redeem into the languages/images/buttons..is it supposed to be showing up next to coupon entry field? I found this in ot_coupon.php function credit_selection() { global $language; $selection_string = ''; $selection_string .= '<tr>' . "n"; $selection_string .= '<td width="10">' . tep_draw_separator('pixel_trans.gif', '10', '1') .'</td>'; $selection_string .= '<td class="main">' . "n"; $image_submit = '<input type="image" name="submit_redeem_coupon" onClick="submitFunction()" src="' . DIR_WS_LANGUAGES . $language . '/images/buttons/button_redeem.gif" border="0" alt="Redeem Voucher"'; $selection_string .= 'You can enter a Coupon Code here ' . tep_draw_input_field('coupon_redeem_code') . '</td>'; $selection_string .= '<td align="right"' . $image_submit . '</td>'; $selection_string .= '<td width="10">' . tep_draw_separator('pixel_trans.gif', '10', '1') .'</td>'; $selection_string .= '</tr>' . "n"; return $selection_string; } But this does not produce the submit-redeem button. I looked at the "chainreaction demo store" with the loaded snapshot and it is the same way-no redeem button. Any help would be just dandy. Thanks! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.