close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

1. How to use eCart eCommerce MySQL database to record the data? 2. Has it "Admin login" to view and manage the data?

Thread began 9/06/2015 4:49 pm by Shawn | Last modified 10/24/2017 1:28 pm by Ray Borduin | 318 views | 13 replies |

Shawn

1. How to use eCart eCommerce MySQL database to record the data? 2. Has it "Admin login" to view and manage the data?

I have tried the "Check out wizard" to see the database options, but it always says: "Please insert an eCart Display at least once in this site before using the wizard." What means by "insert an eCart Display at least once"?

Sign in to reply to this post

Ray BorduinWebAssist

It means go to "WebAssist->eCart->Display Manager" and run that wizard on a page where you want your cart displayed before trying to run the Checkout Wizard.

Sign in to reply to this post

Shawn

I have tried the "Check out wizard" to see the database options, but it always says: "Please insert an eCart Display at least once in this site before using the wizard." What means by "insert an eCart Display at least once"?

Originally Said By: Ray Borduin
  It means go to "WebAssist->eCart->Display Manager" and run that wizard on a page where you want your cart displayed before trying to run the Checkout Wizard.  


I added a "Add to cart" button to my page, and clicked the ""WebAssist->eCart->Display Manager" , it just add a piece of gray code to the page, then tried "Checkout Wizard", it still shows "Please insert an eCart Display at least once in this site before using the wizard."

Sign in to reply to this post

Ray BorduinWebAssist

It shouldn't add a piece of grey code, it should add an entire cart display with all the items in the cart listed, a sub-total and total and update functionality to update quantity and remove items. Something is wrong in the Display Cart step.

Does the display manager open? Are there any errors or messages? The real problem here is that the display manager isn't running correctly. If you post a US phone number or Skype contact information I can set up a screen sharing session so you can show me what you are seeing. I've never heard of a problem like yours, so I'll have to debug it directly to figure out what is going on.

Sign in to reply to this post

Steve

Same issues here... Fresh install of the latest eCart and only commented out snippets and no means to create the Checkout page from the wizard :-(

Sign in to reply to this post

Steve

Fails in similar fashion using CS6 as well as 2018CC

Sign in to reply to this post

Ray BorduinWebAssist

You have to create a display cart first before running the checkout wizard. You can even create it on a new page and delete the page later. It uses the design settings you chose when doing the eCart display when creating the checkout experience.

Sign in to reply to this post

Steve

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>&nbsp;</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>&nbsp;</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>
Sign in to reply to this post

Ray BorduinWebAssist

Try creating a new display. After it is created it should create an .xml file in your WA_eCart folder where the design settings are saved. The error you are getting means that WA_DMCFG.xml file isn't there for some reason. Re-running the display manager on a blank page should create the necessary .xml file and allow you to complete the checkout wizard.

Sign in to reply to this post

Steve

"Create new display"... Not sure I am following you.

I create a new page (display2.php) and then use the Display Manager as shown in the screen:

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...