• Resolved adamgarnett

    (@adamgarnett)


    hello,
    I am wanting to make the backend view of customers store credit filtered by user role. Either that or I would like to be able to access the functions used to get user statistics for the store credits. Is there any way to do either of these things?

    Thankyou for your time.

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

    (@jkohlbach)

    Hi @adamgarnett I’m afraid the free version of Advanced Coupons doesn’t have this feature just yet, but I’m going to raise it up as a new feature request.

    In the meantime, you might be able to contract a developer to build this. It would require an interface that lists users by role, but also cross checks the data in the acfw_store_credits table. I would suggest either Codeable or Upwork. There’s also an API for store credits, details of which can be found here.

    Hope this helps give you some options to follow up!

    Thread Starter adamgarnett

    (@adamgarnett)

    @jkohlbach Thankyou for the options. I am trying to use the API. I managed to access one of the endpoints provided in the documentation but it gives me the “rest_forbidden_context [message] => Sorry, you are not allowed access to this endpoint.” error message. I am signed in as an administrator with the permission “manage_woocommerce” so I should be meeting all of the requirements to access the data right?

    Edit: I think this is because of incorrect authentication. I am going to look into it.

    • This reply was modified 1 year, 2 months ago by adamgarnett.
    • This reply was modified 1 year, 2 months ago by adamgarnett.
    Plugin Author Josh Kohlbach

    (@jkohlbach)

    No worries @adamgarnett shoot me a message here if you’re really stuck and I can try and help you out with some pointers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘search or filter by user role’ is closed to new replies.