Technical documentation - Shopping list

This article describes the shopping list function in web viewer and how to configure it.

Function is available in version 5.0 and later.

Overview

When turned on, the shopping list function will show the order icon in toolbar as a shopping list instead, to indicate to users that adding parts to the shopping list does not result in an order. Order buttons will be renamed to “Add to shopping list”.

Then viewing the shopping list, it will clearly show that it is not an order but a shopping list. When user moves between the steps in the shopping list, user will get the option to continue as a guest and add an email address (optional) or to sign in. When user sign in the shopping list will get converted to an order list.

Configuration

Shopping list is configured within the OrderManager in profile.config.

<OrderManager> <OrderManager enable-external-part-number="true"> <ShoppingList> <!-- If true user will get a login popup when leaving first tab of order view --> <login>true</login> <!-- Show the following steps in order view Allowed options are ShoppingCart, AdditionalInformation, ShoppingListConfirmation. Sample: <ShoppingProcessNames>ShoppingCart, AdditionalInformation, ShoppingListConfirmation</ShoppingProcessNames> --> <ShoppingProcessNames>ShoppingCart</ShoppingProcessNames> <!-- Allow to continue past login popup as guest but without adding email address --> <EnableGuestWithoutEmail>true</EnableGuestWithoutEmail> <!-- Sender email field hidden if true. Default is true. --> <HideSenderEmail>false</HideSenderEmail> </ShoppingList> </OrderManager> </OrderManager>

Add to shopping list button.

For Add to shopping list button to appear it is important that permissions for AddToOrderCart is correct. Several options exist, but one possible option is to add the below permission in profile.config.

<Permissions>ShoppingList</Permissions>