fixed show true when price is 0 4
This commit is contained in:
@@ -612,6 +612,10 @@ class ProductController extends SuperController
|
||||
unset($data['direct_price']);
|
||||
}
|
||||
|
||||
if (!Product::hasInventoryColumn()) {
|
||||
unset($data['inventory']);
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user