Skip Navigation

[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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Etiquetado: 

Este tema contiene 4 respuestas, tiene 2 mensajes.

Última actualización por Rune Brynestad hace 3 años, 12 meses.

Asistido por: Shane.

Autor
Mensajes
#1854731

I'm using Toolset and Woocommerce.

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.

Thanks in advice

Kind regards
Rune

#1855313

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Runo,

Thank you for getting in touch.

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]

Please let me know if this helps.
Thanks,
Shane

#1855365

Hi Shane

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.

Thanks again for looking into this.

Kind regards
Rune

#1855729

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Rune,

Thanks for the clarity.

Unfortunately no, we wouldn't be able to assist with that one. This would involve overwriting the woocommerce default email that is sent out.

What you can do is to try getting in touch with the woocommerce support team to see if they are able to help with this one.

Thanks,
Shane

#1855731

My issue is resolved now. Thank you!