Jim, that's right except for the group:
/* Basic permission check */
if ( !$this->container()->can( 'download', $member ) )
{
/* Hold on - if we're a guest and buying means we'll have to register which will put us in a group with permission, we can continue */
if ( $member->member_id or !$this->container()->can( 'download', \IPS\Member\Group::load( \IPS\Settings::i()->member_group ) ) )
{
return FALSE;
}
}
It is checking the MEMBER group: \IPS\Member\Group::load( \IPS\Settings::i()->member_group ).
While that works and do not display the BUY button to Guests, it also disallow MEMBERS to download/buy!
It doesn't has something specific to Guests.
Should I report as a bug?