There are two ways for customers to enter an affiliate's manual referral code. When affiliate.php is opened without an affiliate ID parameter, the following form opens in the browser. The form page uses the cart.html page template.
The manual referral form may also be inserted into an HTML web page. An example of the form is included with distribution of AShop Deluxe and is named referralformEXAMPLE.html.
<form action="affiliate.php" method="post">
<input type="text" name="referrer" size="15">
<input type="submit" value="Submit" name="submit">