E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2013, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Sat, 8 Mar 2008 11:12:47 GMT Thu, 23 May 2013 09:37:03 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 #3 http://www.e-junkie.com/bb/topic/2123/pg/0#post5106 http://www.e-junkie.com/bb/topic/2123/pg/0#post5106 Sat, 8 Mar 2008 11:12:47 GMT
So you can do:

eval("\$current_item_number = \$item_number$item_cart_position");

and then do the if.. then logic you have.]]>
E-junkie Discussions; E-junkieChef
Post #2 http://www.e-junkie.com/bb/topic/2123/pg/0#post5106 http://www.e-junkie.com/bb/topic/2123/pg/0#post5106 Fri, 7 Mar 2008 18:08:04 GMT
Am I missing something here?]]>
E-junkie Discussions; inoweb
Post #1 http://www.e-junkie.com/bb/topic/2123/pg/0#post5106 http://www.e-junkie.com/bb/topic/2123/pg/0#post5106 Fri, 7 Mar 2008 11:45:40 GMT
However, after I planned on sending the product ID through the custom variable... I saw that only 1 is allowed per order, and I want to use the cart feature - not buy it now.

So, my next thought is that I'll use the item-specific information to grab the item number, but I've never dealt with this in regards to post-payment data processing. I've always just used delimiters & split the custom variable.

Do I just set my script to check:

if ($item_number1) {
do this}
if ($item_number2) {
do this
}

& so forth? What I am asking is that the x represents numbers 1+ & that I only have to create variables like listed above (to whatever number, like 10) to be sure that I capture that data?

I'm pretty sure this is the case, but I want to be sure cuz I would like to know things are going to respond before I make something live.

I have another solution that isn't quite as nice & I hope that this'll work.

Thanks.]]>
E-junkie Discussions; inoweb