Hi Hideokamuto,
thank you for the plugin for connection between WooCommerce and Mautic and I wanna ask you, is there any possibility to send more data to Mautic? I need there more than customer information - most important are products, which customer bought. I want to use Mautic for repeatet orders.
Please, let me know
Greetings from Czech Republic,
Albert Macas
albert.macas@fragile.cz
FB: Alby Macas
Hi Hideokamuto,
thank you for the plugin for connection between WooCommerce and Mautic and I wanna ask you, is there any possibility to send more data to Mautic? I need there more than customer information - most important are products, which customer bought. I want to use Mautic for repeatet orders.
Please, let me know
Greetings from Czech Republic,
Albert Macas
albert.macas@fragile.cz
FB: Alby Macas
Yes, you can add another order information using WordPress filter.
Please write following code in WordPress.
add_filter( 'mauticommerce_query_mapping', 'add_mauticommerce_info', 10, 3 );
function add_mauticommerce_info( $query, $order ){
//You can customize query parameter in here
return $query;
}
If you want to know how it works, please see this -> https://github.com/amimoto-ami/mauticommerce/blob/master/inc/class.order.php#L60
thanks!