Jump to content

[Resolved] Contact Form


Aiden

Recommended Posts

You can try:

In the CubeCart class file (/classes/cubecart.class.php), at the end of the loadPage() function (lines 201-420), if nothing else is getting called, the displayHomePage() function gets called.

This can be changed to $this->_contact(), where the _contact() function displays the Contact Us form/page.

Be aware, however, that the Contact Us feature of CubeCart can be administratively disabled. You will see at the bottom of the _contact() function that if this feature is disabled, CubeCart redirects the visitor to the HomePage (index.php file). Thus, an infinite loop.

Link to comment
Share on other sites

If it's not important to you, you can switch reCaptcha off.

Otherwise, reCaptcha works for me.

Also, I trust you realize you can never get to the HomePage? Any link that points to a non-specific URL, like just www.mystore.com, like the "Home" link, will always get the Contact Us page.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...