J
|
Jane 1/20/2009 |
Hi, if ($values["pay_type"]=="CHK") { //**send email to customer*** $rs_email = $dal->scemails->Query("email='CHECK'",""); $data_email = db_fetch_array($rs_email); $email=$_SESSION["UserID"]; $message = $data_email["email_body"]; $subject=$data_email["email_subject"]; mail($email, $subject, $message); //** header("Location: scsales_order_main_add.php?address=".rawurlencode($_SESSION["selectedaddress"])); exit(); } |
I
|
iripais author 1/20/2009 |
Hi jane, Hi, check selected payment type in the Before record added event for pay_types table and redirect to the correct page if needed. Use code for Check payment type as a sample: |
F
|
fpilot 1/21/2009 |
how can I have "add to cart" option instead of buying individual items <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=37025&image=1&table=forumreplies' class='bbc_emoticon' alt=':unsure:' /> |
J
|
Jane 1/22/2009 |
Hi, |