Home›Toolset Professional Support›[Resolved] Split: Sending an email to an address affiliated with a "one" – reopening – add country name and id to the email notification
[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.
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?
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']