Frequently Asked Questions

Make Shorter POS URL
As default , our POS panel url has this format :

If you want make this url shorter like as : 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 =  '';

Change it to (pls enter correct your site address)

$pos_url =  '';

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;


Now , Goto to see the effect

How to update when have new  version ? 

when have new version, release, after update plugin, you should update the New POS url follow this guide 

wordpress/wp-content/plugins/woocommerce-openpos/pos/assets  --> wordpress/pos/assets
wordpress/wp-content/plugins/woocommerce-openpos/pos/main.js --> wordpress/pos/main.js
wordpress/wp-content/plugins/woocommerce-openpos/pos/polyfills.js -> wordpress/pos/polyfills.js

NO copy wordpress/wp-content/plugins/woocommerce-openpos/pos/index.php

after done, your pos already updated

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!