Update product cache metadata and add custom class for deleted products

This commit is contained in:
2025-02-09 23:19:05 +01:00
parent 575d4aace0
commit 02fb4cefd3
2 changed files with 9 additions and 6 deletions

View File

@@ -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": {

View File

@@ -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'],