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 :
At line 23 , line has content
Change it to (pls enter correct your site address)
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
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 if you want change pos address to <a href="<a%20href=">https://yoursite-address.com/pos/</a>"><a href="https://yoursite-address.com/pos/">https://yoursite-address.com/pos/</a>">https://yoursite-address.com/pos/">https://yoursite-address.com/pos/</a>change it to
$base_dir = dirname(__DIR__);
At line 23 , line has content
# $pos_url = '<a href="https://yoursite-address.com/pos/';">https://yoursite-address.com/pos/';</a> // uncomment and change this to <a href="https://yoursite-address.com/pos/">https://yoursite-address.com/pos/</a> if you want post to webroot
Change it to (pls enter correct your site address)
$pos_url = '<a href="https://yourdomain.com/pos/';">https://yourdomain.com/pos/';</a>
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 Thu, Sep 20 2018 12:50am