[Resuelto] Add "Post title with a link" to a Woocommerce "New order" Email
This support ticket is created hace 3 años, 12 meses. 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.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
I have a "Add new content" form that is attached to a Woocommerce product using Toolset Forms Commerce.
I wonder if it's possible to add the "post title with a link" shortcode [wpv-post-link item="%%POST_ID%%"] to the body of the Woocommerce "New order" Email.
I don't believe this will work if it is the case where you want to include the post title on the form.
The only method I see working is that you copy the post title of the page onto the form using a single line custom field and then retrieve that custom field in the notification body.
So you will recreate a custom field in types something like "Product Inquiry" and for the default value in your form you will use [wpv-post-title]
Finally in the body of the form notification you can use [types field='my-field' item='%%POST_ID%%'][/types]
Thanks for jumping in. It seems that my inquiry was not particularly well worded
I want the "Post title with a link" in the Email that Woocommerce sends to the store owner after a customer have purchased the product attached to the "Add new content" form.
The notification email you can add to the "Add new content" form itself is not the case here. For that form I have checked that [wpv-post-link item="%%POST_ID%%"] works, but I want it in the Woocommerce mail if possible.