Skip Navigation

[Resolved] CRED+WPML: translated form ignores email notification settings

This support ticket is created 3 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by Joe H. 3 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#2191785

Tell us what you are trying to do?
I've demonstrated my issue in this video:
hidden link

RECAP:
1) When a User submits a front end CRED Post Form from a translated page (only), the form's email notification settings are ignored. Rather than receiving the 'pending' status notification email, they receive the 'published' status notification email even though the product is *not* published. The same form and notifications work perfectly in the default language.

2) In the above situation, the version of the 'published' email notification that they receive is the wrong one. So, a) they should not be receiving the published notification at all, and b) the one they do receive is the wrong one.

temporary ADMIN access:
hidden link

#2192667

Hello,

I have tried the "temporary ADMIN access" you provided above, it is not an valid admin account, so I am not able to check the settings of your website. And the problem you mentioned above is abnormal, please try these:
1) Make sure you are using the latest version of Toolset plugins + WPML, you can download Toolset plugins here:
https://toolset.com/account/downloads/
2) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, and test again
3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
4) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page URL and form URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2193395

Thanks for the details, I am downloading the files, will update here if find anything

#2193413
New-Family-Submitted.png

I can install the duplicator package file in my localhost, and tried these:
1) Deactivate other plugins, except Toolset + WPML + Woocommerce plugins, switch to WordPress default theme 2021
2) Install "Post SMTP Mailer/Email Log" plugin, download from:
https://wordpress.org/plugins/post-smtp/
3) Login and go to frontend:
hidden link
Fill and submit this post form

Check the email logs, I can see the "New Family Submitted" correctly, see my screenshot: New-Family-Submitted.jpg

So there should be other compatibility issue in your website, please try as I mentioned above
1) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, and test again
2) If the problem is fixed, activate other plugins/theme one by one, try to locate the problem plugin

#2194065

Your screen shot proves it is working incorrectly despite you deactivating plugins and changing themes. The email shown in your screenshot as having been sent is the wrong one. It shows the body of an outdated version of an email that should not be sent until the family/product is published.

When a new family is submitted via the cred form, they are supposed to be a 'pending' woocommerce product, and they are sent an email to that effect. They are indeed being added as pending, but the corresponding email is not sent.

Later, once they are reviewed and approved, they are 'published' and then another email is sent, which your screenshot shows the first part of, albeit, an outdated version of this email. The email shown in your screenshot should not have been sent since the family is still pending.

#2194333

I resolved my issue by deleting the Spanish string translations. Thank you for your assistance.