[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
VCommerce Round Zero
Round Zero has been delayed until Wednesday because only two sites (O and H) are functioning.
(Group O and H get extra credit for being on time).
The round will start 10 am on Wednesday. At that time I will go through the sites and register those that are functioning.
Sites that are still *not* functioning Wednesday 10 am *must* send me an e-mail when they believe their site is ready. If approved at that point, the time stamp on that e-mail will be the official entry time to round zero, at which point transactions and pagehits will be saved.
What is required of your site to be functioning is:
1) All pages must work within the VCommerce frameset. Thus you must include the include/frame_script.html in between your header tags.
2) All pages must have also include the include/include.asp in first line of code.
3) You must have at least one purchase form functioning where consumers can buy a product/service from your site.
-----
New purchase form instructions (instruction comments are CAPITALIZED):
Every purchase form of yours must still include at least the following:
<form action="../purchase.asp" method="post">
<input type="TYPE1" name="id" value="X">
<input type="TYPE2" name="quantity"> OR <select name="quantity">OPTIONS</select>
</form>
X = the unique id assigned by VCommerce on your company page when the item was added (http://alicia.ics.hawaii.edu/companies).
TYPE1 = hidden, radio or checkbox
TYPE2 = text or hidden
OPTIONS = any number of <option value="Y">Y
Y = a number
Note that you are no longer required to have a hidden price field. The transaction script uses the value that you have supplied for the item at your company page. You can change the price at any time the same place. Just remember that this change happens in the VCommerce database, so you would also have to modify your webpage or your database to synchronize the prices.
Now, in addition you may do the following in your forms:
1) You may add any number of <input type="TYPE1" name="id" value="X">, so that you can sell more than one item at once. For example at Volcano-Condoms you are required to purchase a shipping service along with each condom product. The important thing here is that name="id" for all items to be sold in a form, such that a request("id") call in my purchase.asp file brings me a string of all your ids to process. Again, check out volcano-condoms to see how it works.
2) You may add a field like this:
<input type="hidden" name="redirectURL" value="PATH">
PATH = the path to your thank you or order confirmed page from the vcommerce directory e.g. "A/thankyou.asp"
If this field is added, my purchase.asp file will redirect to the file given in PATH upon completion of the order transaction.
Mette