Looking for help?
< All Topics
Print

Allow browse save online cart without care the date

currenlty, openpos allow browse online save cart in same day. Some use case , you want browse all time, not care the date, to do this, you can add this shortcode to yourtheme/functions.php or use snippets code to make a snippet

 add_filter('op_draft_orders_query_args',function($args){
     unset($args['date_query']);
     
    return $args;
 },10,1);
Table of Contents