Frequently Asked Questions

Make Shorter POS URL
As default , our POS panel url has this format : http://your_domain.com/wp-content/plugins/woocommerce-openpos/pos

If you want make this url shorter like as : http://yourdomain.com/pos you can do it follow this way:

#1 : copy folder your_webroot/wp-content/plugins/woocommerce-openpos/pos to your_webroot/pos
#2: open file your_webroot/pos/index.php by your editor
At line 8 has content : 

# $base_dir = dirname(__DIR__);  // uncommnent this line 
change it to 
$base_dir = dirname(__DIR__);

At line 23 , line has content

# $pos_url =  'https://yoursite-address.com/pos/';


Change it to (pls enter correct your site address)

$pos_url =  'https://yourdomain.com/pos/'; 

Now , we can change the "goto pos" link at admin/pos/dashboard to new url by add filter to end of file your_active_theme/functions.php

function custom_pos_url($url)
{
  $url = 'your_new_pos_url';
   return $url;
}
add_filter('op_pos_url','custom_pos_url',10,1);

Done

Now , Goto https://yourdomain.com/pos to see the effect


NOTE: after get many support of customer cause can't load icon / errors , but the simple issues cause the POS url they set is "https" but when access to pos page , they use "http" . pls make sure you access with correct url like as $pos_url


 Last updated Wed, Sep 19 2018 6:50pm

Please Wait!

Please wait... it will take a second!