Looking for help?
< All Topics
Print

Disable delete cart item has source from takeaway / desk

add this code to yourtheme/functions.php or any snippest code + update the method code , price as you want


function custom_pos_cart_disable_remove_desk_item($session_response_data){
    
    
    $session_response_data['setting']['pos_desk_checkout_update'] = 'no'; // disable update cart before checkout
    return $session_response_data;

}
add_filter('op_get_login_cashdrawer_data','custom_pos_cart_disable_remove_desk_item',15,1);
Previous Disable Default Cash Payment
Next Disable Manual Item discount / cart discount
Table of Contents
[elementor-template id="5546"]