Add to Cart Error
I've put in error reporting and am getting PHP Notice: Undefined variable: row_Recordset1
TournamentNewPayment.php on line 22
I've put in error reporting and am getting PHP Notice: Undefined variable: row_Recordset1
TournamentNewPayment.php on line 22
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.
I removed the Validation, but did not understand how to add hidden price value
thanks
in the add to cart button form, add a hidden form element.
then bind the initial value to the TournamentPrice column of your recordset.
Jason,
The last update worked, but now when you click add to cart it does not redirect to the shopping cart TournmentCartNew.php
are you getting any error messages?
one issue i see is a blank line at line 5.
line 1-6:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
<?php require_once('Connections/Skylinks.php'); ?>
should be:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
<?php require_once('Connections/Skylinks.php'); ?>
you changed the name of the add to cart button element. you'll nee to change it back.
change:
<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:
<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">
sometimes it works but when i go to check out it should go to paypal standard not the billing info?
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.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.