Customer Center

The Swift Customer Center allows registered users to:

  • See their orders
  • Edit their account information
  • Manage billing and deliver addresses

On the example website, the customer center is accessed via a dropdown under My account and consists of a dashboard and a series of related pages like My orders, My account information, and My addresses (Figure 1.1).

In the backend (Figure 1.2), the customer center pages are located under Navigation > Utilities > My Account (1). As with most other Swift-pages, the Customer Center pages may be edited using the visual editor (2) – they all contain at the minimum:

  • A vertical navigation column which has the My account page set as the root node
  • A customer center app column with an app appropriate to their specific function attached – for the My orders page this is a customer experience center app, for the account details & address pages it’s an Extranet app

Since this is a specialized area of the website, you don’t have access to all the column types you have access to on regular content pages – this is by design.

In the Swift Customer Center, you can create and manage users on the website. These are displayed with a name, their email and status. As this role should be an Account manager you might want to use our Permissions to make sure that only the Account manager have access to this.

For the Create and Manage users page to work, the Account manager must have a valid customer number. You can check the customer number in the Users section. When a new user has been invited and later on created the user will have the same customer number as the Account manager. This way the Account manager is linked to the users.

This guide will show how to setup the Create and manage users tool for Swift.

  1. Go to the Customer Center folder in the content tree, locate the “My orders” page
    1. Right click the page and click “Copy here”
    2. Name it “Manage users” and let the publication state be “As the original”
  2. Enter the Visual Editor
  3. Delete the “My orders” paragraph on the right
  4. Add the “Customer center App” paragraph to the empty column

Now it is time to configure the Customer center App

  1. In the App settings choose the Query Publisher App in the Content Section
    1. In the Query field choose “Manage users.query”
    2. In the Sort by field click Add a new row
      1. Set Field to “Auto update ID”
      2. Set Direction to “Descending”
    3. In the Template section choose “QueryPublisher/ManageUsers.cshtml”
    4. Hit OK on the modal and then on the column editor

At this point you might get an error message. This will happen if you are not logged in in the frontend with an Account Manager. As mentioned, we strongly recommend using our permissions tool to ensure that only an Account manager will have access to this page.

You will need to add another app paragraph, this time in a 1 column row.

  1. In the Visual Editor, add a 1 column row at the top of the page
  2. Drag and drop a “Customer center App” paragraph on the empty column
  3. In the App settings choose “Extranet” in the Content section
    1. In the Show section choose “Create profile / Manage subscription”
    2. In the Create User section:
      1. For template choose “ManageUsersInviteModal.cshtml”
      2. In Approval choose “By user”
      3. In Group for new users choose the relevant group for new users to be added in. This will choose which user group the newly created users will be placed in - this could be “Accounts”
      4. Make sure to tick “Require unique emails”, “Use email for user name” and “Set profile”
    3. In the User confirmation Email section choose “ManageUsersInviteEmail.cshtml” as Template
    4. In the User Notification Email section:
      1. As “On user notification, redirect to” choose template
      2. As the template choose “ManageUsersInviteEmail.cshtml”
      3. Fill out the last three fields with the relevant information (emailname, and subject for email)
    5. In the Redirect section:
      1. As “After creation, redirect to” choose template
      2. As the template choose “RedirectToThisCleanPage.cshtml”
    6. Hit Ok

Now you have created the possibility to invite new users. Next, we must create a page for the users to create a password on. The users will automatically be redirected to this page, when they click the link in the email.  

  1. Go to the Utilities folder in the content tree
  2. Create a new “Customer center” page in the folder, call it “Create password” and make it hidden in menu. It is important that it is not just a “Page”. It must be the Customer center page type
  3. Now go to the page properties, then to options and set the Navigation tag of the page to “CreatePasswordPage”
  4. Hit Save and Close

The next thing to do is to setup the Create Password page. To do this:

  1. Enter the Visual Editor of the Create Password page
  2. Add an empty 1 column row
  3. Add a “Customer center App” paragraph
    1. In the App settings choose “Extranet” from the Content section
    2. In the Show section choose “Create profile / Manage subscription”
    3. In the Create User section in the “Groups for new users” choose the same group as before. (Again, this could be “Accounts”)
    4. Scroll to the Redirection section and choose page
      1. As the page choose the “Dashboard” page located in the My account folder in the Utilities folder
      2. In “After approval, redirect to” choose the newly created “Create password” page
  4. Hit Ok on the column editor for the changes to get saved
  5. Close the Visual editor and click on the Extra net column
    1. In the App settings in the Show section change it to “Login”
    2. In the Login settings section:
      1. In Password Recovery Template choose “CreatePassword.cshtml”
      2. In Restore password method choose “Send link to reset page” and set the Link active for to 48 hours
    3. Go to the Item settings. in the Sign in page field choose your “Sign in” page from the Sign in folder in the Utilities folder

When this is done you should have created a Create and Manage Users page in the customer center. Here you can either delete existing users or invite new users. You have also created a page for the invited users to create a password for their new user.

In the customer center in Swift, it is possible to create a Return Merchandize Authorization feature. This allows customers to create and keep track of return requests for an order. While creating the return request customers can use comments to specify the reason for the return.

As this is a customer center feature, the setup will take place in the folder containing the customer center pages. On the Swift demo site, it is called “My account”.

  1. Go to Navigation -> Utilities -> My account
  2. Create a new side called “My RMA” in the My account folder
  3. Enter the Visual Editor on the newly created page
  4. Add a 2 columns 3/9 row to the empty page
  5. As the first empty column, add a Vertical navigation column – Make it point to the “My account” folder and match the design from the other pages in the customer center

The other empty column is where the RMA feature should be placed.

  1. On the empty column add a “Customer center app” column
  2. Name the column “My RMA”, link the Cart page field to your cart page, and the Product list page field to your product list.
  3. Now enter the App part of the settings
  4. Choose the Customer center app
  5. Scroll to the Default View section. In the Default View dropdown choose RMA
  6. Scroll to the Templates section. In the RMA list dropdown choose “RMAList.cshtml”. In the RMA details dropdown choose “RMADetails.cshtml”. Please make sure to choose cshtml files and not html files in these two dropdowns.

Now the RMA feature has been created. To check if it is working make sure to log in in the frontend using a user with processed orders.

The My orders section in the customer center is for the users to rewatch earlier made orders. This section displays orders the user has made earlier. It can keep track of the state of the orders, showing whether they are e.g. new or completed. 

It is also in the My orders section that the Reorder tool can be used. This is the botton displayed to the far right of the orders table. Clicking this botton will add all the products of the order to the cart. Meaning users can copy old orders easy and fast. 

It is possible to quickly download product assets from the My Orders page. When a user is logged in and enters the My Orders page a small download icon will apear to the right of each order. Clicking this will open a download side menu, where the user can download the product assets. 

This setting can be enabled or disabled in the app column settings.