its not the template that is faulty, the value of $product['flagStockCheck'] should be allocated in the order.php file, so i guess that file is faulty at some point. im using the merged fileset of ideashop.
its not the template that is faulty, the value of $product['flagStockCheck'] should be allocated in the order.php file, so i guess that file is faulty at some point. im using the merged fileset of ideashop.
I running 1.39h and I just installed SBA 1.4.13. Everything appears to be working except 2 issues. One is the previously mentioned item on this thread, which is that my available stock does not show in the shopping cart when the quantity exceeds the current stock level for that attribute. I have been comparing all the files 2 to3 times and I am pretty sure i merged it correctly.
The other issue is more of a behavior problem. I have my setting set to not go to the shopping cart every time you add an item but if the first item added has insufficient stock they all show up as insufficient subsequently.
Any help would be much appreciated.
Cooler0918
www.ahaccessories.com
I found a solution to the problem of 'stock available' not showing on the shopping cart page when a customer places more items in the cart than are available. Using latest stock by attributes contrib with zen version 1.3.9h.
In the file: /includes/modules/pages/shopping_cart/header_php.php
Around line line 130 after:
Insert this line:Code:if (STOCK_CHECK == 'true') { $flagStockCheck = zen_check_stock($products[$i]['id'], $products[$i]['quantity'],$attributes); if ($flagStockCheck == true) { $flagAnyOutOfStock = true; }
Hope that helps.Code:$stockAvailable = zen_get_products_stock($products[$i]['id']);