I'm sorry but the issue isn't fixed in v3.1.2.
As you can see in the attached screenshots, on a fresh install (only Osclass and the plugin), unregistered users can still see the sale option, even though the setting is OFF.
Also, it doesn't matter if the setting is ON/OFF, as all users can see the selling option.
How it should work:
- When Enable Product Selling is on, only select users can sell products. So only users selected by the Admin.
- When Enable All Registered to Sell Products is also on, then all registered users are allowed to sell products.
- Unregistered users should never see the selling option, under any circumstances.
Plugin: v3.1.2
Osclass: v3.8.0 (it still happens on Osclass v4.4.0 also)
PHP: 7.4