1 min read

How to enable decimal qty

Just goto admin/product/ edit product you want enable this feature/ at tab "openpos" choose allow decimal qty option

1 min read

Enable product qty decimal for ALL product

add this code to yourtheme/functions.php or a snippet code add_filter('op_product_data',function($product_data,$product){ $product_data['decimal_qty'] = 'yes'; return $product_data; },102,2);

1 min read

Add a quick custom fee

add this shortcode and modify it to yourtheme/functions.php or snippets code plugin add_filter('op_cashdrawer_login_session_data',function($session_data){ $session_data['setting']['custom_fees'] = array( array('title' => 'sample fee 5 percentage', 'amount' => 5, 'type'=> 'percent'), array('title'…

1 min read

Disallow some staff do refund

add this shortcode to yourtheme/functions.php or use snippets code plugin add_filter('op_get_login_cashdrawer_data',function($session_response_data){ $active_emails = array(); // add this allow for some staff email only // $active_emails[] = 'abc@gmail.com'; $logged_user_email…

1 min read

Custom Tile link

admin/pos/setting/ Default Dashboard Display => choose Tiles Dashboard this is some quick link

1 min read

Set product kitchen area

goto admin/product/edit product to set it How to add Kitchen order area on Restaurant ? As you know , since version 3.1.0 , we already support separate dish…

1 min read

Auto logoff when have no action on screen

add this snippet code to yourtheme/functions.php or snippets code plugin add_filter('op_get_login_cashdrawer_data',function($session_response_data){ $session_response_data['setting']['openpos_auto_logoff']=array('screen_time' => 5,'popup_wait_time' => 10); // warning appear when have no action on screen in 5 minutes,…

1 min read

Update customer email via POS

enable email editable function custom_op_basic_customer_field($session_response_data){ $openpos_customer_basic_fields = $session_response_data['setting']['openpos_customer_fields']; foreach($openpos_customer_basic_fields as $key => $field) { if($field['code'] == 'email') { $openpos_customer_basic_fields[$key]['editable'] = 'true'; } } $session_response_data['setting']['openpos_customer_fields'] = $openpos_customer_basic_fields; return $session_response_data;…