You may choose a colourful style for the custom coupon message, or wrap the message in your own CSS class container.
It’s also possible to hide the default message from Woocommerce so that only your custom coupon message is displayed.
(the plugin uses inline CSS to hide the default Woocommerce message).
Take a look at the screenshots for the coupon edit screen with the plugin enabled and some examples.
The meta box was implemented using the technique described on this blog post:
The message styles were generated using this tool:
- Upload the entire
woocommerce-custom-coupon-messagefolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Can I use HTML in the custom coupon message box?
Yes you can. Just make sure that your HTML is correct, otherwise things may look strange.
- What do I enter in the CSS class textfield?
If you’d like to use your own CSS style for the custom coupon message container, just enter your name of the CSS class in this textfield.
You do not need to enter the dot(.) indicating that this is a CSS class. Only one CSS class can be entered.
- Can I choose a style for the message AND enter a CSS class in the textfield?
No, this will not work, sorry. If you do this the default Woocommerce style will be applied.
- Does the colourful message styles look good in all browsers?
Yes, they should, but in Internet Explorer 8 and below they look just ok (No rounded corners, shadows etc).
- This plugin does not work. What can I do?
The plugin should work fine using all newer versions of Woocommerce (tested with version 1.6.6 and 2.0.5)
If it’s not working just ask for help in the support forum, and I’ll try to sort out any bugs.
- Hey, I have and idea/feature request for this plugin. Will you consider adding it?
I might if I have the time. Let me know and I’ll see if it’s doable 🙂
Contributors & Developers
“Woocommerce Custom Coupon Message” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Added option to choose a colourful style to wrap the custom coupon message in
- Added option to enter a CSS class for the custom coupon message container
- Cleaned up code and fixed some typos
- Woocommerce 2.0 ready (works with 1.6.6 as well)
- Plugin can be now localized
- Added Norwegian translation
- First release