News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Payment Extra Info cant use Session Variable?

Started by hasnut, October 24, 2007, 22:07:56 PM

Previous topic - Next topic

hasnut

Is there any reson that Session variable cant be used in payment Extra info php code??

for ($i=0;$i<$_SESSION['cart']["idx"];$i++) {
$c=$i+1;
echo '<input type="hidden" name="'.$item.$c._desc.'" value="'.$_SESSION['cart'][$i]["description"].'" />';
echo '<input type="hidden" name="'.$item.$c._price.'" value="'.$_SESSION['cart'][$i]['product_id'].'" />';
echo '<input type="hidden" name="'.$item.$c._qty.'" value="'.$_SESSION['cart'][$i]["quantity"].'" />';
}

Joseph Kwan

Not sure what you need. What page did you put this code?
Joomla/VM Upgrade Services. Problems with your migration? We can help.
Custom extensions to VM. Performance Tuning. Template modifications and advices.
Pay service to make VM work according to your needs. Your Joomla/VM solutions are just a PM away.