load->view()
takes an associative array or an object as a parameter, so this should work:
foreach($items as $item) {
$this->load->view('/profile/partials/product_item', array('item' => $item));
}
After that, you can use:
echo $item->name;
echo $item->creation_date;
in your view.
Remember, every array key of the array/object that you pass to your load view function becomes a variable in the view. So, if you send:
$data['hey'] = 'there';
In your view, you'll have the variable $hey
which has the value 'there'
.