Finsweet recently released version one of the Attributes API. And as part of that release that includes some tutorials featuring Alex Iglesias explaining the technical side of how the new Attributes API works. As I was watching the videos and building along side, I was sort of curious if there might be some other fields available from that API that I could just play with. And sure enough, after doing a quick call in postman discovered that there is a price field and that there is a rating field. This rating field is actually a nested object and so you'll need to do something slightly different than you in your JavaScript in order to get that value. So whereas we had been doing product dot description or product dot title in this case, we're going to need to do product dot rating so that the JavaScript knows how to get at that property property in that nested object.
Happy building.
Receive once-in-awhile updates from the site and the world of #NoCode. Unsubscribe anytime.