Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Modifying checkout_payment.php


ComicWisdom

Recommended Posts

Posted

I am trying to modify checkout_payment.php to make it go to a new program checkout_location.php where the customer will pick the location of the physical store they want to purchase from so they can pickup.

 

The ONLY reference to checkout_confimation.php (which would normally be the next to run) in checkout_payment.php is in the line below. I have modified it as shown with my takesouts and addedins.

 

Can someone explain why it still goes to checkout_confirmation.php instead of checkout_location.php?

 

<!-- taken out for store location

<td width="100%" valign="top"><?php echo tep_draw_form('checkout_payment', tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'), 'post', 'onsubmit="return check_form();"'); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

taken out for store location //-->

<!-- added for store location //-->

<td width="100%" valign="top"><?php echo tep_draw_form('checkout_location', tep_href_link(FILENAME_CHECKOUT_LOCATION, '', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

<!-- end added for store location //-->

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Posted

Found my mistake. I crossed some definitions.

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Archived

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

×
×
  • Create New...