Skip to main content

Add or edit a salesman

On this screen you record a salesman's name, contact details and picture. Administrators and authorized back-office users use it. The screen does not create a sign-in account for the salesman.

Opening the screen​

  • To add: in the salesmen list, click Add. The screen title is Add salesman.
  • To edit: click Edit on the salesman's row. The title is Edit salesman.

Adding needs the Add permission and editing the Edit permission for Salesmen in the Staff section.

The Edit salesman screen with the Salesman Information and Salesman Image cards and the save buttons

Screen buttons​

ButtonWhat it does
CancelReturns to the salesmen list. If there are unsaved changes, the Discard Changes ? window shows.
Save & NewSaves the salesman, shows "Data saved successfully." and starts a new one. Only the Name is cleared; the email, phone, status and image stay.
Arrow next to Save & NewOpens the save options menu.

Save options menu​

ButtonWhat it does
Save & CloseSaves the salesman and returns to the list without a message.
SaveSaves the salesman, shows "Data saved successfully." and stays on the screen.

Discard Changes ? window​

Shows if you leave the screen with unsaved changes. Its text is "Are you sure you want to leave this page and discard changes?".

ButtonWhat it does
Yes, Discard ChangesLeaves the screen without saving.
No, BackKeeps you on the screen.

Salesman Information card​

FieldDescriptionRequiredValues and rules
NameThe salesman's name in lists and on the store's Salesmen tab.YesAt least two characters, for example Hadi Demo. Unique, ignoring letter case.
EmailThe salesman's email.NoIn a valid format, for example hadi@example.com.
PhoneThe salesman's phone.NoText. The format is not checked.
ActiveThe salesman's status.—On by default.

Salesman Image card​

FieldDescriptionRequiredValues and rules
Salesman ImageThe salesman's picture.NoAn image file of 100 KB or less.
ButtonWhat it does
Upload Image, or the image areaOpens the file picker, then the Edit image window.
Pencil icon on the imageLets you choose another image.
Remove ImageOpens the remove image confirmation. Shows when there is an image.

Edit image window​

Crops the image to a square, with Zoom, Rotation, Save and Cancel. Cancel keeps the whole image uncropped, and Rotation does not affect the saved image. Details and a picture are in Edit image window.

Rejected image window​

Shows if the file is not an image or is larger than 100 KB. Its texts are in Messages. Closing it keeps the previous image.

Remove image confirmation​

Its title is "Are you sure you want to delete?".

ButtonWhat it does
Yes, RemoveRemoves the image from the screen. It is deleted for good when you save the salesman.
No, CancelCloses the window and keeps the image.

Messages​

MessageWhen it appearsWhat to do
Data saved successfully.After Save or Save & New.Nothing.
All required fields must be filled in with correct information.You saved with a field empty or wrong.Correct the red field.
Please fill out this fieldName is empty.Type the name.
Please enter minimum two characters.Name is one character.Complete the name.
Invalid emailThe email format is wrong.Correct or clear it.
Salesman with same name already exists.Another salesman has the name.Change the name.
Salesman not exists.You saved a salesman another user has deleted.Go back to the list.
Unaccepted format — Picture format is not accepted, cannot continueYou chose a file that is not an image.Choose an image file.
Image size is larger than the allowed size — Allowed image size is 100 KBThe image is larger than 100 KB.Make the image smaller.