protected function prepareListProduct(array &$list)
    {
        foreach ($list as &$item) {
            $this->setItemPriceFormatted($item, $this->price);
            $this->setItemUrlEntity($item, $this->store, 'product');
        }
    }
protected function prepareListProduct(array &$list)
    {
        foreach ($list as &$item) {
            $this->setItemPriceFormatted($item, $this->price);
            $this->setItemUrlEntity($item, $this->store, 'product');
        }
    }
protected function prepareListProduct ( array & $ list ) { foreach ( $ list as & $ item ) { $ this -> setItemPriceFormatted ( $ item , $ this -> price ) ; $ this -> setItemUrlEntity ( $ item , $ this -> store , 'product' ) ; } }
Prepare an array of products
@param array $list
Prepare an array of products