Hello,
I think the problem lies here:
> $qty = $formqty;
> if($cart[$new])
> //$cart[$new]++;
>$cart[$new] = $cart[$new] + $qty;
> else
> $cart[$new] = 1;
> $total_price = calculate_price($cart);
> $items = calculate_items($cart);
> }
It seems like you should b
I've been trying for ages to add a form field qty to an array to pass it to
my shopping cart and have finally managed it but not quite.
Please check this cart:
http://www.violasystems.com/shop_testing/
When you add an item using the form text box it doesn't add more than 1 on
the first submit. How
2 matches
Mail list logo