close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Add to Cart Error

Thread began 7/23/2012 12:15 am by SuperSoaker | Last modified 8/16/2012 3:02 pm by Jason Byrnes | 1112 views | 9 replies |

SuperSoaker

Add to Cart Error

I've put in error reporting and am getting PHP Notice: Undefined variable: row_Recordset1

TournamentNewPayment.php on line 22

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

Jason ByrnesWebAssist

the problem is code order.

instead of using the recordset column in the validation, add a hidden form element to the add to cart button form that passes the TournamentPrice and use that form element in the validation.

Sign in to reply to this post

SuperSoaker

Still Have Issues

I removed the Validation, but did not understand how to add hidden price value

thanks

Attached Files
TournamentNewPayment (2).zip
Sign in to reply to this post

Jason ByrnesWebAssist

in the add to cart button form, add a hidden form element.

then bind the initial value to the TournamentPrice column of your recordset.

Sign in to reply to this post

SuperSoaker

Not Redirecting to Shopping Cart

Jason,

The last update worked, but now when you click add to cart it does not redirect to the shopping cart TournmentCartNew.php

Attached Files
TournamentNewPayment (4).zip
Sign in to reply to this post

Jason ByrnesWebAssist

are you getting any error messages?

one issue i see is a blank line at line 5.

line 1-6:

php:
<?php

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

<?php require_once('Connections/Skylinks.php'); ?>




should be:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
<?php 
require_once('Connections/Skylinks.php'); ?>
Sign in to reply to this post

SuperSoaker

No Errors

here is a link to the page

TournamentNewPayment.php

Sign in to reply to this post

Jason ByrnesWebAssist

you changed the name of the add to cart button element. you'll nee to change it back.

change:

php:
<input type="image"  src="WA_eCart/Images/Pacifica/Btn2_EN_addtocart.gif" border="0" class="eC_ImageButton" value="Add to Cart" name="http://www.skylinksmensclub.org/TournamentCartNew.php">



to:

php:
<input type="image"  src="WA_eCart/Images/Pacifica/Btn2_EN_addtocart.gif" border="0" class="eC_ImageButton" value="Add to Cart" name="TournamentSignUp_1_ATC">
Sign in to reply to this post

SuperSoaker

Now shows empty cart

sometimes it works but when i go to check out it should go to paypal standard not the billing info?

Sign in to reply to this post

Jason ByrnesWebAssist

I am not able to reproduce. It is adding the items to the cart for me, not showing an empty cart. I would need to be able to reproduce in order to troubleshoot.

Yes, the checkout button goes to a billing information page, then to a confirm page, On the confirm page, they click the checkout button to go to the paypal site.

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