ACF and Notification problem during Pages Creation process

    • # 1 year, 3 months ago

      Hi, I’m using ACF add on to have some meta data during the File Creation and Page Creation processes. Tough it’s perfectly working in File Creation, it seems not to work properly with the Pages Creation notification Add on.

      To be clearer, the page is created correctly and it reports all the data from ACF inside the url page, but the notification e-mail lacks all the data input from the ACF form.

       

       

    • Thomas
      Keymaster
      # 1 year, 3 months ago

      Hi,

      the notification e-mail lacks all the data input from the ACF form.

      You can customize the Notification Templates in Settings > WP Customer Area > Notifications.

      Scroll down to the bottom of the page and click on the tab Available Placeholders. You want to use the {{post_meta,my_meta}} placeholder.

      Let’s say you created an ACF post text field with ID file_notes:

      • {{post_meta,file_notes}} should display the files notes related to the post from which the notification is being sent.

      Let’s say you created an ACF user number field with ID tva_number:

      • {{to_meta,tva_number}} should display the TVA number of the user who is actually receiving the notification.
      • {{user_meta,tva_number}} should display the TVA number of the user who is actually sending the notification.

      Regards.

    • Thomas
      Keymaster
      # 1 year, 3 months ago

      Note: We do not output ACF data by default on notifications emails because the fields sometimes display complex data, including HTML tags and CSS rules, which might not be supported in emails.

      So you need to write your notifications templates according to the data you want to display in those emails.

      Regards.

Viewing 2 reply threads

The topic ‘ACF and Notification problem during Pages Creation process’ is closed to new replies.