Frequently Asked Questions
How to change products / categories/ Table Grid size ?
Since version 2.6.0 . Our plugin support add custom size for category / product grid.
To do it . Just copy and paste code below to end of file
wp-content/themes/your_current_theme/function.php
You can change the column/row number by your self
since version > 3.0 . this thing already in admin / pos / setting , no need those custom code anymore.
To do it . Just copy and paste code below to end of file
wp-content/themes/your_current_theme/function.php
if(!function_exists('custom_op_get_login_cashdrawer_data_grid')) { function custom_op_get_login_cashdrawer_data_grid($session_response_data){ $session_response_data['setting']['pos_cat_grid_column'] = 5; $session_response_data['setting']['pos_cat_grid_row'] = 5; $session_response_data['setting']['pos_product_grid_column'] = 5; $session_response_data['setting']['pos_product_grid_row'] = 5; $session_response_data['setting']['pos_desk_grid_row'] = 3; $session_response_data['setting']['pos_desk_grid_column'] = 4; return $session_response_data; } } add_filter('op_get_login_cashdrawer_data','custom_op_get_login_cashdrawer_data_grid',11,1);in this sample, we change categories to 5x5 and product grid to 5x5, Tables grid to 4x3
You can change the column/row number by your self
since version > 3.0 . this thing already in admin / pos / setting , no need those custom code anymore.
Last updated Wed, Sep 19 2018 6:50pm