• Resolved Rachel

    (@jaxrachel)


    We are using some other plugins that affect the customer view, that are having conflicts when using “view admin as”:

    1. One click order re-order: this adds a button on order list and order detail tabs, for customers to quickly re-order by adding all the items to their cart again. however when “view admin as” the customer, this button doesn’t work. When I’m logged in directly, the button works.

    2. Booster for Woocommerce > PDF invoicing. Same issue here. The plugin adds a button on order list and order detail tabs for the customer to download their invoice as a PDF. When I’m logged in directly, the button works. when “view admin as” the customer, this button doesn’t work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @jaxrachel

    What exactly isn’t working? Do you see any errors in the screen or in your logs?

    Cheers, Jory

    Thread Starter Rachel

    (@jaxrachel)

    For #1, the page refreshes to an empty cart.

    For #2, you click the button and the screen flashes, and nothing happens. If you immediately revert the “view admin as” to default (yourself), sometimes it initiates the PDF download at that time.

    Both plugins use javascript to perform the action, so perhaps an issue with “view admin as” blocking javascript actions?

    • This reply was modified 1 month ago by Rachel.
    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @jaxrachel

    For #1: It could be that this is a cookie related issue. Are you able to fully create an order when viewing as a user in general? Is the cart working properly etc?

    For #2: Do you see any errors in the browser console? If this is JS related then there should be some indications here. Also, the Network tab in the browser console might give some more info on the actual server response (AJAX).

    This plugin wouldn’t block AJAX/JS actions. However, since user authentication is based on nonces, these could interfere with the actual current user when switched to another. I’m not 100% sure but these are the first things that come to mind. I’m swamped with work this week but please inform me of any errors you find and I’ll try to reproduce asap!

    Cheers, Jory

    Plugin Author Jory Hogeveen

    (@keraweb)

    Closing topic due to no reply. Feel free to reopen if needed!

    Cheers, Jory

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.