Okay
  Public Ticket #3360772
Admin superagent
Closed

Comments

  •  1
    Mauro started the conversation

    Hi!

    It would be very helpful that not all agent can see all customers to make orders for them, but ONLY SUPERAGENTS (a new group that can be created) can see all customers and make orders for anyone.

    The option in settings tha all agents can see all customers, unfortunately is very limiting us. It will be very very helpful if can be decided what agent group or user is a superagent to see all customers.


    Thanks!

  •  1,906
    WebWizards replied

    Hi Mauro,

    It's a good idea to add an option by agent or agent group - we will consider adding this to future updates.


    At the moment, I do not have a way to do this, but you can control for each agent which customers they have access to with this code snippet:

    add_filter('salesking_customers_agent_dashboard', function($customers, $agent_id){
        if ($agent_id == 1234){
            $customers = array(1, 4, 7);
        }
        return $customers;
    }, 10, 2);
    

    (for example, with this snippet, agent 1234 has access to only these specific customers, whereas other agents will have access to all).


    We will also look to add it as a group setting,


    Kind regards,

    Stefan

  •   Mauro replied privately
  •  1,906
    WebWizards replied

    Hi Mauro,


    (1) I have added a 'go to offers' link in the email:

    3475315992.png

    (2) I also added a link to the images on the offer frontend, so they go to the product when clicked.


    (3) Regarding styling / alignment:


    I am not sure what you mean there specifically. On the offers frontend, the offer is split into 4 columns, and each column is precisely center aligned: https://prnt.sc/O8WxiC9Sq80R In the PDF, the columns are left-aligned. It would help if you can be more specific.


    I can make a suggestion of adding this CSS to the site:

    .b2bking_myaccount_individual_offer_element_line_item_name {
        margin: 0 20px;
    }
    .b2bking_myaccount_individual_offer_element_line div, .b2bking_myaccount_individual_offer_custom_text {
        font-size: 15px !important;
    }

    It will make the text a bit larger and allow more space around the names:

    5440193478.png


    Kind regards,

    Stefan