Frequently Asked Questions
How to Alway keep sale when logout ?
some use case , you want keep sale as default, don't want active by default. You can add this code to end of this file yourtheme/functions.php
If you want hire the switch save sale on logout popup, you can add this css to admin/pos/setting/pos layout setting / custom css
Done. Let REFESH + LOGOUT + LOGIN Pos again to see the effect.
function custom_keep_sale_setting($session_response_data){ $session_response_data['setting']['pos_default_clear_sale_data'] = 'no'; return $session_response_data; } add_filter('op_get_login_cashdrawer_data','custom_keep_sale_setting',20,1);
If you want hire the switch save sale on logout popup, you can add this css to admin/pos/setting/pos layout setting / custom css
.keep-sale-option{ display: none!important; }
Done. Let REFESH + LOGOUT + LOGIN Pos again to see the effect.
Last updated Wed, Sep 19 2018 6:50pm