Description
This plugin lets WooCommerce store owners mark products as presale with a product tag. When a product is on presale, only registered users can buy it. Visitors who are not logged in can still see the product, but cannot add it to the cart. Instead, they see a message with a link to the login or registration page.
Features:
- Mark products as presale with the product tag
preventaorpresale. - Prevents visitors who are not logged in from buying presale products.
- Shows a custom message instead of the “Add to cart” button.
- Compatible with standard WooCommerce themes.
- No custom fields or extra plugins (such as ACF) needed.
- Clean, lightweight code with no dependencies.
Video
Usage
- To put a product on presale, add the product tag
preventaorpresale. - The plugin detects these products automatically and changes their behavior for visitors who are not logged in.
Installation
- Upload the
register-buy-presale-productsfolder to/wp-content/plugins/. - Activate the plugin through the Plugins menu in WordPress (WooCommerce must be active).
- Add the product tag
preventaorpresaleto your presale products. - Done. Only registered users can buy those products.
FAQ
Can I use a different tag?
The plugin recognizes the product tags preventa and presale.
Are the products still visible to everyone?
Yes. The product stays visible in the catalog, but the purchase button is replaced with a notice for visitors who are not logged in.
Does it work with variable or grouped products?
It is optimized for simple products.
Does it require Advanced Custom Fields (ACF)?
No. Everything works with native WooCommerce product tags.
Screenshots
Changelog
1.1.0
- Removed the notice shown to every visitor in the footer when the plugin was disabled.
- Declared the WooCommerce dependency (Requires Plugins) and HPOS compatibility.
- Readme and description: presale products are detected by product tag (
preventaorpresale); removed the mention of categories. - Interface strings in English, ready for translation on translate.wordpress.org.
- Removed the invalid Plugin URI and fixed the folder name in the installation steps.
- Removed unused CSS.
- Plugin header: added Requires at least, Requires PHP and License URI.
1.0.0
- First stable release.
- Prevents visitors who are not logged in from buying presale products.
- Presale tags detected automatically (
preventa,presale). - Custom message on the product page and in the catalog.





