alexmustin / woocustomemails

Repo for the WC Custom Emails Per Product plugin
https://wordpress.org/plugins/woo-custom-emails-per-product/
GNU General Public License v2.0
21 stars 6 forks source link

Custom Email Message not showing in Completed Product Purchase Email #36

Open bryanpeck opened 1 year ago

bryanpeck commented 1 year ago

Describe the bug I have followed the instructions for installing the plugin, adding the custom content, selecting the custom content in the specific product I want to use it in, published the product. I then did a test purchase of the product and the corresponding email received did NOT have the custom content in it.

Expected behavior I am expecting the confirmation email the customer gets to have the custom content in the email.

Desktop (please complete the following information):

Screenshot 2023-01-26 at 8 21 14 PM Screenshot 2023-01-26 at 8 21 01 PM Screenshot 2023-01-26 at 8 20 43 PM

pidesign commented 1 year ago

Have you figured this one out? I'm experiencing the same issue as well.

pidesign commented 1 year ago

When I was testing it I was using an existing order and having it resend the completed order email. I tried it again but went through the whole order process again, and this time the custom email text showed up.

bryanpeck commented 1 year ago

I STILL HAVE NOT figured this out. Where is the ADMIN that can shed some light on this GLARING MALFUNCTION of this plugin?

alexmustin commented 1 year ago

Hi there @pidesign and @bryanpeck -- sorry I'm not able to look into this issue at the moment, I have a lot of paid work at my full time job that is taking priority.

I'll take a look at the issue this week and see if I can get an update on GitHub.

bryanpeck commented 1 year ago

@alexmustin PLEASE HELP ASAP - I am sympathetic to your real world job, but I am trying to get my client's site working and this is a major hold up for their business. I really need this plugin to work as intended.

alexmustin commented 1 year ago

@bryanpeck - I'll do what I can to look into this, but please be advised that I haven't touched this code in months, so a fix will not be coming immediately. I apologize for the inconvenience.

I haven't checked to see how WooCommerce has changed lately so there could be new issues with the triggers or the sending process -- both of which happen within a fraction of a second, making troubleshooting those issues difficult.

pidesign commented 1 year ago

@bryanpeck If you don't have too many products, as a last resort, you could add code to your functions.php to send out custom emails depending on products: https://passwordprotectwp.com/add-woocommerce-custom-email-per-product/#:~:text=Emails%20with%20Codes-,What%20Is%20WooCommerce%20Custom%20Email%20Per%20Product%3F,customer%20does%20in%20your%20shop.

alexmustin commented 1 year ago

@bryanpeck - I'm not sure why the email messages aren't showing up for you. I'm sorry to hear you're having issues.

I just went through all the code in the plugin, and renamed everything in order to get it ready to submit to the WP Plugins repository.

While testing the plugin, everything worked fine for me -- please see the following screenshots from my latest version:

ASSIGNING A MESSAGE TO PRODUCT 1 CEPP4WC-AssignMessage-Product1

ASSIGNING A MESSAGE TO PRODUCT 2 CEPP4WC-AssignMessage-Product2

CUSTOMER RECEIPT EMAIL RECEIVED AFTER PURCHASE CEPP4WC-OrderEmail-CustomerReceipt-CustomMessagesDisplayed

The plugin worked for me on a fresh install with WP 6.1.1, WooCommerce 7.3.0, and this plugin. I am using the Twenty Twenty-Two theme. The server I'm using is running PHP 8.1.9.

LATEST VERSION If you would like to check out the new plugin, now called Custom Emails Per Product For WooCommerce you can download it from the dev branch here: https://github.com/alexmustin/woocustomemails/archive/refs/heads/dev.zip

I will be submitting this version for WP approval soon.

TROUBLESHOOTING Since this is working for me on a fresh install, I have to assume the problem you're experiencing is unique to your setup.

If you've gone through and checked all the above, the only other thing I can recommend is try to disable all plugins, to see if this plugin works on your server with only itself and WooCommerce activated. If you can't do that, try to use the Health Check & Troubleshooting plugin to disable all plugins one at a time... that should help narrow down the problem.

I'm sorry I can't help more.

mbledkowski commented 8 months ago

Hello, I have no idea why, but it seems that I have been mentioned in this project: image Please, be careful about spam, and accidental mentions.