{"id":212906,"date":"2024-12-09T05:41:27","date_gmt":"2024-12-09T05:41:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wc-anywhere-notice\/"},"modified":"2025-02-10T14:01:05","modified_gmt":"2025-02-10T14:01:05","slug":"wcan-anywhere-notice","status":"publish","type":"plugin","link":"https:\/\/id.wordpress.org\/plugins\/wcan-anywhere-notice\/","author":18537129,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.25","stable_tag":"1.0.25","tested":"6.7.5","requires":"6.2","requires_php":"8.0","requires_plugins":null,"header_name":"Anywhere Notice for WooCommerce","header_author":"Sitepact","header_description":"A plugin to add customizable notifications, media and other content anywhere in WooCommerce using hooks.","assets_banners_color":"9e99c5","last_updated":"2025-02-10 14:01:05","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/ryonwhyte","header_plugin_uri":"https:\/\/sitepact.com\/wcan-anywhere-notice\/","header_author_uri":"https:\/\/sitepact.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":706,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"sitepact","date":"2024-12-09 05:41:09"},"1.0.24":{"tag":"1.0.24","author":"sitepact","date":"2025-01-29 04:05:42"},"1.0.25":{"tag":"1.0.25","author":"sitepact","date":"2025-02-10 14:01:05"}},"upgrade_notice":{"1.0.0":"<p>First stable release. Please report any issues to our support team.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.gif":{"filename":"icon-128x128.gif","revision":3204603,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.gif":{"filename":"icon-256x256.gif","revision":3204603,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500-rtl.png":{"filename":"banner-1544x500-rtl.png","revision":3204603,"resolution":"1544x500","location":"assets","locale":""},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3204603,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250-rtl.png":{"filename":"banner-772x250-rtl.png","revision":3204603,"resolution":"772x250","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3204603,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"wcan-anywhere-notice\/simple-notice":{"apiVersion":2,"name":"wcan-anywhere-notice\/simple-notice","version":"0.1.0","title":"WCAN: Simple Notice","category":"wcan-anywhere-notice-blocks","icon":"megaphone","description":"Add customizable notifications using blocks anywhere in WooCommerce","supports":{"html":false,"anchor":true},"attributes":{"heading":{"type":"string","default":"Notification Heading...","source":"html","selector":"h3"},"headingFontSize":{"type":"string","default":"14px"},"hideHeading":{"type":"boolean","default":false},"content":{"type":"string","default":"This is where you will add your notification content","source":"html","selector":"p"},"contentAlignment":{"type":"string","default":"left"},"contentFontSize":{"type":"string","default":"12px"},"hideContent":{"type":"boolean","default":false},"headingColor":{"type":"string","default":"#000000"},"contentColor":{"type":"string","default":"#000000"},"backgroundColor":{"type":"string","default":"#00ff00"},"borderColor":{"type":"string"},"containerPadding":{"type":"object","default":{"top":10,"left":10,"right":10,"bottom":10}},"borderSize":{"type":"object","default":{"top":0,"left":0,"right":0,"bottom":0}},"borderRadius":{"type":"object","default":{"top":0,"left":0,"right":0,"bottom":0}}},"textdomain":"wcan-anywhere-notice","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css"}},"tagged_versions":["1.0.0","1.0.24","1.0.25"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3204603,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3204603,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3204603,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3204603,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3204603,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3204603,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"<p><strong>Custom Post Type Management<\/strong>\nEasily manage your custom notices from the WordPress dashboard.<\/p>","2":"<p><strong>Sidebar Controls<\/strong><br \/>\nConfigure display rules and style options directly within the block editor.<\/p>","3":"<p><strong>Design Anything<\/strong><br \/>\nUtilize the gutenberg editor to design anything you want.<\/p>","4":"<p><strong>Display Rules<\/strong><br \/>\nUse display to rules to place your notice anywhere in WooCommerce<\/p>","5":"<p><strong>Notice on Cart<\/strong><br \/>\nExample of notice on cart page.<\/p>","6":"<p><strong>Another Example<\/strong>\nThis is a custom gutenberg notice example.<\/p>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4073,11326,1159,286],"plugin_category":[45],"plugin_contributors":[196213,196214],"plugin_business_model":[],"class_list":["post-212906","plugin","type-plugin","status-publish","hentry","plugin_tags-hooks","plugin_tags-notices","plugin_tags-notification","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-ryonwhyte","plugin_contributors-sitepact","plugin_committers-sitepact"],"banners":{"banner":"https:\/\/ps.w.org\/wcan-anywhere-notice\/assets\/banner-772x250.png?rev=3204603","banner_2x":"https:\/\/ps.w.org\/wcan-anywhere-notice\/assets\/banner-1544x500.png?rev=3204603","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wcan-anywhere-notice\/assets\/icon-128x128.gif?rev=3204603","icon_2x":"https:\/\/ps.w.org\/wcan-anywhere-notice\/assets\/icon-256x256.gif?rev=3204603","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wcan-anywhere-notice\/assets\/screenshot-1.png?rev=3204603","caption":"<p><strong>Custom Post Type Management<\/strong>\nEasily manage your custom notices from the WordPress dashboard.<\/p>"},{"src":"https:\/\/ps.w.org\/wcan-anywhere-notice\/assets\/screenshot-2.png?rev=3204603","caption":"<p><strong>Sidebar Controls<\/strong><br \/>\nConfigure display rules and style options directly within the block editor.<\/p>"},{"src":"https:\/\/ps.w.org\/wcan-anywhere-notice\/assets\/screenshot-3.png?rev=3204603","caption":"<p><strong>Design Anything<\/strong><br \/>\nUtilize the gutenberg editor to design anything you want.<\/p>"},{"src":"https:\/\/ps.w.org\/wcan-anywhere-notice\/assets\/screenshot-4.png?rev=3204603","caption":"<p><strong>Display Rules<\/strong><br \/>\nUse display to rules to place your notice anywhere in WooCommerce<\/p>"},{"src":"https:\/\/ps.w.org\/wcan-anywhere-notice\/assets\/screenshot-5.png?rev=3204603","caption":"<p><strong>Notice on Cart<\/strong><br \/>\nExample of notice on cart page.<\/p>"},{"src":"https:\/\/ps.w.org\/wcan-anywhere-notice\/assets\/screenshot-6.png?rev=3204603","caption":"<p><strong>Another Example<\/strong>\nThis is a custom gutenberg notice example.<\/p>"}],"raw_content":"<!--section=description-->\n<p><strong>Anywhere Notice for WooCommerce<\/strong> 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.<\/p>\n\n<h3>Basic usage:<\/h3>\n\n<ol>\n<li>After plugin is installed and activated go to <strong>WooCommerce &gt; Anywhere Notices<\/strong>.<\/li>\n<li>Click Add New WCAN Anywhere Notice. <a href=\"https:\/\/sitepact.com\/wp-content\/uploads\/2024\/12\/add-new-notice-v1.png\">Screenshot<\/a><\/li>\n<li>You can opt to utilize the default notice block. <a href=\"https:\/\/sitepact.com\/wp-content\/uploads\/2024\/12\/notice-default-block-v1.png\">Screenshot<\/a><\/li>\n<li>General Settings Allows you to hide header or content etc. <a href=\"https:\/\/sitepact.com\/wp-content\/uploads\/2024\/12\/wcan-general-settings-v1.png\">Screenshot<\/a><\/li>\n<li>The style tab allows you to change all the styling on the plugin default block. <a href=\"https:\/\/sitepact.com\/wp-content\/uploads\/2024\/12\/wcan-style-tab-v1.png\">Screenshot<\/a><\/li>\n<li>Finally add the display rule(s) and save. Thats it! Your notice will now be displayed on the frontend <a href=\"https:\/\/sitepact.com\/wp-content\/uploads\/2024\/12\/display-rules-v1.png\">Screenshot<\/a><\/li>\n<\/ol>\n\n<h3>Advanced Usage:<\/h3>\n\n<ol>\n<li>Instead of using the default plugin block above you can design your own element from scratch in the gutenberg editor. <a href=\"https:\/\/sitepact.com\/wp-content\/uploads\/2024\/11\/gutenberg-anything.png\">Screenshot<\/a><\/li>\n<li>Add display rules and save. Thats it.<\/li>\n<\/ol>\n\n<h3>Key Features:<\/h3>\n\n<ul>\n<li><strong>Gutenberg Compatible:<\/strong> Easily create\/design and manage notices in the Gutenberg editor.<\/li>\n<li><strong>Limitless Design Options:<\/strong> Design notices any way you imagine using using all the features of the Gutenberg editor<\/li>\n<li><strong>Flexible Display Rules:<\/strong> Define where and how each notice should appear using WooCommerce-specific hooks.<\/li>\n<li><strong>Intuitive Sidebar Settings:<\/strong> Configure display rules directly within the WordPress block editor.<\/li>\n<li><strong>Dynamic Styling Options:<\/strong> Customize the look and feel of your notices, including text alignment, colors, borders, and padding.<\/li>\n<li><strong>Support for Multiple Notices:<\/strong> Add multiple rules to target different areas of your WooCommerce store.<\/li>\n<li><strong>Database Integration:<\/strong> Store and retrieve notice display rules efficiently with robust database handling.<\/li>\n<li><strong>Safe and Optimized:<\/strong> Follows best practices for security, including sanitization, escaping, and prepared statements.<\/li>\n<\/ul>\n\n<h3>PRO Features:<\/h3>\n\n<ul>\n<li><strong>Schedule Notices:<\/strong> Set notice to start showing or stop showing at a specific date and time.<\/li>\n<li><strong>Target Single Products:<\/strong> Display notice on a single specific product.<\/li>\n<li><strong>Target Taxonomy Archive:<\/strong> Display notice on archive pages based on category or tags.<\/li>\n<li><strong>Target Taxonomy Archive:<\/strong> Display notices anywhere using custom hooks. This is developer friendly and allows you to place notices wherever a plugin or theme uses hooks.<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/sitepact.com\/wcan-anywhere-notice\/\">Unlock all Pro features<\/a><\/p>\n\n<h3>A Few Use Cases:<\/h3>\n\n<ul>\n<li><strong>Notices:<\/strong> Add a notice anywhere on your WooCommerce store. These notices could be promotional information eg (20% off this product).<\/li>\n<li><strong>Disclaimers:<\/strong> Ensure customers seen product disclaimers in the right places.<\/li>\n<li><strong>Terms and Conditions:<\/strong> Add written consent information in any spot for maximum visibility. Eg. at checkout.<\/li>\n<li><strong>Banner Displays:<\/strong> In Gutenberg you can design banners or use images as your notification.<\/li>\n<\/ul>\n\n<h3>Support<\/h3>\n\n<p>For support or further inquiries, please visit <a href=\"https:\/\/sitecare.sitepact.com\">Sitepact Support<\/a>.<\/p>\n\n<h3>Source Code &amp; Contribution<\/h3>\n\n<p>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:<\/p>\n\n<p><a href=\"https:\/\/github.com\/Sitepact\/wcan-anywhere-notice\">GitHub Repository for WCAN Anywhere Notice<\/a><\/p>\n\n<p>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:<\/p>\n\n<ol>\n<li>Clone the GitHub repository.<\/li>\n<li>Run <code>npm install<\/code> to install dependencies.<\/li>\n<li>Run <code>npm run build<\/code> to compile and generate production assets.<\/li>\n<\/ol>\n\n<!--section=installation-->\n<h4>Manual<\/h4>\n\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Navigate to <strong>WooCommerce &gt; Anywhere Notices<\/strong> to start creating your custom notices.<\/li>\n<li>Use the sidebar controls to configure display rules and style each notice.<\/li>\n<\/ol>\n\n<h4>Within WordPress<\/h4>\n\n<ol>\n<li>Go to <strong>Plugins &gt; Add New<\/strong>.<\/li>\n<li>Search \"Anywhere Notice for WooCommerce\".<\/li>\n<li>Install and Activate<\/li>\n<li>Go to <strong>WooCommerce &gt; Anywhere Notices<\/strong> and create your first notice<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20create%20a%20new%20notice%3F'><h3>How do I create a new notice?<\/h3><\/dt>\n<dd><p>Navigate to <strong>WooCommerce &gt; Anywhere Notices<\/strong> and click 'Add New WCAN Anywhere Notice'. From there, you can define your message and set display rules using the sidebar options.<\/p><\/dd>\n<dt id='what%20are%20woocommerce%20hooks%3F'><h3>What are WooCommerce hooks?<\/h3><\/dt>\n<dd><p>Hooks are points in WooCommerce where you can add or modify functionality. This plugin uses hooks to determine where your notices should appear on the site giving you maximum flexibility<\/p><\/dd>\n<dt id='can%20i%20display%20multiple%20notices%20on%20the%20same%20page%3F'><h3>Can I display multiple notices on the same page?<\/h3><\/dt>\n<dd><p>Yes! You can configure multiple notices with different rules, and they will be displayed based on their respective hook and visibility settings.<\/p><\/dd>\n<dt id='how%20do%20i%20style%20my%20notices%3F'><h3>How do I style my notices?<\/h3><\/dt>\n<dd><p>We have included design blocks that you can use and design finitely. Each notice includes options to customize text color, font size, background, padding, and more. These options are available under the 'Styles' tab in the block editor sidebar. However, you have limitless design options if you wish to make any custom design in the Gutenberg Editor<\/p><\/dd>\n<dt id='is%20this%20plugin%20compatible%20with%20custom%20woocommerce%20templates%3F'><h3>Is this plugin compatible with custom WooCommerce templates?<\/h3><\/dt>\n<dd><p>Absolutely! The plugin dynamically reads available WooCommerce templates and allows you to target notices specifically for those templates.<\/p><\/dd>\n<dt id='what%20happens%20if%20i%20delete%20a%20notice%3F'><h3>What happens if I delete a notice?<\/h3><\/dt>\n<dd><p>When a notice is permanently deleted, all its associated display rules are also removed from the database. Therefore the notice will no longer be shown on the frontend<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Custom post type for notices  <\/li>\n<li>Dynamic WooCommerce hook integration  <\/li>\n<li>Sidebar controls for managing notices  <\/li>\n<li>Flexible display and styling options<\/li>\n<\/ul>","raw_excerpt":"A powerful plugin for placing notices anywhere on your WooCommerce store using flexible display rules and hooks.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/212906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=212906"}],"author":[{"embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sitepact"}],"wp:attachment":[{"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=212906"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=212906"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=212906"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=212906"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=212906"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/id.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=212906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}