diff --git a/core/classes/Shop.php b/core/classes/Shop.php index 9efc08f5ca2a3a63d5279f428ebc7070f0135f11..bf3f262a67d74769265bed9565052e1d2f6b30ff 100644 --- a/core/classes/Shop.php +++ b/core/classes/Shop.php @@ -12,7 +12,7 @@ public static function getAllProducts(){ $return = array(); foreach($itemsConfig as $itemConfig){ - $item = yaml_parse($itemConfig); + $item = yaml_parse($itemConfig['itemConfig']); print_r($items); $itemAleadyEntered = false;