diff --git a/.vscode/ftp-kr.sync.cache.json b/.vscode/ftp-kr.sync.cache.json index bf3d61b..80ab077 100644 --- a/.vscode/ftp-kr.sync.cache.json +++ b/.vscode/ftp-kr.sync.cache.json @@ -41,8 +41,8 @@ }, "class.Products.php": { "type": "-", - "size": 6777, - "lmtime": 1736159781898, + "size": 7374, + "lmtime": 1738181132982, "modified": false }, "class.Site.php": { @@ -73,8 +73,8 @@ }, "class.Products.php": { "type": "-", - "size": 4108, - "lmtime": 1736159665616, + "size": 4157, + "lmtime": 1738181399119, "modified": false }, "class.Users.php": { @@ -2718,8 +2718,8 @@ "products": { "main_view.php": { "type": "-", - "size": 6808, - "lmtime": 1736161322024, + "size": 7415, + "lmtime": 1738180720857, "modified": false }, "product_history.php": { diff --git a/autoload/controls/class.Products.php b/autoload/controls/class.Products.php index 998c7ad..a5f0028 100644 --- a/autoload/controls/class.Products.php +++ b/autoload/controls/class.Products.php @@ -38,6 +38,9 @@ class Products $custom_class = 'custom_name'; } + if ( $custom_label_4 == 'product_deleted' ) + $custom_class = 'text-danger'; + $data['data'][] = [ $row['product_id'], $row['offer_id'],