Metafield Rating type not returning

MPMachado
Shopify Expert
3 0 1

Hi, 

 

I'm trying to use the new metafields system to output a rank for a product. After seeing the documentation O noticed that I not able to return a number using the Rating Object, for example:

 

I have a Rating metafield from 1 to 4 with a value of 2 but I wasn't able to get the returned value.

 

{{ product.metafields.cafe.rost_level.rating }}

{{ product.metafields.cafe.rost_level.scale_max }}

{{ product.metafields.cafe.rost_level.scale_min }}
 
 
Thanks
Replies 0 (0)