This topic has 1 reply, 2 voices, and was last updated 10 years, 2 months ago by Anonymous.
Viewing 2 posts - 1 through 2 (of 2 total)
What permissions are required to make changes to the business hours?
We keep the server locked down and have a “shop manager” role to handle everything. When logged in as that user they don’t see the Business Hours Pro option on the WordPress menu.
Kindly create a new user and assign the role as Shop Manager. After that open iva-business-hours-pro.php file and search for “iva_bh_menu” function and replace this in place of that code and see.
/**
* function iva_bh_menu()
* adding business hours pro menu to wp admin dashboard
*/
add_action( 'admin_menu', 'iva_bh_menu' );
function iva_bh_menu() {
add_menu_page( 'Business Hours Pro', 'Biz Hours Pro', 'shop_manager', 'iva-business-hours-pro', 'iva_bh_page', IVA_BH_URL . 'assets/images/aivah-icon.png',59 );
add_submenu_page( 'iva-business-hours-pro', 'Add/Edit Business Hours', 'Add New', 'shop_manager', 'bhrs-operations', 'iva_bh_operations' );
add_submenu_page( 'iva-business-hours-pro', 'Settings', 'Settings', 'shop_manager', 'bhrs-settings', 'iva_bh_settings' );
add_submenu_page( 'iva-business-hours-pro', 'Holidays', 'Holidays', 'shop_manager', 'bhrs-holidays', 'iva_bh_holidays' );
}
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.