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

Cart Doesn't Work

Thread began 7/27/2011 2:10 pm by rob294118 | Last modified 8/03/2011 3:32 pm by rob294118 | 3755 views | 52 replies

Jason ByrnesWebAssist

here are the code changes i needed to make to get this working:

line 55:
$ParamProductID_WADAProducts = (get_magic_quotes_gpc()) ? $_GET['ProductID'] : addslashes($_GET['ProductID']);

changed to:
$paramItem_WADAOptions = (get_magic_quotes_gpc()) ? $_GET['ProductID'] : addslashes($_GET['ProductID']);

line 104:
$ATC_RedirectAfter = "";

changed to:
$ATC_RedirectAfter = "cart.php";

line 212:
<input type="hidden" name="eCart1_2_ID_Add" value="0" >

changed to:
<input type="hidden" name="eCart1_2_ID_Add" value="<?php echo $row_WADAProducts["ProductID"]; ?>" >

line 219:
<option value="<?php echo $row_WADAOptions['OptionGroupID']?>"><?php echo $row_WADAOptions['OptionGroupName']?></option>

changed to:
<option value="<?php echo $row_WADAOptions['OptionName']?>"><?php echo $row_WADAOptions['OptionName']?></option>

added just before doctype tag:
// WA eCart Redirect
if ($eCart1->redirStr != "") {
header("Location: ".$eCart1->redirStr);

changed line 237:
<td ><p><?php echo $eCart1->DisplayInfo("ProductOption"); ?></p></td>

<td ><p><?php echo $eCart1->DisplayInfo("ProductOptions"); ?></p></td>

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





Ease of use


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...