hi,
I found a bug - perhaps this is a problem about global vars declaration.
within the "check stock" (around line 70) all attributes will be pushed into an array. but the $products... arn't set. it needs to be reinitialized by calling $products = $cart->get_products(); from the cart.
so the change I made (arround line 70);
----------------
// Stock Check
$any_out_of_stock = false;
if (STOCK_CHECK == 'true') {
$products = $cart->get_products();
for ($i=0, $n=sizeof($order->products); $iget_products();" is new!
hopefully this help an solves some problems.
regards
peter
More...





LinkBack URL
About LinkBacks









Bookmarks