Currency
 American Dollar   British Pound 

christopherO
christopherO
Every professional shop should have an easy means for a customer to make contact - especially an e-mail contact.
I believe that the shop software should include a simple contact form (nothing as grand as the support set up with Enterprise)
Just to collect 1st name, Last name, e-Mail address, Telephone number, Order number if appropriate, Subject line.
Then facility to send to two addresses and copy to sender?
 
Chris
 
ansuk
ansuk
Lets not forget some kind of security such as CAPATCHA
 
Riyaz
Riyaz
Hi Chris:
 
A software company called coffeecup.com has neat software modules for this kind of stuff. You may want to check them out. I agree with what you are saying here.
 
christopherO
christopherO
I know coffee cup. And it is easy to add forms - but this request is for an _integrated_ form Wink
 
Dan
Dan
The helpdesk feature is really a nice platform that viart has....
 
christopherO
christopherO
I agree but it is an over engineered solution for a shop that just wants an easy way for unsophisticated customers to communicate. This must be KISS.
 
ewoud
ewoud
this is pretty straightforward no?
 
step 1: place html code in a block
<form method="POST" action="mailer.php">
<input type="text" name="name" size="19"><br>
<br>
<input type="text" name="email" size="19"><br>
<br>
<textarea rows="9" name="message" cols="30"></textarea>
<br>
<br>
<input type="submit" value="Submit" name="submit">
</form>
 
step 2: You should place the following code into a new file you create called mailer.php.
 
<?php
if(isset($_POST['submit'])) {
$to = "you@you.com";
$subject = "Form Tutorial";
$name_field = $_POST['name'];
$email_field = $_POST['email'];
$message = $_POST['message'];
 
$body = "From: $name_field\n E-Mail: $email_field\n Message:\n $message";
 
echo "Data has been submitted to $to!";
mail($to, $subject, $body);
} else {
echo "blarg!";
}
?>
Once you copy and paste the above code into mailer.php, make sure you change the text you@you.com to your e-mail address. Save this file.
 
Now you have a very, very basic form..
 
Claire (Guest)
Claire (Guest)
ewoud - we have tried variations of this - where do you put your mailer.php file? and how does it output to the website visitor?
 
christopherO
christopherO
This is a feature request to Viart - I actually do NOT want to have to try coding; it is not what I do.
 
ewoud
ewoud
Hi guys,
here's a free form script that should do most of the things mentioned in this post... If you need more forms: just make copies of the script in a separate folder...
http://thedemosite.co.uk/phpformmailer/
easy installation, good instructions.
you can call this script from a custom block using
<iframe>www.yourdomain/whereeveryouhaveputyourform/contact.html</iframe>
 

Message
 Nickname *
 Your Email Address *
 Message *

Emoticons
Smile Wink Broad Grin Laughing
Sad Crying Wall Bash Ranting
Searching I don't know Shock Wacko
Crazy Good Yahoo! ROFL
 Validation Code *    
                           
Forum

If you have a question, a wish or a request concerning ViArt Shop or you simply want to communicate with other ViArt Shop users, please, visit our forum. Here our Team would look to finding answers to your questions in a timely fashion.