Console log collection object field is null

Console log collection object field is null

body_html
Visitor
2 0 0

When I try and console.log the "body_html" field in the collection I get a null value. 

 

<script>console.log({{ collections.sale.body_html | json }});</script>


But when I console.log one level up it shows that there is data inside the field.

 

Screen Shot 2022-10-02 at 7.23.23 pm.png

 

It's strange because if I output "title, handle, id" it works fine, except body_html.

 

Reply 1 (1)

manski12
New Member
5 0 0

hi, i wanna know how you fixed this?