how is order placed?

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

Greetings from Texas: I can get the program to email the client (me for now) a receipt of the order but I can't get the actual order placed. Where do I enter the email for the "vendor" so he can process the order?

-- Delia Cuellar (vino@tastesoftime.com), November 29, 1999

Answers

At your order form, insert the following new line after the
tag:

In your SMART.CGI, do the following:

- In the SUB SEND_ORDER section. Find the following line:

print MAIL "To: $FORM{'recipient'}\n";

Replace the line with: print MAIL "To: $FORM{'recipient'}, $FORM{'vendor'}\n";

Or you can insert the following new line after it: print MAIL "CC: $FORM{'vendor'}\n";

--- God bless!

-- Patrick Chan (patrickccf@hotmail.com), January 24, 2000.


the tag is suppose to be:
"<"input type="hidden" name="vendor" value="vendor@company.com"">"

--
God bless! :)

-- Patrick Chan (patrickccf@hotmail.com), May 29, 2000.


Moderation questions? read the FAQ