Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Access for user role shopmanager › Reply To: Access for user role shopmanager
December 16, 2019 at 5:12 pm
#25049
Keymaster
Hi,
Well, with a direct core code modification it might be possible.
Try this:
1. Open up the wp-content/plugins/ajax-search-pro/includes/classes/core/class-asp-menu.php file on your server
2. Change line 113 from this:
$capability = ASP_DEMO == 1 ? 'read' : 'manage_options';
to this:
$capability = ASP_DEMO == 1 ? 'read' : 'manage_woocommerce';
3. Save the file.
If everything goes well, the shop manager should now be able to access the ajax search pro plugin options.