G’day Charles,
Which integration are you using? e.g. WooCommerce, WP e-Commerce, Events Manager…
There are filter hooks for changing the eWAY payment description. See the Other Notes page.
cheers,
Ross
Events Manager Pro is what I am using, it looks like I need to use this, em_eway_invoice_desc, where do I put that?
Charles
G’day Charles,
You’d need to add a function to either a simple plugin or your theme’s functions.php file; something like this:
add_filter('em_eway_invoice_desc', function($description, $EM_Booking) {
$description = $EM_Booking->output('#_BOOKINGTICKETDESCRIPTION');
return $description;
}, 10, 2);
I don’t know if #_BOOKINGTICKETDESCRIPTION is the correct EM template tag to use there, but give it a burl and let me know. I’m tied up with other work right now but might be able to have a look later on if this doesn’t get you what you need.
cheers,
Ross
Thanks Ross, great help I’ll modify and add
Charles