While frustrated tinkering with volt extension, I found a simpler solution :
Convert the model object into array. In the controller :
$products->toArray()
Simply, in the view, to display specific value of specific key from an array :
{{ product[key] }}
Problem solved, though because it is now not in form of object, I can't access object property using dot like {{ product.some_field }}
, instead {{ product['some_field'] }}
.