5 Apr 2011, 11:23 PM
New Zenner
- Join Date:
- Apr 2011
- Posts:
- 2
- Plugin Contributions:
- 0
Shopping_Cart array issue for International Checkout
I am integrating a new checkout button in the cart portion of zen cart.
All I need to do is pass variables from the cart into a hidden form to then push to International Checkout.
editing tpl_shopping_cart
I've added:
foreach ($productArray as $product) {
To print values for each item in the cart. This works fine until I try and get the quantity of each item with
if ($product['flagShowFixedQuantity']) {
echo $product['showFixedQuantityAmount'] . '<br /><span class="alert bold">' . $product['flagStockCheck'] . '</span><br /><br />' . $product['showMinUnits'];
} else {
echo $product['quantityField'] . '<br /><span class="alert bold">' . $product['flagStockCheck'] . '</span><br /><br />' . $product['showMinUnits'];
}
This generates a form field with the quantity, not just the quantity as a value.
How do I get, just the Value
Thanks