Share via E-Mail
Share on Google Buzz
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Code not generating for Buy Now link



ByDesignGames
member
Posts: 35


I'm using the Buy Now link for a 1-day promotion and the code generator url is not catching the sent info:

If using a Buy Now link, what is the value of item_cart_position? I ask because I'm using item_cart_position to process the incoming data.

Here is the current PHP that determines which item to process:

switch ($_POST['item_cart_position']) {
case '1':
if ($_POST['quantity1']) {
if ($_POST['item_number1'] == 67594)
$max_quantity = 1 * $_POST['quantity1'];
else if ($_POST['item_number1'] == 71286)
$max_quantity = 3 * $_POST['quantity1'];
}
break;

I've tried adding another else if statement with the Buy Now item_number1 but it's still not working. How can I catch a Buy Now link in PHP?


#
POSTED ON: January 29, 2008 @ 14:57 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam