User Guide

AShop V User Guide42
AShop Software © Copyright 2002 - 2010
<input type="text" name="quantity" value="18" size="2" maxlength="2">
A drop-down selection box can be substituted for to offer only fixed quantities.
<select name="product">
<option value="1" selected>1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
Add to Cart Order-Link Hyperlink With Text Or Image
A hyperlink may be used instead of the form.
<a href="http://www.yourdomain.com/ashop/basket.php?quantity=1&product=1&add=1">Add to Cart</
a>
or an image.
<a href="http://www.yourdomain.com/ashop/basket.php?quantity=1&product=1&add=1"><img
src="addtocart.gif"></a>
Change the quantity= and product= parameters accordingly.
The productid is listed next to each product in Edit Catalog.
Single Product Order Link
Omit the add=1 parameter for single product orders. This will clear the basket each time before the
product is added.
<href="http://yourdomain.com/ashop/shipping.php?quantity=1&product=1&action=checkout">Buy
Now</a>
To go directly to the payment form without viewing the cart.
http://www.yourdomain.com/ashop/shipping.php?quantity=1&product=1&action=checkout
Note that if the product has shipping or taxable set, the shipping information form will appear first.
View Cart Text Link