Show cart messages in WooCommerce cart based on conditional rules
Adding cart notices to your e-commerce cart? Very easy with Conditional Cart Messages.
A more dynamic way to show a message or a notice in your WooCommerce cart!
- You can set different rules to make the message appear, such as the total price of the cart or the product price.
- Combine the rules to make the message appear at specific conditions, for example: If the total price of the cart is greater than $ 100 and the quantity in the cart is less than 5 show the message.
- Use the AND or OR operators to combine rules. You can also create rule groups.
You can find the official documentation here.
Looking for more features?
- Display a message also in the checkout, product, shop or any other page
- Get more conditions: Price, Products, Categories, User Roles, User Types, Billing and Shipping Country, Start and End Date, Product Quantity, Total Quantity, Total Amount, Total Net Amount, Total Taxes, Shipping Total, Total Coupon Discount Amount, Referrer URL
- Create unlimited message templates
- Add an icon to your message
- Add a button to your message
- Choose the background color (also on hover), the border color (also on hover), and the text color of your message
- Choose the background color, the border color, and the text color of your button
Check all the other premium features here.
A brief Markdown Example
- From your WordPress back-end click on “YourPlugins > WooCommerce Conditional Cart Notices”
- Click on “New Notice” and type in a “Name”
- Click on “Add rule” and set the following condition: “Price” “greater or equal” “100”
- Set “Show Notice In” = “Cart” and add a message inside the field “Notice Message”
- Click on “Save”.
- Create a WooCommerce Product with a price greater then 100.
- Add the created product to cart and check your cart: A message should appear.
- From the back-end of your website click on Plugins > Add new and search for Conditional Cart Messages for WooCommerce – YourPlugins.com
- Click on Install Now
- Click on Activate
- To get started follow the instructions here: https://yourplugins.com/documentation/your-woocommerce-conditional-cart-notices/getting-started
Contributors & Developers
“Conditional Cart Messages for WooCommerce – YourPlugins.com” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Bugfixes for PHP 8.1
- Adding List_Form_Field and bootstrap 5
- Adding ajax url
- Adding filters: ‘yps_wc_conditional_cart_notices/notice/view/notice::notice_message’ and ‘yps_wc_conditional_cart_notices/notice/view/notice::button_text’
- Bug fixes
- Reduce the number of scripts used on front-end
- Bug fixes
- Framework fixes
- Framework fixes
- Bugfixes and adding filters
- Adding italian language
- Changing labels
- First stable release