Passer la navigation

[Résolu] adding fields and views to post form email notification

This support ticket is created Il y a 4 years, 8 months. 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.

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par janeC-2 Il y a 4 years, 8 months.

Auteur
Publications
#2175613

I am configuring the notification email for a Post Form with WooCommerce payment.

For the email, I want to include the details the person has entered in their form. The following doesn't work, so I'm wondering how to add fields to the email.

Paid by Credit Card

%%DATE_TIME%%

Name: [types field='fname'][/types] [types field='lname'][/types]
Art Centre: [types field='art-centre'][/types]
Phone: [types field='phone'][/types], [types field='mobile'][/types]
Email: [types field='email'][/types]
DOB: [types field='date-of-birth' style='text' format='d/m/y'][/types]
Address: [types field='address'][/types]

#2175977

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+01:00)

Hi Jane

These are post fields coming from the post submitted with the form, yes?

Deferred notifications not sent immediately upon submission of the form lose track of which post the fields belong to, and you need to add the item attribute, e.g. item="%%POST_ID%%" to each of the shortcodes.

Please try that, I think it should resolve the problem.

#2182377

My issue is resolved now. Thank you!