Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Checkout to contact form


Recommended Posts


I need when costumer click on "Checkout" to redirect them to my contact form. So, I want to skip all confirmation, login, if / else things.

Just simple redirect to another page.


I found this code that suits good




BUT I have no idea where to put it.

Do I need to create new php file? Or delete everything in checkout_shipping.php and put this? How?



Can someone please help me?

Link to comment
Share on other sites



Your simplifying a complicated process. In order for the client to get to checkout_process.php, they must sign in or create an account, so you can't bypass login/create account or anything else because the process is initiated prior to that point.


If you can trying to create an inquiry cart, there is a contribution already available to do that.





Link to comment
Share on other sites

In the /catalog/shopping_cart.php the button for checkout is here:

 <div class="buttonSet">
   <span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_CHECKOUT, 'triangle-1-e', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'), 'primary'); ?></span>

You could change the FILENAME_CHECKOUT_SHIPPING to FILENAME_CONTACT_US, but you would also have to do that for the button in the header.php also. I'm sure you would want to change the text on the contact_us.php page in the catalog/includes/english/contact_us.php page.

It seems to me there may be other problems in doing this such as orders are not recorded inventory etc...

Link to comment
Share on other sites


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

  • Create New...