Skip Navigation

[Resolved] Split: Sending an email to an address affiliated with a "one" – reopening – add country name and id to the email notification

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by barbaraB-2 1 year, 4 months ago.

Assisted by: Minesh.

Author
Posts
#2621323

Thank you! Confusion on my part. Thanks for setting me straight! I got it working last night.

Two more little things - I need to get the name of the country and the title/id of the RFP into the email that gets sent to the country address. Can you point me in that direction?

And - one more - if an RFQ had be categorized to more than one country, would this still work?

#2621327

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Regarding:

Two more little things - I need to get the name of the country and the title/id of the RFP into the email that gets sent to the country address. Can you point me in that direction?

==>
As you have parent ID available as URL param with the URL param "parent_rfq_id" we can get the URL param value using the shortcode: [wpv-search-term param='parent_rfq_id']"]

So to get the parent post link, you can add the following shortcode to your notification email body or subject:

Parent post link: [wpv-post-link item="[wpv-search-term param='parent_rfq_id']"]

To get the parent post title, , you can add the following shortcode to your notification email body or subject:

parent post Title: [wpv-post-title item="[wpv-search-term param='parent_rfq_id']"]

To get parent post ID, , you can add the following shortcode to your notification email body or subject:

parent post ID:[wpv-search-term param='parent_rfq_id']

More info:
=> https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-search-term

Once you confirm its working, we will try to address your other additional questions.

#2621953

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please confirm its working and the issue is fixed, if so, you are welcome to mark resolve this ticket.

#2623479

Yes - thank you. All is working!