As previously announced via banners and our newsletters, support is no longer available through this platform.
For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.
You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.
Paid customers: Please log in to your store account for support.
Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com
Hello.
I'm trying to use the amelia_dynamic_placeholder_{nameOfPlaceholder} filter to add the %payment_link_woocommerce% placeholder to one of the employee notifications. This placeholder isn't directly available to employees, so I want to do it this way.
Can you help me with the necessary code or the $data structure for this filter? Is there another webhook that would allow me to achieve this result?
Thank you very much.
Hi Francisco,
Thanks for reaching out!
I can definitely help you with this. Just to better understand your use case—could you let me know what exactly you'd like the employee to use the WooCommerce payment link for? Are you looking to notify them when a payment is pending, or is there another specific action you'd like them to take?
Once I have more context, I’ll be able to guide you with the right approach and code for your setup.
Looking forward to your reply!
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
I've already solved it...
function mgb_add_paymentlink($data) {
// Verificar si el subject empieza por "Cita Pendiente con"
if (strpos($data['subject'], 'Cita Pendiente con') === 0) {
// Obtener el enlace de pago desde los datos
$paymentLink = $data['data']['reservation']['bookings'][0]['payments'][0]['paymentLinks']['payment_link_woocommerce'] ?? null;
// Si el enlace de pago existe, añadirlo al cuerpo del correo como texto
if ($paymentLink) {
$data['body'] .= "<br><br>Enlace de pago:<br><ul><li><strong>{$paymentLink}</strong></li></ul>";
}
}
return $data;
}
add_filter('amelia_manipulate_email_data', 'mgb_add_paymentlink', 10, 1 );
Thanks!!!
Hello Francisco Nicolas,
Glad to hear you solved it, and thanks so much for sharing the solution! It’s always great when customers contribute useful fixes like this.
If you need any more help, just let us know!
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables