This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
mal_s_e-commerce_cart_instructions [2009/01/17 04:16] Joel Dare |
mal_s_e-commerce_cart_instructions [2020/06/01 22:53] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Mal's E-Commerce Instructions ====== | ||
+ | This is a set of instructions on how to integrate some aspects of Mal's E-Commerce into your website. Mal's E-Commerce is a free shopping cart solution available at http://www.mals-e.com. | ||
+ | |||
+ | ===== Downloadable Products ===== | ||
+ | |||
+ | ==== Adding to Mal's ==== | ||
+ | |||
+ | - Login at www.mals-e.com | ||
+ | - Click on the //Cart Setup// tab | ||
+ | - Click on //Advanced Settings// then //Downloadable Products// | ||
+ | - Enter the skew number in the //Code// box | ||
+ | - Enter the //Description// and //Price// | ||
+ | - Leave the //Units// field blank | ||
+ | - Enter an HTML link to the MP3 file into the //Link// box (see below). | ||
+ | - Click the //Add// button. | ||
+ | |||
+ | Here's an example of what the link should look like. | ||
+ | |||
+ | <a href="http://www.example.com/product.mp3">Download Product</a> | ||
+ | |||
+ | To break that down a little bit more, it's in the following format. Just replace //[url]// below with the URL to the downloadable file and replace //[text]// with the text you want to appear. Clicking on //[text]// will then take you to //[url]//. | ||
+ | |||
+ | <a href="[url]">[text]</a> | ||
+ | |||
+ | Your downloadable product is now managed by the shopping cart and is available for purchase. | ||
+ | |||
+ | ==== Buy Button on Your Website ==== | ||
+ | |||
+ | Now add a buy button to the product page on your website. Just copy and paste the following code into the raw HTML of your web page. Replace //[server]// with the name of the server you were assigned, replace the //userid// value with your user ID at Mal's, and replace the //pcode// value with the skew number you entered at Mal's. | ||
+ | |||
+ | <code html> | ||
+ | <form action=http://[server].aitsafe.com/cf/add.cfm method=post> | ||
+ | <input type=hidden name=userid value=[userid]> | ||
+ | <input type=hidden name=pcode value=[pcode]> | ||
+ | <input type=submit value="Buy Now"> | ||
+ | </form> | ||
+ | </code> | ||
+ | |||
+ | ===== Shippable Products ===== | ||
+ | |||
+ | ==== Buy Button on Your Website ==== | ||
+ | |||
+ | For shippable products, there is no need to enter any product information on the Mals' E-Commerce side. Instead, you just create buy now links with the information in them. | ||
+ | |||
+ | Just copy and paste the following code into the raw HTML of your web page. Replace the //userid// value with your user ID at Mal's, replace the //product// and //price// values with the short description and price of the item, and replace the //units// value with the weight of this item in ounces. | ||
+ | |||
+ | <code html> | ||
+ | <form action=http://ww12.aitsafe.com/cf/add.cfm method=post> | ||
+ | <input type="hidden" name="userid" value="E096838"> | ||
+ | <input type="hidden" name="product" value="Test Product"> | ||
+ | <input type="hidden" name="price" value="9.99"> | ||
+ | <input type="hidden" name="units" value="5"> | ||
+ | <input type="submit" value="Buy Now"> | ||
+ | </form> | ||
+ | </code> |