Commit 657d0216 authored by DM42's avatar DM42

Fix manual catalog items cannot be made unavailable for purchase

parent 86c5b34c
......@@ -111,7 +111,7 @@ class Cart_manualcat {
$itemlist = Cart_manualcat::get_itemlist();
foreach ($itemlist as $item) {
$skudata=Cart_manualcat::get_item($item);
if (!isset($skudata["item_active"])) {
if (!isset($skudata["item_active"]) || $skudata["item_active"] == 0 ) {
unset($catalog[$item]);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment