Código PHP:
while ($pos>=0) {
// Update Cart Quantities
if (isset($A)) {
if ($A=="Update")
{
$myvalue=$howmany[$pos];
$basket->Set_Item_Quantity($pos,$howmany[$pos]);
}
}
$mytext="<tr class='mainpagetableline2'>";
$mytext.="<td class='medboldtable' colSpan='6' width='614'> ".$basket->Get_Item_Name($pos)." - ".$basket->Get_Item_Color($pos)." - ".$basket->Get_Item_Size($pos)."</td>";
$mytext.="</tr><tr>";
$mytext.="<td class='smallnormaltable' vAlign='center' align='left' width='10'>".$basket->Get_Item_ID($pos)."</td>";
$mytext.="<td class='smallnormaltable' vAlign='center' width='252'><a href='product.php?product=WHATEVER&V=27&ph=basket'>".$basket->Get_item_name($pos)."</a></td>";
$mytext.="<td class='smallboldtable' vAlign='center' align='right' width='66'>".$basket->Get_Item_Price($pos)."</td>";
$mytext.="<td vAlign='center' align='right' width='59'><input size='3' value='".$basket->Get_Item_Quantity($pos)."' name='howmany[$pos]'></td>";
$mytext.="<td class='smallnormaltable' vAlign='center' align='right' width='57'><a href='ver_carrito.php?A=Remove&P=".$pos."'>Quitar</a></td>";
$price=$basket->Get_Item_Price($pos);
$quantity=$basket->Get_Item_Quantity($pos);
$total=number_format(($total + ($price*$quantity)), 2, '.', '');
$totaliva=$total*1.18;
$nombre=$basket->Get_Item_name($pos);
print $mytext;
$pos = $basket->Enum_Items();
}
gracias