Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Chaning the Contact us feature to do other things?


Autographs

Recommended Posts

Posted

I need to add 2 sections to my site, a Guest Sign in and a Make an offer section.

 

I'm pretty sure the easiest way to do this would be to just modify and rename the Contact us, but I dont want to screw too much up as I need to try and go live Tomorrow

 

Can anyone tell me just how I would modify these to fit my needs or the correct way to do it if this will not work?

 

Thanks for your potential help

Greg

Posted

I've used a highly modified Contact Us page to set up an automatic email price quote for some products since the manufacturer won't let me advertise my price. It was fairly easy, once I understood about passing variables from file to file. The biggest problem I had was realizing that contact_us.php is actually loaded three times for every use.

 

1. - contact_us.php is loaded and draws the form. "Submit" button loads:

2. - contact_us.php?action=send which sends the email to the customer, then redirects to:

3. - contact_us.php?action=success which displays the success screen.

 

If you want to pass a variable, such as $product_id, you must pass it from the product info page to contact_us.php, then from contact_us.php to contact_us.php?action=send in order to have the correct information.

3.

Posted

I jsut want to have a form that will e-mail me, 1 that will jus let them provide their information, name address, e-mail ect..

 

The Other would be a form that will e-mail me and have spots for them to put in which item they want and what they offer to pay for the item (make an offer) Then I can either take the offer or not.. I do all of this on my own, so All I need is the form to allow them to input their information, no need for it to interact with the program in anyway.

 

Sounds easy doesn't it.. well How would I modify the form to do what I need and rename it to what I want ?

 

thanks again

Greg

Archived

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

×
×
  • Create New...