Thanks Ray
When I come to the Update the Product Detail page I have problems.
Tutorial says
'Delete the Button': OK
'Look for the opening ( <form... ) and closing ( </form>) tags in Code view, and remove the whole tags'.
If I delete the whole section as below The page detail vanishes.
If I delete the beginning word "form" and not the opening < and </form>
then I get the DW error:
<class="DetailsPage Basic_Default" id="Details_Basic_Default" name="Details_Basic_Default" method="post" action="
Can you please explain what I do delete
Many thanks
John
The whole section is:
<form class="DetailsPage Basic_Default" id="Details_Basic_Default" name="Details_Basic_Default" method="post" action="<?php echo (htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)); ?>">
<fieldset class="Basic_Default" id="Details">
<legend class="groupHeader">Details</legend>
<div class="WADADetailsContainer">
<a name="top"></a>
<?php if ($totalRows_WADAproducts > 0) { // Show if recordset not empty ?>
<div id="WADADetails">
<div class="WADAHeader"><h1><?php echo($row_WADAproducts['ProductName']); ?></h1></div>
<div class="WADADetailsImageInfoArea">
<div class="WADADetailsMainImageArea"><img class="WADADetailsMainImage" src="images/products/<?php echo($row_WADAproducts['ProductImage']); ?>" alt="<?php echo($row_WADAproducts['ProductName']); ?>" width="180" /></div>
<div class="WADADetailsProductInfo">
<div class="WADADetailsSubHeading"><?php echo($row_WADAproducts['ProductShortDesc']); ?></div>
<div class="WADADetailsSubText"><?php echo($row_WADAproducts['ProductLongDesc']); ?></div>
<div class="WADADetailsPriceButton">
<div class="WADADetailsPrice"><?php echo($row_WADAproducts['ProductPrice']); ?></div>
<div class="WADADetailsButton"><input type="button" value="Add To Cart" class="formButton unstyled" id="AddToCart" name="AddToCart" /></div>
</div>
<div class="WADAClearLeft"></div>
</div>
<div class="WADAClearLeft"></div>
</div>
<div class="WADADetailsShortDesc"><?php echo($row_WADAproducts['ProductShortDesc']); ?></div>
<div class="WADADetailsLongDesc"><?php echo($row_WADAproducts['ProductLongDesc']); ?></div>
</div>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_WADAproducts == 0) { // Show if recordset empty ?>
<div class="WADANoResults">
<div class="WADANoResultsMessage">This product has been removed.</div>
</div>
<?php } // Show if recordset empty ?>
</div>
<span class="buttonFieldGroup" >
<div class="WADADetailsLinkArea">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<?php if ($totalRows_WADAproducts > 0) { // Show if recordset not empty ?>
<?php } // Show if recordset not empty ?>
<td><input type="button" value="Back To Results" class="formButton unstyled" id="BackToResults" name="BackToResults" onclick="document.location.href = 'products_results.php<?php echo(isset($_GET["pageNum_WADAproducts"])?"?pageNum_WADAproducts=".intval($_GET["pageNum_WADAproducts"]):""); ?>';" /></td>
</tr>
</table>
</div></span>
</fieldset>
</form>