Mals review cart allows the user to view their shopping cart's
contents.
<a href="http://ww3.aitsafe.com/cf/review.cfm?userid=12345678">Review Cart</a>
<a href="http://ww3.aitsafe.com/cf/review.cfm?userid=12345678">
<img src="images/review-cart.gif" width="150" height="30" border="0" alt="Review Cart" /></a>
<form method="post" action="http://ww3.aitsafe.com/cf/review.cfm">
<input type="hidden" name="userid" value="12345678">
<input type="submit" value="Review Cart">
</form>
<form method="post" action="http://ww3.aitsafe.com/cf/review.cfm">
<input type="hidden" name="userid" value="12345678">
<input type="image" src="images/review-cart.gif" width="150" height="30" border="0" alt="Review Cart" value="submit">
</form>
The return link will cause "Continue Shopping" button to show up in the Mals shopping cart. When clicked, it will take the customer back to the page where they came from (or wherever you want to take them). The return link is highlighted in blue. Note there is no http in the link.
<a href="http://www.aitsafe.com/cf/review.cfm?userid=12345678&return=www.mysite.com/retpage.htm">Review Cart</a>
<form method="post" action="http://ww3.aitsafe.com/cf/review.cfm">
<input type="hidden" name="userid" value="12345678">
<input type="hidden" name="return" value="www.mysite.com/retpage.htm">
<input type="submit" value="Review Cart">
</form>
By default the Mals shopping cart uses ordinary HTML form buttons for navigation. (see Button Styles and Behavior in cart setup). You can use your own images instead. Try to keep the size of the buttons around 150x30 pixels. It is recommended to keep the images on a secure server so no one can tamper with them.
Return the viewer to the same page without having to hard-code the return page. Use this example of a form to return the viewer to the same page they left without having to use an exact return URL. This is useful for creating a number of forms on different pages. The value of elements[1] equals the line to be used, if you've placed input type="hidden" name="return" value="" on the first line below the "form name" line, then the elements value would be [0], the second line down would be [1] etc.
<form name="myForm" action="http://ww3.aitsafe.com/cf/add.cfm" method="post" onsubmit="document.myForm.elements[1].value=window.location;"> <input type="hidden" name="userid" value="12345678"> <input type="hidden" name="return" value=""> <input type="text" name="qty" size="1"> <input type="hidden" name="product" value="Product"> <input type="hidden" name="price" value="1.40"> Pound - <strong>Product</strong> - 1.40 per pound <input type="submit" value="Add to order"> </form>
The example below uses a button or link to return the viewer to the same page after clicking the 'Continue Shopping' button.
<a href="http://ww3.aitsafe.com/cf/add.cfm?userid=12345678&product=Myproduct&price=3.99&qty=1" target="_self" onclick="window.open(this.href+'&return='+window.location, this.target); return false">Return to this page</a>
Q: Review cart does not work.
A: Check the following:
Q: There is no 'continue shopping' button
A: In order for the button to show up there has to be a return
parameter. Check the 'return link' section above.