Looking for help?
< All Topics
Print

How to change bill screen url

some case, your hosting restricted access direct from plugins folder. So, You can’t access your kitchen view page. To resolve it, pls follow this guide to change kitchen view URL

  1. COPY your folder : your_wordpress/wp-content/plugins/woocommerce-openpos/bill to your_wordpress/bill
  2. Edit file your_wordpress/bill/index.php . update the base dir ( wordpress path) at those line
/** UPDATE YOUR CUSTOM WORDPRESS DIR AT HERE */

# $base_dir = 'ENTER_YOUR_WORDPRESS_BASE_PATH'; // enter your custom wordpress base dir and uncomment    

/** END */

3. add this shortcode to your theme/functions.php or use any snippet code plugin to update bill url

add_filter('op_bill_url',function(){
    return 'yourwordpressdomain/bill'; // change to yourwordpressdomain to your wordpress domain

});

Now , open admin/pos/register and click bill screen to see the effect.

Table of Contents