You can clone with
HTTPS or Subversion.
I downloaded the files at: https://github.com/wojodesign/simplecart-js/tree/email
I was wondering why when I go to the index.html file and click "checkout"
does my browser show me the contents of the email.php file rather than starting up my email client and composing an email.
Do I need to do something like this below which I read elsewhere... where I need to create a file named sendjs.php and put the stuff (below) in it, and then somewhere in the simpleCart.js put a reference to thte sndjsp.php file?
$to = 'firstname.lastname@example.org';
$subject = 'the subject';
$jcitems = $_POST['jcitems'];
$headers = 'From: email@example.com' . "\r\n" .
'Reply-To: firstname.lastname@example.org' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $jcitems, $headers);