• Resolved okita

    (@okita)


    Hello, everyone. Could you please give me some advice?

    I have set the product (& collection) detail page to be displayed on the WordPress side.

    I don’t want non-administrators to set up “WP Shopify”.
    However, non-administrators may add products to Shopify, so I want them to be able to use only “Sync Detail Pages”.

    I would like to create a shortcut in the dashboard menu of WordPress, or call the process of “Sync Detail Pages” with some action hook.
    Is it possible?

    ***
    Since I’m using the Google translation, English I wrote might be wrong.
    If my English is wrong, I’m sorry.
    If you can not understand, please reply with “?”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author andrewmrobbins

    (@andrewmrobbins)

    @okita

    Hey there!

    There’s a couple ways to go about this depending on which approach you prefer.

    First, the link you can use to direct users to the Tools page is this: /wp-admin/admin.php?page=wps-tools. If you want to add some kind of dashboard shortcut you’ll want to use that link.

    There’s no way to manually run the Sync Detail Pages tool programmatically at the moment. But, you can restrict what non-admins see by using either CSS in the backend to hide the various Tools, or by hiding the actual plugin menu links if they don’t have the correct role.

    Thread Starter okita

    (@okita)

    Thank you very much for your quick and courteous support.

    This was achieved by creating a link to “Tools” named “Product Sync” in the menu and hiding other features in the “Tools” page.

    Plugin Author andrewmrobbins

    (@andrewmrobbins)

    @okita No problem at all, glad that worked!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to use only the “Sync Details Page” button outside the “Tools” page.’ is closed to new replies.