Nuggethon
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Order Statuses for WooCommerce] No more e-mails since version 1.5.2Hi @zeujack,
1) Could you check whether the Email template is not missing (you can find it in WooCommerce->Settings->Emails and select your created order status’s email) and whether Email Settings in WooCommerce haven’t been altered after the update.
2) If you have a staging environment for your site, debugging would be very helpful to find the cause. You should enable WP_DEBUG and WP_DEBUG_LOG options in wp-config.php file, repeat the steps to trigger an email (create a new order and change its status to the custom one) and send us debug.log file after recreating the issue (to keep the support forum clean, please send it via email at [email protected] or link the file in forum. The file can be found in root/wp-content). You can read more about debugging here: https://www.ads-software.com/support/article/debugging-in-wordpress/
Did “Completed” order status got fixed as well? If so, I’ll mark this issue as resolved
Hi @sanjas,
the example snippet is provided for order status with slug ‘test-order-status’, so you will have to change it in every occurrence in the snippet to your order status slug (it can be found in the plugin’s settings page). The following snippet should be placed in your theme’s functions.php file:
add_filter('woocommerce_email_actions', 'add_custom_email_action', 9999); function add_custom_email_action( $email_actions ) { $email_actions[] = 'woocommerce_order_status_test-order-status_to_processing'; return $email_actions; } add_action('woocommerce_email', 'add_custom_email_trigger', 9999) ; function add_custom_email_trigger( $email_classes ) { add_action('woocommerce_order_status_test-order-status_to_processing_notification', array($email_classes->emails['WC_Email_Customer_Processing_Order'], 'trigger')); }
Regarding the “Completed” order status, currently, for us, it is working properly, while the issue with the “Processing” order status has occurred as well. It might get fixed once the snippet is applied.
Let us know if the snippet helps, and if the “Completed” order status is still affected after the snippet we’ll try to find a way to solve that as well!
- This reply was modified 2 years, 4 months ago by Nuggethon.
Forum: Plugins
In reply to: [Custom Order Statuses for WooCommerce] Order nubmerHi @jenikkrejci,
we are happy to inform you that you can use placeholders exactly the same way as you would in core WooCoommerce emails from version 1.5.2!
Forum: Plugins
In reply to: [Custom Order Statuses for WooCommerce] Order status translationHi @zeujack,
since we just released patch 1.5.2 and the WPML compatibility is not yet included you might be confused, so I would like to update you on our progress on the matter.
We are already in contact with the WPML team about their Go-Global program and we are currently making progress on the matter. However it might take some time for a smooth implementation of WPML, but I believe that we will be able to release WPML compatible patch before this month is over.
I’ll let you know once the patch is available for your, I hope you can manage for some time without it!
Hi again @sanjas,
there are a few more things we need from you:
3) could you specify the exact steps you were taking before facing this issue and whether default emails are not sending at all, or only on the particular orders after changing them to the mentioned custom order status?
4) About “Processing” order status, by WooCommerce default functions, the email for it gets triggered only when changing to “Processing” status from “Cancelled”, “Failed”, “On Hold” or “Payment pending” order statuses. Could you please check whether firstly setting order statuses to one of these solves the issue with “Processing”? If it does we will send you a code snippet with the permanent solution for it.When testing these steps, please test everything on a new Order.
Hi @sanjas,
1) Let us know if you are using any other plugins that have something to do with email sending in general.
2) Could you enable WP Debugging (do not enable “WP_DEBUG_DISPLAY” option, only “WP_DEBUG_LOG” and “WP_DEBUG”). Here is a detailed guide on how to enable it. After enabling it replicate the issue and send us the debug.log file from root/wp-contents directory. Just to keep the support forum clean, please do not copy-paste the file contents here, attach a link to the file or send it via email at [email protected].Forum: Plugins
In reply to: [Custom Order Statuses for WooCommerce] Order status translationHi @zeujack,
we will look into our plugin compatibility with WPML and get back to you with a solution soon!
Forum: Plugins
In reply to: [Custom Order Statuses for WooCommerce] Order nubmerHi @jenikkrejci,
it is possible to add placeholders for the “Subject” and “Email heading” fields. To see the exact placeholders that are available hover your cursor over the question mark next to the fields.
Currently, placeholders are unavailable for “Additional content” field, but since it would make sense to have them on this field as well, we will include this feature in our next patch.
Since the question is about the additional feature and not any current functionality issue with our plugin, I’m marking this ticket as not a support question. We will update you on this ticket once the patch is available with the placeholders for “Additional content” field!
Yes, to anyone else who is using not an English version of WordPress and creating Order Status with characters from other languages, if after creating the order status it appears without a slug or a title here is what you should do:
1) Delete the current order status.
2) Create a new one with the slug that has only English characters (For example, “status-1”).Slug is not visible anywhere on the website except our plugin’s settings page. This is just a temporary solution until we release a patch with the fix for the issue.
I’m sorry, I mistyped my email, it’s [email protected].
Could you attach a screenshot of the WooCommerce->Custom Order Statuses page with expanded order statuses?
Also, can you tell me the exact titles you wrote for the order statuses (if you can remember)? If it was French, write it in French.
You can send me an email with a screenshot at [email protected] or upload it to your website and send me the link to the screenshot.
- This reply was modified 2 years, 5 months ago by Nuggethon. Reason: Typo
Hi @aymeric3,
For emails, you should leave the email field empty, if it’s supposed to go to the customer.
For empty order statuses, could you specify what you mean by empty order statuses? Are they not appearing on the order page, or are they empty on our plugin settings page?
Forum: Plugins
In reply to: [Custom Order Statuses for WooCommerce] Blank emailWell, I’m glad to hear it works now. I’m marking this issue as resolved.
I’ll try to look more in-depth into this issue since it seems to be reoccurring for multiple users and hopefully come up with a fix, but just in case the fix is not available in the next patch, please update the plugin carefully (preferably on staging site first) and double-check after the update whether the issue does reappear.
Forum: Plugins
In reply to: [Custom Order Statuses for WooCommerce] Blank emailHi @sanjas,
1) Could you check whether in WooCommerce Settings->Emails on the affected email the email template isn’t missing. If you see at the bottom of the page “HTML Template not found”, try reactivating the plugin and the issue might go away.
2) If you are using one of the WooCommerce email customizer plugins, try deactivating them and see whether the issue remains. If deactivating the email customizer plugin solves the issue, please let me know the plugin in question.
3) If previous solutions didn’t help, please download this plugin and resend the email. With this plugin in Tools->WP Mail Log the email will be captured and an exclamation mark in the email row (or in the preview) will most likely have an error message. If it does please let me know the message.
If you do not make any progress with these steps, please contact me via email at [email protected].