Okay
  Public Ticket #3400671
Agent to create Customer
Closed

Comments

  •  13
    Rui started the conversation

    I was testing on an Agent to create a Client.

    I created a new client so far so good.
    It was created in the database
    https://prnt.sc/Fo2j_B_SdJqN

    But it does not appear in the "My Customers" on the Agent's panel
    Attach

    I wonder if port has no order yet! Which is strange because the Agent may be placing the first order with a non-existent client.

    Can you check if I am doing something wrong.

    In this case I had to give the Agent access to all existing Customers in the database, not only the customers assigned to that Agent.
    For only then can it place orders to a "new" Customer from the Agent but not from the database. It is not yet a problem, because the customer base is still small, but a customer may have orders submitted by different Agents.
    So at most the Customer should be assigned to the last agent that placed an order on his behalf.
    The idea remains.

    Attached files:  agente painel_1.PNG

  •  1,906
    WebWizards replied

    Hi,

    Based on your screenshot here, I see the user "Service.user" is assigned to the agent "rui.cardoso".

    9537461558.png


    So if you are logged in as "rui.cardoso" and go to the agent dashboard page -> my customers, you should see the user. In your attachment it's not clear as who you are logged in:

    9899810298.png

    Are you sure you are logged in as the agent of the customer?



  •  13
    Rui replied

    Perhaps I was not clear.

    The Agent rui.cardoso (that's me as Agent test and not the administrator login) logged into the Agents Panel, opened the new Client Name: Rui Servive User service.user
    See attachment

    After creating the Customer I wanted to place an order, on behalf of the Customer.

    If the Customer was created by the Agent rui.cardoso, but does not appear in the list of customers.
    But in the backoffice is there and assigned to the Agent rui.cardoso. That is correct

    I say, perhaps because it has not yet created an order, the new customer (no order) does not appear in the list of customers assigned.

    The customers created but without orders do not appear in the list of customers of the agents.

    Attached files:  add_new_client_like_agent.PNG

  •  1,906
    WebWizards replied

    The customer should show under the agent's my customers panel, it would not be related to whether the customer has an order or not.

    It should work as in my video: https://www.loom.com/share/2e4fbcc954954cf08fa2c0cfe7a5bc24?sid=1ca5f0a7-130a-4cb1-ab82-d3e9b54043f9

    I cannot explain why it wouldn't work like that on your site. If you are able to share a temporary access to the site or staging site I can check it directly to look into why that service user is not showing.

  •   Rui replied privately
  •  13
    Rui replied

    I may be doing something wrong!

    But for example order #825 was placed on another computer with the sponsored link

    It was created as Customer instead of Visitor

    It appears in the Earnings

    But does not appear in the orders
    Nor in your Customers

    If you want to create a new order for this Customer, you have to open the Customer again, but you won't allow it, because the Customer already exists!!!

    Attached files:  ponto2.PNG
      ponto3.PNG
      ponto1.PNG

  •  13
    Rui replied

    I don't know what happened!!!

    But now it shows up!!!
    Does this data have any delay to update?!!!

    And now it appears as Alice Granja (guest user)

    Excellent

  •  1,906
    WebWizards replied

    If you are seeing that kind of delay, it's possible the problem is you have a caching plugin that's caching the agent dashboard.

    I also notice the logo image is not showing in the top left corner 

    5568697131.png

    This can be caused by LAZY LOADING which is a loading method added by some cache plugins.


    I think you may be using WP Rocket. Make sure to exclude the agent dashboard in WP Rocket settings by adding it to 'never cache URL's: https://docs.wp-rocket.me/article/54-exclude-pages-from-the-cache