E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2012, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Tue, 29 Jan 2008 21:57:47 GMT Fri, 10 Feb 2012 16:59:25 GMT 681 E-JUNKIE 5 E-Junkie Forum http://www.e-junkie.com/bb/ http://www.e-junkie.com/ej/logo.gif 290 104 Post #1 http://www.e-junkie.com/bb/topic/1637/pg/0#post4046 http://www.e-junkie.com/bb/topic/1637/pg/0#post4046 Tue, 29 Jan 2008 21:57:47 GMT
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?]]>
E-junkie Discussions; ByDesignGames