[ Home ] [ All in one ] [ Auction Payments ] [ Buy Now Links ] [ Check boxes ] [ Collecting cash ] [ ges_tidbits ] [ Host Reviews ] [ Hyperlinks ] [ Tags, Fields & Tips ] [ Misc Examples ] [ Multiproducts ] [ Multiproductform ] [ The New Button Tag ] [ New Window ] [ Payment Services ] [ php_mysql ] [ Posting Messages ] [ productpr ] [ Q&A from the forum ] [ Unsecure Payments ] [ Vouchers ] [ Shipping ]


Posting messages to the cart from your web

You can include the optional field "message" in any link that adds a product to the cart (links or forms). Only one post is allowed as any subsequent post of another message will overwrite the previously stored one.

An alternative is to post directly to a special script which will push a message directly into a customer's cart. The URL of the script is:

http://www.aitsafe.com/cf/message.cfm

In can be used to collect any information you like. A simple form to post a message would be constructed like this:

<form action="http://ww3.aitsafe.com/cf/message.cfm" method=post>
<input type=hidden name=userid value=5234567>
<input type=hidden name=return value=www.yoursite.com/yourpage.htm>
<textarea cols=20 rows=4 name=message></textarea>
</form>

You aren't limited to posting just a single field. You can add more fields by naming them all message[] (appending opening and closing square brackets). In addition you can also include a title for each individual message using the field "message_title". For example:

<form action="http://ww3.aitsafe.com/cf/message.cfm" method=post>
<input type=hidden name=userid value="5234567">
<input type=hidden name=returnvalue=www.yoursite.com/yourpage.htm>
<input type=hidden name=message_title[] value="First message">
<textarea cols=20 rows=4 name=message[]></textarea>
<input type=hidden name=message_title[] value="Second message">
<textarea cols=20 rows=4 name=message[]></textarea>
</form>

It is assumed that you will have the message option turned off in Admin set-up. In this case the contents of the message field(s) are automatically formatted and displayed at the top of the page where the customer enters their invoice and shipping details.

Back (368 bytes)