Error in Wix Stores Example Code

I am trying to find out how to retrieve the Collection ID from a product on a Product Page.
I have no Wix Stores DB, so I went to the example in the editor:

https://www.wix.com/code-examples/shop-reviews

I fired up this, to see if getProduct() would get me there. But this very function is red underlined, does not exist, so I can´t run it.

The App market says Wix Stores is installed (on this example).

Anyone?

Hi Giri,
It’s a bug on our end. The function works fine, however it seems like an error. We’re working on resolving it.

Thanks,
Tal.