Sometimes customers are browsing your product list just for inspiration and not for buying – at least not right now. They might want to save items and return later to buy them. This is why favorites lists are handy as they allow customers to group various items on self-created lists, which will be saved in their customer center (Figure 1.1).
When the customer adds an item to a favorite list a small notification apears in the bottom right corner. If the customer has created more than one favorite list an off canvas menu will apear on the right. In this menu the customer will have to choose which favorite list the item should be added to.
If you want to setup the favorites list app manually follow this guide.
You'll need to create two pages, one in the customer center and a Swift Tools page in the folder called "Services".
We'll start with the page in the customer center:
- In the content tree, navigate to: Content/Navigation/Utilities/My account
- Create a new page in the “My account” folder and call it something suiting – E.g. “My favorites”
Next, you want to set-up your favorites list page.
- Open the Visual Editor.
- Add a 2-column 3/9 row
- In the first column add a navigation and make the navigation root link to the “My account” folder
- Let the theme and style match the navigation column on the other customer center pages
The second column is where the customers favorites lists will be located. To create the area for the lists, add the "Customer Experience Center" app to the empty column.
- Give the app the title “My favorites”
- Make sure to link the following fields to the following pages:
- Orders page to My orders
- Account settings page to My account information
- Addresses page to My addresses
- Product details page to Products/Details
- Product list page to Products
When all this is done enter the App part of the settings by clicking “App” in the top banner menu and change the following settings:
- Retrieve list based on User id
- In the templates section link List with the FavoritesLists.cshtml file and Detail with the FavoritesDetail.cshtml file.
In the Display section you can change:
- How many lists you want to show per page
- How the lists should be sorted
- And whether the sorting should be ascending or descending
When this is done, we'll need to set up the Favorite Service Page. The documentation on that can be found here.