This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Access for user role shopmanager

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Access for user role shopmanager

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25038
    iOioiOio
    Participant

    Hello

    is it possible to add option to user role shopmanager to create or continue indexing?

    Thanks.

    #25049
    Ernest MarcinkoErnest Marcinko
    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.

    #25054
    iOioiOio
    Participant

    Hello,

    it works! Great, thanks.

    Regards,
    Jozef

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Access for user role shopmanager’ is closed to new replies.