close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Quick Cart checkout link

Thread began 9/04/2009 2:02 pm by 4egidio363291 | Last modified 9/21/2009 5:08 pm by Dani Chankhour | 8411 views | 27 replies |

4egidio363291

Quick Cart checkout link

I created a quick cart in the upper portion of my page and the checkout link is not working. The view and clear cart functions seem to be working however when I click on checkout, nothing happens. I have to click on view cart then checkout to proceed. I have attached the page with the quickcart and the display page where the checkout is working.

Thank you for the help.

Attached Files
Archive.zip
Sign in to reply to this post

Jason ByrnesWebAssist

try adding the following at line 1 to see if a PHP error is occurring:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>




If there are no PHP errors, find the following code just before the doctype tag:

php:
<?php

// WA eCart Redirect
if ($buy->redirStr != "")     {
  
header("Location: ".$buy->redirStr);
}
?>



and change it to:

php:
<?php

// WA eCart Redirect
echo("redirect = ".$buy->redirStr); 
if (
$buy->redirStr != "")     {
  
header("Location: ".$buy->redirStr);
}
?>



This wont so much fix the problem, but may point me in the right direction for finding the cause.

Sign in to reply to this post

4egidio363291

Error Message

I added to line 1 and received this error message:

Notice: Undefined index: uname in /homepages/44/d232789399/htdocs/buyorsellvideos/sell/games/NintendoDS/sellnintendodsgames.php on line 397

Sign in to reply to this post

Jason ByrnesWebAssist

line 397 is:
<td width="123" valign="top"><span class="style31"><?php echo $_COOKIE['uname']; ?></span></td>


try changing that to:
<td width="123" valign="top"><span class="style31"><?php echo isset($_COOKIE['uname'])?$_COOKIE['uname']:""; ?></span></td>

Sign in to reply to this post

4egidio363291

Add to Cart error

I did that, now I cannot even use the add to cart button. I get this error when I click add to cart.

%3E

Sign in to reply to this post

Jason ByrnesWebAssist

Te code change i suggested would not cause this error, please send a new copy of your page, there must be something else wrong.

Sign in to reply to this post

4egidio363291

requested page

see attached

Attached Files
sellnintendodsgames.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you have the forms action set incorrectly. change line 403:
<td width="379" bgcolor="#FFFFFF"><form action="<?php echo $_SERVER["../Xbox360/PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?>" method="post" name="buy_1_ATC_<?php echo $row_nintendods["Title"]; ?>" id="buy_1_ATC_<?php echo $row_nintendods["Title"]; ?>">


to:
<td width="379" bgcolor="#FFFFFF"><form action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?>" method="post" name="buy_1_ATC_<?php echo $row_nintendods["Title"]; ?>" id="buy_1_ATC_<?php echo $row_nintendods["Title"]; ?>">

Sign in to reply to this post

4egidio363291

still not working

I am not getting error messages but the link still doesn't work. Should I do what you advised in your first response? (see below)


If there are no PHP errors, find the following code just before the doctype tag:
PHP Code:
<?php
// WA eCart Redirect
if ($buy->redirStr != "") {
header("Location: ".$buy->redirStr);
}
?>
and change it to:
PHP Code:
<?php
// WA eCart Redirect
echo("redirect = ".$buy->redirStr);
if ($buy->redirStr != "") {
header("Location: ".$buy->redirStr);
}
?>
This wont so much fix the problem, but may point me in the right direction for finding the cause.

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, change the code toL:
<?php
// WA eCart Redirect
echo("redirect = ".$buy->redirStr);
if ($buy->redirStr != "") {
header("Location: ".$buy->redirStr);
}
?>


this will tell us if the redirect is being set.

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