Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Must agree to terms to checkout


eeleek

Recommended Posts

hey, I installed the contribution "must agree to terms to checkout"

 

Basically after buyer enters payment info (checkout payment), it goes to checkout_confirmation.php, and ads a check box field. everything works well, but if user does not check in CHECK BOX and clicks continue button to next step it goes back to the window of Payment Information.. how can I have the error display at the same checkout_confirmation.php page untill user checks the chebox.. without it going a step back and having the user insert payment information again.

 

if ($HTTP_POST_VARS['agree'] != 'true') {

tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode('You must agree to the terms and conditions to finish your order'), 'SSL'));

}

 

as a newbie i htought maybe it had to do with FILENAME_CHECKOUT_PAYMENT

change that to something else ?

 

I dont know.. pro's what dya say ?

 

~ eeleek.

Ilan`

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...