Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Link to other contact us form


killkenny

Recommended Posts

Hi there,

 

I'm sorry about the dumb question, I searched the forum but can't seem to find the answer.

 

Basically I want the contact us link to point to my site's form and not the standard osCommerce form.

 

My store is in /catalog/ and the form is in the root directory. I have changed FILENAME_CONTACT_US in the filenames.php file to '/contact.php', but then the link is www.mydomain.com/catalog//contact.php.

 

Any advice?

Link to comment
Share on other sites

Hi there,

 

I'm sorry about the dumb question, I searched the forum but can't seem to find the answer.

 

Basically I want the contact us link to point to my site's form and not the standard osCommerce form.

 

My store is in /catalog/ and the form is in the root directory. I have changed FILENAME_CONTACT_US in the filenames.php file to '/contact.php', but then the link is www.mydomain.com/catalog//contact.php.

 

Any advice?

 

remove the preceding slash from '/contact.php' so it reads 'contact.php' in the filenames.php file

 

??

Link to comment
Share on other sites

ummm then it would be domain.com/catalog/contact.php and not domain.com/contact.php.

 

Sorry if I didn't explaine that well enough.

 

the URL will be built from two seperate bits of information: the base ref of your site catalog: domain.com/catalog/ plus the filename stored within the filenames.php

 

you could try editing the info box so it doesn't dynamically generate the URL for the contact page

 

 

open

 

catalog/includes/boxes/information.php

 

 

find

 

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

 

and change it to

 

'<a href="domain.com/contact.php">' . BOX_INFORMATION_CONTACT . '</a>');

 

this should give you the correct link within the infobox ... as for elsewhere in the catalog you would need to find where the link appears and amend it accordingly.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...