Changed use of active to status
This commit is contained in:
@@ -34,7 +34,7 @@ class Model_Checkout extends ORMOSB {
|
||||
|
||||
$this->and_where('allow_new','=',TRUE);
|
||||
|
||||
foreach ($this->where('active','=',TRUE)->find_all() as $item) {
|
||||
foreach ($this->list_active() as $item) {
|
||||
// Check that the cart total meets the minimum requirement
|
||||
if ($item->total_minimum AND $cart->total() < $item->total_minimum)
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user