Looking for help?
< All Topics

Enable send email to admin when create order from pos

Add this shorcode to yourtheme/functions.php or use any code snippets plugin to do

     return  true;
     return  true;

function custom_op_add_order_after($order,$order_data){
	WC()->mailer()->emails['WC_Email_New_Order']->trigger( $order->get_id(), $order, true );
	WC()->mailer()->customer_invoice( $order );
add_action( 'op_add_order_after','custom_op_add_order_after',10,2 );
Previous Enable Rounding at Cart Grand Total
Next Hide Variation from Search result on POS. Show variable only
Table of Contents
[elementor-template id="5546"]