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

- Enable section
- Enables/disables “Cart Messages” or “Checkout Messages” sections.
- Default:
no
- Default:
- Total number of messages
- Save changes to see new options fields.
- Default:
1
- Default:
- 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
- Default:
- Message #X: Type
on_empty
- Message #X: Visibility
- For URL param:
/?alg-wc-cart-message=1
. Possible values: Always; URL param.- Default:
Always
- Default:
Add to Cart Messages

- Enable section
- Enables/disables “Add to Cart Messages” section.
- Default:
no
- Default:
- Custom text
- Enables/disables custom add to cart message.
- Default:
no
- Default:
- 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
- Default:
Frontend Example
Shortcodes
“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]
.