Yes, that is even the page showing no Display Cart addition, only comments...
The page I am working on is called Display.php and here are the contents:
<?php
//WA eCart Include
require_once("../WA_eCart/eCart1_PHP.php");
?>
<?php
$eCart1->GetContent();
?>
<?php
// WA eCart AddToCart
if (isset($_POST["eCart1_1_ATC"]) || isset($_POST["eCart1_1_ATC_x"])) {
$ATC_itemID = $_POST["eCart1_1_ID_Add"];
$ATC_AddIfIn = 0;
$ATC_RedirectAfter = "";
$ATC_RedirectIfIn = "";
$ATC_itemName = "";// column binding
$ATC_itemDescription = "";// column binding
$ATC_itemThumbnail = "";// column binding
$ATC_itemWeight = floatval("0");// column binding
$ATC_itemQuantity = "".$_POST["eCart1_1_Quantity_Add"] ."";// column binding
$ATC_itemPrice = floatval("0");// column binding
$ATC_itemQuantity = floatval($ATC_itemQuantity);
if (is_numeric($ATC_itemQuantity) && $ATC_itemQuantity != 0) {
$eCart1->AddToCart($ATC_AddIfIn, $ATC_RedirectIfIn, $ATC_itemID, $ATC_itemName, $ATC_itemDescription, $ATC_itemThumbnail, $ATC_itemWeight, $ATC_itemQuantity, $ATC_itemPrice);
if ($ATC_RedirectAfter != "" && $eCart1->redirStr == "") {
$eCart1->redirStr = $ATC_RedirectAfter;
}
if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != "") {
$_SESSION['WAEC_ContinueRedirect'] = $_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING'];
}
else {
$_SESSION['WAEC_ContinueRedirect'] = $_SERVER['PHP_SELF'];
}
}
}
?>
<?php
// WA eCart Redirect
if ($eCart1->redirStr != "") {
if (function_exists("rel2abs")) $eCart1->redirStr = rel2abs($eCart1->redirStr,dirname(__FILE__));
header("Location: ".$eCart1->redirStr);
die();
}
?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>eCart Updateable Text Field</title>
</head>
<body>
<!--MENU-LOCATION=NONE-->
<!-----------------------------------------------------------------------------
- File Name:
- WA eCart 02Display.htm
-
- Description:
- Opens the Display Manager
-
-
- This file contains proprietary and confidential information from WebAssist.com
- corporation. Any unauthorized reuse, reproduction, or modification without
- the prior written consent of WebAssist.com is strictly prohibited.
-
- Copyright 2002 WebAssist.com Corporation. All rights reserved.
------------------------------------------------------------------------------>
<form name="eCart1_1_ATC_0" method="POST" action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".htmlentities($_SERVER["QUERY_STRING"]):""; ?>">
<p>
<input type="hidden" name="eCart1_1_ID_Add" value="0" >
<input type="text" name="eCart1_1_Quantity_Add" value="1" size="4" >
<input type="submit" class="eC_FormButton" value="Add to Cart" name="eCart1_1_ATC">
</p>
<p> </p>
<p>
<!--MENU-LOCATION=NONE-->
<!-----------------------------------------------------------------------------
- File Name:
- WA eCart 10RedCO.htm
-
- Description:
- Opens the Redirect Checkout UI
-
-
- This file contains proprietary and confidential information from WebAssist.com
- corporation. Any unauthorized reuse, reproduction, or modification without
- the prior written consent of WebAssist.com is strictly prohibited.
-
- Copyright 2002 WebAssist.com Corporation. All rights reserved.
------------------------------------------------------------------------------>
<!--MENU-LOCATION=NONE-->
<!-----------------------------------------------------------------------------
- File Name:
- WA13_eCart_PostForm.htm
-
- Description:
- Opens the UI for Post Cart in Form
-
-
- This file contains proprietary and confidential information from WebAssist.com
- corporation. Any unauthorized reuse, reproduction, or modification without
- the prior written consent of WebAssist.com is strictly prohibited.
-
- Copyright 2004 WebAssist.com Corporation. All rights reserved.
------------------------------------------------------------------------------>
<!--MENU-LOCATION=NONE-->
<!-----------------------------------------------------------------------------
- File Name:
- WA eCart 10RedCO.htm
-
- Description:
- Opens the Redirect Checkout UI
-
-
- This file contains proprietary and confidential information from WebAssist.com
- corporation. Any unauthorized reuse, reproduction, or modification without
- the prior written consent of WebAssist.com is strictly prohibited.
-
- Copyright 2002 WebAssist.com Corporation. All rights reserved.
------------------------------------------------------------------------------>
<!--MENU-LOCATION=NONE-->
<!-----------------------------------------------------------------------------
- File Name:
- WA eCart 10RedCO.htm
-
- Description:
- Opens the Redirect Checkout UI
-
-
- This file contains proprietary and confidential information from WebAssist.com
- corporation. Any unauthorized reuse, reproduction, or modification without
- the prior written consent of WebAssist.com is strictly prohibited.
-
- Copyright 2002 WebAssist.com Corporation. All rights reserved.
------------------------------------------------------------------------------>
</p>
<p>
<!--MENU-LOCATION=NONE-->
<!-----------------------------------------------------------------------------
- File Name:
- WA eCart 02Display.htm
-
- Description:
- Opens the Display Manager
-
-
- This file contains proprietary and confidential information from WebAssist.com
- corporation. Any unauthorized reuse, reproduction, or modification without
- the prior written consent of WebAssist.com is strictly prohibited.
-
- Copyright 2002 WebAssist.com Corporation. All rights reserved.
------------------------------------------------------------------------------>
<input type="submit" name="submit" id="submit" value="Submit">
<!--MENU-LOCATION=NONE-->
<!-----------------------------------------------------------------------------
- File Name:
- WA eCart 10RedCO.htm
-
- Description:
- Opens the Redirect Checkout UI
-
-
- This file contains proprietary and confidential information from WebAssist.com
- corporation. Any unauthorized reuse, reproduction, or modification without
- the prior written consent of WebAssist.com is strictly prohibited.
-
- Copyright 2002 WebAssist.com Corporation. All rights reserved.
------------------------------------------------------------------------------>
<!--MENU-LOCATION=NONE-->
<!-----------------------------------------------------------------------------
- File Name:
- WA13_eCart_PostForm.htm
-
- Description:
- Opens the UI for Post Cart in Form
-
-
- This file contains proprietary and confidential information from WebAssist.com
- corporation. Any unauthorized reuse, reproduction, or modification without
- the prior written consent of WebAssist.com is strictly prohibited.
-
- Copyright 2004 WebAssist.com Corporation. All rights reserved.
------------------------------------------------------------------------------>
<!-- MENU-LOCATION=NONE -->
<!-----------------------------------------------------------------------------
- File Name:
- WA eCart 03View.htm
-
- Description:
- Opens View Cart Command
-
-
- This file contains proprietary and confidential information from WebAssist.com
- corporation. Any unauthorized reuse, reproduction, or modification without
- the prior written consent of WebAssist.com is strictly prohibited.
-
- Copyright 2002 WebAssist.com Corporation. All rights reserved.
------------------------------------------------------------------------------>
</p>
<p> </p>
<p>
<!-- MENU-LOCATION=NONE -->
<!-----------------------------------------------------------------------------
- File Name:
- WA06_eCart_Edit.htm
-
- Description:
- Inserts WA eCart Updateable Text Field
-
-
- This file contains proprietary and confidential information from WebAssist.com
- corporation. Any unauthorized reuse, reproduction, or modification without
- the prior written consent of WebAssist.com is strictly prohibited.
-
- Copyright 2004 WebAssist.com Corporation. All rights reserved.
------------------------------------------------------------------------------>
<!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//dialog">
</p>
<p>
<!--MENU-LOCATION=NONE-->
<!-----------------------------------------------------------------------------
- File Name:
- WA eCart 02Display.htm
-
- Description:
- Opens the Display Manager
-
-
- This file contains proprietary and confidential information from WebAssist.com
- corporation. Any unauthorized reuse, reproduction, or modification without
- the prior written consent of WebAssist.com is strictly prohibited.
-
- Copyright 2002 WebAssist.com Corporation. All rights reserved.
------------------------------------------------------------------------------>
</p>
</form>
</body>
</html>