Looking for help?
< All Topics
Print

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 code plugin:

function custom_pos_checkout_takeaway_default($session_response_data){
    $session_response_data['setting']['pos_checkout_takeaway_default'] =  'yes';
    return $session_response_data;
}
add_filter('op_get_login_cashdrawer_data','custom_pos_checkout_takeaway_default',11,1);
Table of Contents