Usunięcie nieużywanych plików konfiguracyjnych i CSS z menedżera plików oraz uproszczenie przetwarzania wartości w klasach ShopProduct, Settings, Users, ShopPromotion, ShopCoupon, ShopProductSets i Dictionaries.

This commit is contained in:
2024-11-01 00:12:03 +01:00
parent 8d5dadc0be
commit 7faadb69e2
321 changed files with 251 additions and 44985 deletions

View File

@@ -26,17 +26,7 @@ class ShopProduct
{
global $lang_id;
$values_tmp = json_decode( \S::get( 'values' ), true );
$values = [];
foreach ( $values_tmp as $item )
{
$name = $item['name'];
$value = $item['value'];
$keys = \S::parse_name( $name );
\S::set_array_value( $values, $keys, $value );
}
$values = json_decode( \S::get( 'values' ), true );
foreach( $values as $key => $val )
{