Im having a few problems with editing the following code:
Code: Select all
if(isset($_REQUEST['Include']))
{
$z=1;
$addtocart=$_REQUEST['SpecialOutfit-0'];
$chapcart->addToCart($addtocart,1);
}
Code: Select all
if(isset($_REQUEST['Include']))
{
$z=1;
$joe=0;
//$addtocart=$_REQUEST['SpecialOutfit-0'];
$joe=$_REQUEST['joe'];
$i=0;
while($i != $joe)
{
$addtocart=$_REQUEST['SpecialOutfit-'.$i.''];
$chapcart->addToCart($addtocart,1);
}
//$chapcart->addToCart($addtocart,1);
}
Thanks in advance.