Skip to content

Make the best of product announcements, promos, discounts, alerts, etc. on your eCommerce site with this one of its kind WooCommerce extension.

Notifications You must be signed in to change notification settings

cloudredux/product-notices-woocommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

=== Product Notices for WooCommerce ===
Contributors: cloudredux
Tags: woocommerce, notices, notification, promo, alert, product notice, WooCommerce notice
Requires at least: 5.2
Tested up to: 5.9
Requires PHP: 7.2
Stable tag: 1.2.0
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl.html

Make the best of product announcements, promos, discounts, alerts, etc. on your eCommerce site with this one of its kind WooCommerce extension.

== Description ==
__Better showcase and display notices on your WooCommerce store__

Ever wanted to show notifications, alerts, announcements or general notices on the product pages of your website? Product Notices for WooCommerce makes it a breeze for you!

Now, make your notices on your eCommerce websites stand out more than ever! With the new Product Notices for WooCommerce plugin, highlight the most important announcements or showcase discounts on all or on any product page.

With its two customization options:

1. **Global Notices**- These are the notices that you can highlight across your store. This feature allows you to set up notices to show on all the products. It may be some kind of market announcement, alert, or for any other criteria.

1. **Per-Product Notices**-This feature allows you to show notices on a per-product basis. The notice may be in form of promo, discount, or any other criteria. This feature also allows you to hide the global notice from the page, thus allowing custom store notices an easy task.

=== Setting up Global Notice ===
In order to set up a Global Notice for the products on your store:

1. Navigate to the **Settings** menu under **WooCommerce** on the WordPress Dashboard.
1. Click on the **Product Notice** tab and use the settings field to set up the product notice to show on all the products in the store.
1. Choose from a set of default appearance styles to set-up how your notice shows up on the product pages using the **Notice Appearance** dropdown.

=== Setting up Per-Product Notice ===
If you would rather show a notice, alert, announcement, etc. only on one or more and not all the products in your store, the plugin allows you to do just that.

1. Head to the **Edit Product** screen for a product and look for the **Product Notice/Information** metabox.
1. Add the desired content in the *Notice Text* field.
1. Choose from a set of default appearance styles to set-up how your notice shows up on the page using the **Notice Appearance** dropdown.

=== Display notices effortlessly, with Shortcodes ===
The plugin also offers built-in shortcodes to display notices on the website. The shortcode allows you to display both global and a specific-product notice on a desired page or post.

1. Use `[crwcpn-notice]` shortcode to display the global notice as configured in the plugin settings.
1. To show the product notice on a different location on the product page, you can use the shortcode with an additional attribute `type`. So, the shortcode `[crwcpn-notice type="product"]` will display product notice on the product page at the desired location.
1. If you wish to show a product specific notice on a different page, post or elsewhere on the website, you can use the `id` attribute of the shortcode to do so. Using this `[crwcpn-notice type="product" id="123"]` will display the notice configured for the product with ID 123 on desired location on the website.

== Installation ==
Log in to your **WordPress Dashboard**, navigate to the **Plugins** menu and click **Add New**. In the search field type **“Product Notices for WooCommerce”** and click on **Search Plugins**. Once you’ve found the plugin you can install it by simply clicking **“Install Now”**.

Or you can follow the steps given below:

1. Upload the entire `product-notices-woocommerce` folder to the `/wp-content/plugins/` directory.
1. DO NOT change the name of the `product-notices-woocommerce` folder.
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. Once activated, visit the **Product Notices** tab under **WooCommerce** > **Settings**.
1. Set up the plugin options as required.

== Frequently Asked Questions ==
= How do I set up a global notice to show on all products? =
Global Notice shows up on all the products on your store. In order to set up a global notice, navigate to the **Settings** menu under **WooCommerce** on the WordPress Dashboard. Click on the **Product Notice** tab and use the settings field to set up the product notice that you intend to show on all the products in the store.

