1 min read

How to enable takeaway by default

Currently, takeaway should active when checkout by manual switch on. If you want it default switch on, you can use this filter code to yourtheme/functions.php or any snippets…

1 min read

How to ignore desk partial checkout

function custom_pos_pos_desk_multi_pay($session_response_data){ $session_response_data['setting']['pos_desk_multi_pay'] = 'no'; return $session_response_data; } add_filter('op_get_login_cashdrawer_data','custom_pos_pos_desk_multi_pay',50,1);

1 min read

How to separate customer name to First name and Last name ?

add this code to yourtheme/functions.php or use any snippets code plugin like as https://wpos.app/knowledge-base/category/code-snippets/ function custom_op_basic_customer_field($session_response_data){ $firstname = array( 'code' => 'firstname', 'type' => 'text', 'label' => "First…

1 min read

How to restricted Waiter clean the desk

Add this shortcode to yourtheme/functions.php function custom_pos_waiter_remove_dish_data($session_response_data){ $session_response_data['setting']['pos_waiter_remove_dish'] = 'no'; return $session_response_data; } add_filter('op_get_login_cashdrawer_data','custom_pos_waiter_remove_dish_data',11,1);

1 min read

How to disable online order notice ?

Add this short to to your_active_theme/functions.php or any snippet code plugin support function custom_op_hide_notice_orders_result($posts){ return array(); } add_filter('op_notice_orders_result','custom_op_hide_notice_orders_result',11,1);

2 min read

Make Shorter POS URL

As default , our POS panel url has this format : http://your_domain.com/wp-content/plugins/woocommerce-openpos/posIf you want make this url shorter like as : http://yourdomain.com/pos you can do it follow this way: #1 : COPY folder your_webroot/wp-content/plugins/woocommerce-openpos/pos to your_webroot/pos…

1 min read

How to display custom product data on Receipt template

#1. add custom product data to POS product data if(!function_exists('custom_op_product_data')) { function custom_op_product_data($product_data,$product){ $product_id = $product_data['id']; $product_data['custom_product_data'] = 'Custom product data value'; // enter your logic at here…

1 min read

How to create x-report for register

#1. admin/pos/ receipt template​#2. create new template with type = "x-report", set name , save ​#3. click composer on receipt just create in #2. Click load sample ​#4. edit on…