Documentation for the Custom Cart Notices for WooCommerce plugin.

Custom Cart Notices for WooCommerce

Author: WPFactory PluginsVersion: 1.5.3Updated: 2 months ago
Requires WordPress version: 4.4Tested up to WordPress version: 6.3


Table of Contents



Cart Messages for WooCommerce plugin lets you customize cart notices in WooCommerce. Plugin settings are located in “WooCommerce > Settings > Cart Messages”.

Cart/Checkout Messages

Cart Messages for WooCommerce - Cart Checkout Messages Options
Enable section
Enables/disables “Cart Messages” or “Checkout Messages” sections.
Default: no
Total number of messages
Save changes to see new options fields.
Default: 1
Message #X
Message to display. You can use HTML and/or shortcodes here.
Default: None
Message #X: Type
Please note that “error” messages are always displayed first, “success” messages in the middle and “notice” messages are always displayed last. Also please note that all “error” messages are merged into single section on frontend. Possible values: Notice; Success; Error.
Default: Notice
Message #X: Type on_empty
Message #X: Visibility
For URL param: /?alg-wc-cart-message=1. Possible values: Always; URL param.
Default: Always

Add to Cart Messages

Cart Messages for WooCommerce - Add to Cart Messages Options
Enable section
Enables/disables “Add to Cart Messages” section.
Default: no
Custom text
Enables/disables custom add to cart message.
Default: no
Custom text: Text
You can use shortcodes and/or HTML here. If empty – no add to cart message will be displayed.
Default: None
Product title by URL
Will get product title from add-to-cart parameter in URL. If enabled – can override “Custom text” option.
Default: no

Frontend Example

Cart Messages for WooCommerce - Frontend - Cart



“Cart Messages for WooCommerce” plugin has these shortcodes included:

  • [alg_wc_cm_cart_contents_total],
  • [alg_wc_cm_minus_cart_contents_total],
  • [alg_wc_cm_cart_contents_count],
  • [alg_wc_cm_applied_coupons].