View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

editing Powerstore 2

Thread began 8/19/2009 6:48 pm by rayne202093 | Last modified 8/31/2009 11:15 am by rayne202093 | 4199 views | 35 replies

larsentim278054

Okay - well I examined the default checkout.php that comes out of the box and the one that my site is using, and the difference is that the one my site is using has this code below, which was added because of the simple cart on the right column of my template... The reason it has this code is because the simple cart doesn't function without it. So does this have nothing to do with it?

<?php
// WA eCart Clear Cart
if (isset($_POST["WA_Store_Cart_Clear_100"]) || isset($_POST["WA_Store_Cart_Clear_100_x"])) {
$WA_Store_Cart->ClearCart();
$Redirect_redirStr="";
if ($Redirect_redirStr != "") {
$WA_Store_Cart->redirStr = $Redirect_redirStr;
}
$WA_Store_Cart->cartAction = "ClearCart";
}
?>
<?php
//WA eCart Redirect Check Out
if (isset($_POST["WA_Store_Cart_Checkout_1"]) || isset($_POST["WA_Store_Cart_Checkout_1_x"])) {
$Redirect_redirStr="checkout.php";
if ($Redirect_redirStr != "") {
if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != "") {
if (strpos($Redirect_redirStr, "?") === false) {
$Redirect_redirStr .= "?".$_SERVER['QUERY_STRING'];
}
else {
$Redirect_redirStr .= "&".$_SERVER['QUERY_STRING'];
}
}

$WA_Store_Cart->redirStr = $Redirect_redirStr;
}
$WA_Store_Cart->cartAction = "Checkout";
}
?>



Also - you mention that the problem lies in the confirm page. So should I be looking at the confirm page or the checkout page? I thought I was supposed to be looking at the checkout trigger on the checkout page? (which I don't know what I'm looking for).

Thanks for your help Ray. I appreciate it!

Originally Said By: Ray Borduin
  Simple cart probably has nothing to do with it. Shipping can only be calculated after you give a shipping address, which is on the checkout page. The next page, the confirm page, it appears is being skipped, so there is no opportunity to show shipping. The problems are almost surely related and occur on the confirm.php page where the authorize.net code is specified.  

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