Genius Posted February 23, 2004 Posted February 23, 2004 Please could someone help me with my Must Agree to Terms and conditions code. Baiscally if i do not tick the agree box then i get the error message which is fine, but when i Tick the box and say yes i agre i get the page loops back to the same checkout_confirmation page,.. i cannot seem to get past that.. please could someone assist me... my code looks like this just the bottom line codes: <?php if (isset($$payment->form_action_url)) { $form_action_url = $$payment->form_action_url; } else { $form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'); } echo '<form name="checkout_confirmation" method="post" action="' . $checkout_form_action . '" onsubmit="return checkCheckBox(this)">'; if (is_array($payment_modules->modules)) { echo $payment_modules->process_button(); } ?> <!--Start AGB Agreement form --> <?php echo CONDITION_AGREEMENT; ?> <input type="checkbox" value="0" name="agree"> <!--Ende AGB Agreement form --> <?php echo tep_draw_hidden_field('prod', $HTTP_POST_VARS['prod']) . $payment_modules->process_button(); if (!$checkout_form_submit) { echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER); } else { echo $checkout_form_submit; } ?></td> </tr></form> many thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.