
Custom Post Type Management Easily manage your custom notices from the WordPress dashboard.
Anywhere Notice for WooCommerce empowers WooCommerce Store owners to create and manage custom notices that can be displayed anywhere in your store. Using WooCommerce’s powerful hook system, this plugin allows you to target specific pages or templates and fine-tune where your notices appear. This is built into the powerful Gutenberg editor that make design options limitless.
Basic usage:
- After plugin is installed and activated go to WooCommerce > Anywhere Notices.
- Click Add New WCAN Anywhere Notice. Screenshot
- You can opt to utilize the default notice block. Screenshot
- General Settings Allows you to hide header or content etc. Screenshot
- The style tab allows you to change all the styling on the plugin default block. Screenshot
- Finally add the display rule(s) and save. Thats it! Your notice will now be displayed on the frontend Screenshot
Advanced Usage:
- Instead of using the default plugin block above you can design your own element from scratch in the gutenberg editor. Screenshot
- Add display rules and save. Thats it.
Key Features:
- Gutenberg Compatible: Easily create/design and manage notices in the Gutenberg editor.
- Limitless Design Options: Design notices any way you imagine using using all the features of the Gutenberg editor
- Flexible Display Rules: Define where and how each notice should appear using WooCommerce-specific hooks.
- Intuitive Sidebar Settings: Configure display rules directly within the WordPress block editor.
- Dynamic Styling Options: Customize the look and feel of your notices, including text alignment, colors, borders, and padding.
- Support for Multiple Notices: Add multiple rules to target different areas of your WooCommerce store.
- Database Integration: Store and retrieve notice display rules efficiently with robust database handling.
- Safe and Optimized: Follows best practices for security, including sanitization, escaping, and prepared statements.
PRO Features:
- Schedule Notices: Set notice to start showing or stop showing at a specific date and time.
- Target Single Products: Display notice on a single specific product.
- Target Taxonomy Archive: Display notice on archive pages based on category or tags.
- Target Taxonomy Archive: Display notices anywhere using custom hooks. This is developer friendly and allows you to place notices wherever a plugin or theme uses hooks.
A Few Use Cases:
- Notices: Add a notice anywhere on your WooCommerce store. These notices could be promotional information eg (20% off this product).
- Disclaimers: Ensure customers seen product disclaimers in the right places.
- Terms and Conditions: Add written consent information in any spot for maximum visibility. Eg. at checkout.
- Banner Displays: In Gutenberg you can design banners or use images as your notification.
Support
For support or further inquiries, please visit Sitepact Support.
Source Code & Contribution
The source code of this plugin, including non-compressed versions of JavaScript and CSS files, is available publicly on GitHub for transparency and development collaboration:
GitHub Repository for WCAN Anywhere Notice
The repository includes all development files and tools used, such as build scripts for generating minified JavaScript and CSS. This plugin uses npm and webpack to compile and minify JavaScript and CSS files. To rebuild these assets, follow the steps below:
- Clone the GitHub repository.
- Run
npm installto install dependencies. - Run
npm run buildto compile and generate production assets.