All the best
This was inspired by a customer who asked if it would be possible to use an alternative message and I thought it was a good idea, let’s make it happen
Not work! When activate it ? Internal Server Error
Internal Server Error 500 can be a low memory limit, PHP version, .htaccess, … you should normally check with your hosting provider.
See for example http://wordpress.org/support/topic/activating-plugin-causes-error-500-plugin-interface-disappears
Also, you can try to activate debugging for your WordPress installation please and post the results of what is displayed in wp-content/debug.log
To activate debugging, in wp-config.php use:
define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_LOG’, true );
But try to get in touch with the hosting provider’s support guys first, it’s usually one of the above mentioned first.
When trying to create a coupon getting error 500
WordPress 3.8.2 Apache, php5.3
Ok. Activate debugging, and Premature end of script headers: post-new.php, referer: /wp-admin/edit.php?post_type=shop_coupon
Remove .htaccess —- same error
memory_limit = 128M
max_execution_time = 300
Only your plugin getting error 500. Other plugins works fine
Fast_CGI = error 500
Mod_PHP = ERR_EMPTY_RESPONSE
This is not related to the plugin itself but to your setup.
Return the money, because neither me nor hosters run it failed!
Please ask Envato support for a refund, they handle the sales.
If it doesn’t work on your setup, as far as I am concerned I would recommend a refund for the plugin as you can’t use it. They shouldn’t have a problem doing do that for you. Refer them to this conversation.
If you want I will give you access to FTP and MySQL to study the problem
I really need this plugin and I’m ready to give it enough time to sort out. Settings can be changed, but when you try to edit or add an error code 500
We can have a look, please send admin and FTP access to support at itthinx dot com – please include a link to this conversation in your email so that we know to what the access is related.
Ok, send it.
What type of connect you use (icq, skype)?
Your memory limit is 40MB – screenshot : https://www.dropbox.com/s/u8hlimar92fkboc/Screen%20Shot%202014-04-15%20at%2011.03.07%20AM.png
Check the wp-config.php, you’ll see a couple of lines towards the end which I’ve added. You can uncomment those and have the memory limit increased.
That’s one step into solving problems with your setup. You should still get in touch with your hosting provider so they can check the server logs to see what is actually causing your 500 internal server error.
Here’s an additional resource http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/
Again, this is not related to the plugin. You must find out what is causing the 500 and fix the issue. You can also try disabling other plugins and then enable these individually to see what’s causing the 500.
Does it check if a coupon code is applied? I want every buyer to use a coupon and post a message to buyers that don’t apply coupons.
Hi, no it does not cover the case you describe. Thanks for asking
It is not working. i have latest WP, latest woocommerce, latest theme.
I click on the “Coupon Mesages” link in admin, but nothing happens, abolutely nothing, ALL other pages in admin works, just yours doesnt. Have you tested this on IIS hosting?
Hi, please forward admin access to your site so we can have a look to support at itthinx dot com – please include a link to this conversation.
I have sent an email to you now, thanks.
Seems your plugin is incompatible with “WooCommerce Points & Rewards” by WooThemes.. when going to http://.../wp-admin/admin.php?page=woocommerce_coupon_messages
this error comes:
PHP Fatal error: Call to a member function calculate_totals() on a non-object in C:\Inetpub\vhosts\salepepe.com.au\httpdocs\_dev\wp-content\plugins\woocommerce-points-and-rewards\classes\class-wc-points-rewards-cart-checkout.php on line 353
Hi, thanks for the access and details – note that the error message you’re showing is due to a an error in Point and Rewards, not due to an error in this plugin. Can you please get in touch with support at WooThemes and quote the error message to them?
Following up on this, I’ve logged in and visited the page http://www.salepepe.com.au/_dev/wp-admin/admin.php?page=woocommerce_coupon_messages but there is no error, looks fine as it should.
remove that LINK!!!!!!!!!!!!!!!!!!! i dont want my site public for everyone to see!
maybe there is an error in your plugin that is affecting their plugin – can you check it out?
Hi, I can’t edit the comment with the link anymore. I’ll ask Envato to see if they can remove it.
Anyhow, regarding the error, as I’ve already mentiond in my reply above, there is no error on that page and it works fine. I am not aware of any error in our plugin and the error message that you mentioned before is not related to the plugin itself but to a possible mistake in Points and Rewards. You should get in touch with WooThemes support to point out the error you had seen, they will be glad to look into it for the Points and Rewards plugin.
When I activate this there is a tab for it under coupons, but the page itself is blank. There are no options or fields shown where you can do anything, just a blank page.
Activating it also causes blank pages to occur under your other Coupon plugs like Groups, Roles, Expiration etc.
When you deactivate they go back to normal.
Hi, we don’t see this happening with the latest versions installed. What plugins do you have installed and what versions are you using? Also WordPress and WooCommerce please.
Hi, your plugin works great, but I’m having one issue. The custom messages all work perfectly except for when you remove a coupon on Checkout. Then it always says “Coupon has been removed” no matter what. Any idea what might be causing this? Thanks.
Hi, thanks for using it!
The “Coupon has been removed” message can’t be customized (yet), it appears when the coupon is removed on the cart and checkout page. Thanks for reporting this, we’ll check to see if we can add support for changing this message, too.
Hi, I get a 502 error when I try to enter a coupon after the installation.. I would like to get a refund, thanks
Hi, a 502 Bad Gateway points to an internal conflict which is not related to this plugin. The cause can be due to a lack of PHP memory or a conflict or server misconfiguration. See for example http://pcsupport.about.com/od/findbyerrormessage/a/502error.htm You should check your logs and get in touch with your hosting provider to solve the issue. In any case, if you want a refund you should ask Envato support https://help.market.envato.com/hc/en-us/articles/202821460-Can-I-Get-A-Refund-
Plugin does not show up on website??? Installed correctly, and allows me to make changes on back end. However, does appear on site and you documentation is absolutely horrible.
Please detail what do you mean by “does not show up” – you also mention “does appear on site” which seems contradictory. Could you please explain what settings you are using and what exactly you want to achieve? Also if there is any part in the documentation that we can help you with, we’ll be happy to do so.
Hi, ok with woo 2.6?
Hi, is there plugin still under support? Is it work with Woocommerce 2.6? Thanks.
Yes of course!
I don’t see any place to change the message if the coupon is being applied to a cart that is more than the MAXIMUM spend on a coupon…
Okay, I think I fixed it. I added this line to /class-woocommerce-coupon-messages-coupon.php:
I bought the plugin and installed it. As soon as a message is trigged that I modified, the message I want is displayed but this following message is displayed under the header. Any idea on what is happening? Thanks. Latest version of Woocommerce / Wordpress.
Warning: get_object_vars() expects parameter 1 to be object, null given in /www/wp-content/plugins/woocommerce-coupon-messages/lib/core/class-woocommerce-coupon-messages-coupon.php on line 338
Note, that the message does not appear if I do not modify the default message. For example, if I try to apply a coupon that does not exist or if I leave the coupon field blank and click Apply Coupon, the warning message will appear if I modified the output message.
Hmmm this was coming up on our staging server and we have wp_debug turned on. When we turn it off, the message goes away. It’s easy to sweep it under the rug because we will not have wp_debug turned on but I don’t like warnings being thrown in my prod environment – Your recommendation?
And for the record, it does what it is supposed to do quite nicely. Thanks.
Many thanks for the feedback and the report on the warning.
Although we can make the warning message disappear when debugging is turned off, this is still something that should be fixed, I’ll have a look and prepare a new release with that.
Thanks for addressing this.
Do you have a change log for this plugin? Curious as to what was in the the most recent update. Thanks.
Sure, it’s in the plugin’s root folder in the file changelog.txt
Hi, can shortcode be used in the custom message?
Hi, sorry no you can’t use shortcodes there.
I cannot use HTML like class=”showcoupon” because this is being stripped out after saving. This is not what is being advertised in the pre-sales. Can you add the feature that more HTML tags and atributes are possible?
Hi, can you please specify where you want to add this class?
I want to add in the text-input in the CMS for any message. If WooCommerce throws an error message to the end-user, then “click here to enter coupon”-link is hidden… which is not user-friendly because if you entered the wrong coupon code, you want to try again as end-user. This scenario is what I’m trying to fix by show a link in de error (invalid coupon) message like Click here to enter your coupon code. Clicking on this link triggers WC Javacsript to show the Coupon input field again.
Plugin does not seem to be compatibel with WPML string translation. I would like to be able to translate the strings with WPML. After rescanning for strings with WPML (and I specifically selected the WooCommerce Coupon Messages plugin under WPML > Theme and Plugins localization) the strings of this plugin do not appear.
We’ll be happy to review it for WPML string translation. Could you please specify which versions you have used?
Always the latest version At the moment String Translation 2.6.3
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $5.50
Deliver better projects faster. Photos, templates & courses
Unlimited downloads. Only $29/month
Learn almost anything with
Envato Tuts+ for free
9000 free tutorials, 3000 paid courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work