Change distance in addon “OpenPos Secure –...

add_filter('op_max_distance_kilometer',function(){ return 0.4; // in KM });

Disallow Register Waiter mode remove ordered item ...

add this code to yourtheme/functions.php or any snippest code + update the

Enable Rounding at Cart Grand Total

function custom_pos_round_grand_total_data($session_response_data){ $session_response_data['setting']['pos_round_grand_total'] = 'yes'; return $session_response_data; } add_filter('op_get_login_cashdrawer_data','custom_pos_round_grand_total_data',11,1);

Hide Variation from Search result on POS. Show va...

function custom_op_product_data_hide_variation_search($product_data,$product){ $_product = wc_get_product($product_data['id']); if($_product) { if($_product->get_type() == 'variation') { $product_data['display_search']

Disable Manual Item discount / cart discount

function custom_pos_discount_permission($session_response_data){ $session_response_data['setting']['pos_disable_item_discount'] = 'yes'; $session_response_data['setting']['pos_disable_cart_discount'] = 'yes'; return $session_response_data; } add_filter('op_get_login_cashdrawer_data','custom_pos_discount_permission',10,1);

Enable All payment method allow OFFLINE refund

function custom_allow_refund_op_login_format_payment_data($payment_data) { if($payment_data['allow_refund'] && $payment_data['allow_refund'] == 'no') { $payment_data['allow_refund'] = 'offline';

Hide all new order notice from website

function hide_all_notification_op_notice_orders_result(){ return array(); } add_filter('op_notice_orders_result','hide_all_notification_op_notice_orders_result');