to debug by put
var_dump($products); die;
before the foreach.
Like this
<?php var_dump($products); die; foreach($products['products'] as $product => $value) {
and what is the output then?
henh, why not use debugger instead, she is already using PhpStorm
Обсуждают сегодня