= Can I set up a notice to only show on one or more products? =
If you do not wish to display the notice on all the products, you can set up notice on per-product basis. Head to the **Edit Product** screen for any product and look for the **Product Notice/Information** meta box and add the desired content in the **Notice Text** field. Choose from a set of default appearance styles to set up how your notice shows up on the page using the **Notice Appearance** dropdown.

= Can I show both Global and Per-Product notice on a product page? =
Sure, if you have a configured a global notice to show on products and would like to display additional information, promo, discount notice or any other type of notice on a product page; you can simply head straight to the **Edit Product** screen for a product and add the notice. In this case, both the Global and Per-Product notice would be displayed on that product page.

= Can I disable global notice for one or more products? =
If you want some of the product pages on your store to not display the global notice that you have set up, just head to the **Edit Screen** for the product(s) and locate the **Global Notice** metabox in the sidebar. Check that box to hide the global notice on that product page.

= Is HTML supported in the notice text field? =
Yes you can use standard HTML tags to customize and set-up notices to your liking!

= Are shortcodes supported in notices? =
Sure, feel free to use any shortcode in the notice text field and it would output just fine on the frontend. Be careful while using shortcodes that output highly dynamic content. This may lead to performance bottlenecks or other failure.

= Hey, I use Elementor [or any page builder]. Does the plugin have built-in shortcode(s) that I can use? =
We received a lot of requests for this feature and tada, it is here. You can use `[crwcpn-notice]` shortcode to display global notice as configured in the plugin settings. Use `[crwcpn-notice type="product"]` to show product notice and you can also supply `id` attribute if you wish to display notice created for a specific product like this `[crwcpn-notice type="product" id="123"]`.


== Screenshots ==
1. Product Notices for WooCommerce - Global Notice Display
1. Product Notices for WooCommerce - Per-Product Notice Display
1. Product Notices for WooCommerce - Global & Per-Product Notice Display
1. Product Notices for WooCommerce - Global Notice Setting
1. Product Notices for WooCommerce - Per-Product Notice Setting

== Changelog ==

= 1.2.0 = 
1. **New:** Added display rules options for Global Notice. Display rules allow you to select one or more product categories and tags from the drop-down menu to display Global Notice on selected product categories and/or tags.
1. Re-factored the admin CSS file to better control the admin screen columns. Also fixed issues with mobile responsive appearance.
1. **Fixed:** Removed `wp_kses_post` validation/escaping in the shortcode output. This would allow certain shortcodes that output form elements work as expected on the frontend.

= 1.1.1 =
1. **New:** Added [crwcpn-notice] shortcode to allow using shortcodes to display notices configured in the plugin. The documentation on how to use the shortcode is available under *Description* on the [Details](https://wordpress.org/plugins/product-notices-for-woocommerce/#description) tab and [on this page here](https://cloudredux.com/contributions/wordpress/product-notices-for-woocommerce/?utm_source=plugin-wordpress-org&utm_medium=plugin-referral&utm_campaign=crwcpn-product-notices).

= 1.1.0 = 
1. **New:** Added custom style to Appearance options for Notice display. Custom styles allow you to choose custom background, border and text color for notice display. Color picker support allows more flexibility with color selection.
1. Introduced *Upcoming Features* admin widget on plugin settings page under WooCommerce Settings to keep users updated about planned plugin features (via feed).

= 1.0.1 =
1. Fixes leaking HTML tags (escaped initially) in the admin notice text when WooCommerce is inactive or not installed.
1. Added a review box to plugin settings tab under WooCommerce Settings.
1. Organized the front-end loading CSS to contextual directory under `assets`.
1. Fixes related to better handling the plugin behavior when WooCommerce is inactive or unavailable.

= 1.0.0 =
Initial release of the plugin.

About

Make the best of product announcements, promos, discounts, alerts, etc. on your eCommerce site with this one of its kind WooCommerce extension.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •