Clarification on E-Cart Tutorial ( Integrating with Data Bridge)
I have a question on the above titled tutorial. Step #5 below says delete the FORM tag around the detail page. Are you saying to delete all of the FORM tag and code?
Here is the code I have:
<form class="DetailsPage 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>
Should I delete all of the code within opening FORM tag?
Update the Product Detail Page
Now it's time to add your Add to Cart button to theProduct Detail page that was created earlier. This will allow users to buy your stuff.
1. Open the product_detail.php page
2. Select the Add to Cart button that is currently on the page
3. Delete the button
*****4. Remove the form tag around the detail page
eCart buttons include their own form tags, so the existing tag would have created conflicts*******
5. In Code View, place your cursor within the WADADetailsButton div
6. Click Insert > WebAssist > eCart > Add to Cart Button
7. Click on Look up item ID from recordset
8. Set the Recordset to WADAProducts
9. Set the ID Column to ProductID
10. Type cart.php in the Go to page field
11. Click the Bindings tab
Here we're going to set the values for the product details so the correct product is added to
the cart.
12. Click Name from the Column list
13. Click the Dynamic Data (lightning bolt) button next to the Default value field
14. On the Dynamic Data dialog, expand the Recordset (WADAProducts) field
15. Select the ProductName variable
16. Click OK
17. Click Description from the Column list
Thanks,
HLJ