Sample Product Display Layouts:

Express Purchase Default Layout:

echo"
<form action='cart.php' method='post' name='form' id='form'>
<td valign='top' width='250' >
<table width='140' align='left' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><font size='2'><img src='$domain/$image_sm' border='0'></font></td>
</tr>
<tr>
<td height='20'><font size='2' face='Verdana, Arial, Helvetica, sans-serif'><b>$vendor</b></font><br>
<font size='2' face='Verdana, Arial, Helvetica, sans-serif'>$product_name<br><br>$short_desc</font></td>
</tr>
<tr>
<td><font size='2' face='Verdana, Arial, Helvetica, sans-serif'>Price: $$each_price<br>$osm<br>

$input_button
<input type='hidden' name='action' value = 'add'/>
<input type='hidden' name='store_name' value = '$store_name' />
<input type='hidden' name='id' value = '$id' />
<input type='hidden' name='category' value = '$category' />
<input type='hidden' name='product_name' value = '$product_name' />
<input type='hidden' name='price' value = '$each_price' />
<input type='hidden' name='isolated_product' value = '$isolated_product' />
<input type='hidden' name='quantity' value = '1' />
</form>
";

Single column wide format - good for small number of products displayed vertically with a longer, wider description:

echo"
<form action='cart.php' method='post' name='form' id='form'>
<td valign='top' width='100%' >
<table width='100%' align='left' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><font size='2'><img src='$domain/$image_lg' border='0'></font></td>
</tr>
<tr>
<td height='20'><font size='2' face='Verdana, Arial, Helvetica, sans-serif'><b>$vendor</b></font><br>
<font size='2' face='Verdana, Arial, Helvetica, sans-serif'>$product_name<br><br>$short_desc</font></td>
</tr>
<tr>
<td><font size='2' face='Verdana, Arial, Helvetica, sans-serif'>Price: $$each_price<br>$osm<br>

$input_button
<input type='hidden' name='action' value = 'add'/>
<input type='hidden' name='store_name' value = '$store_name' />
<input type='hidden' name='id' value = '$id' />
<input type='hidden' name='category' value = '$category' />
<input type='hidden' name='product_name' value = '$product_name' />
<input type='hidden' name='price' value = '$each_price' />
<input type='hidden' name='isolated_product' value = '$isolated_product' />
<input type='hidden' name='quantity' value = '1' />
</form>";

Standard Product Display Layout (links to product detail view)

echo"<td valign='top' width='250' >
<table width='140' align='left' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><font size='1'><a href='product_detail.php?pid=$id&store_name=$store_name&category=$category&isolated_product=$isolated_product'><img src='$domain/$image_sm' border='0'></a></font></td>
</tr>
<tr>
<td height='20'><font size='2' face='Verdana, Arial, Helvetica, sans-serif'><b>$vendor</b></font><br>
<font size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='product_detail.php?pid=$id&store_name=$store_name&category=$category&isolated_product=$isolated_product'>$product_name</a></font></td>
</tr>
<tr>
<td><font size='1' face='Verdana, Arial, Helvetica, sans-serif'>Price: $$each_price<br><br>";