I'm using the shopp e-commerce plugin. In my template file I need to get the id of the product (post). The online docs for shopp list
shopp('product', 'id') but irritatingly this prints the id and there appears to be no alternative that simply returns it. Also confusing, when I do
$post->ID it returns -42... which is weird.
Can anyone help me return the post id of individual products inside the shopp loop?