How to configure Signifikant Web Viewer for order capabitlity
When installing and configuring a Signifikant Web Viewer instance.
1. Edit the profile.config file
Locate the profile.config file that you want to edit:
- The profile.config file in the AppData folder underneath the root folder is valid for all sites.
Use this file to define a base configuration for all your sites - The profile.config file in the AppData/<<SiteName>> folder is valid for a specific site
Each value in this file will overwrite the settings in the base configuration
Edit the following settings in the profile.config file:
Setting | Description |
---|---|
OrderEnabled | Enables order functionality |
PlaceOrderEnabled | Enables the Place Order button in the order view |
ClearOrderEnabled | Enables the Clear Order button in the order view |
ShoppingCartEnabled | Enables shopping cart |
NeedPriceToOrder | If true, disables order button when price is not available. |
NeedStockToOrder | If true, disables order button when availability is not available. If false, you can order a part even when no availability is known |
PriceDisplayModeSettings | If ListPrice: show list price |
OrderAdditionalInformationEnabled | If true, address and shipping options are shown in order view if false, address and shipping options are hidden in order view |
Add the following providers to the profile.config file
Provider | Description |
---|---|
AddToOrderCartProvider | Determines how parts are added to the shopping cart |
PriceProvider | Determines how prices are retrieved |
AvailabilityProvider | Determines how availability is retrieved |
PlaceOrderProvider | Determines how an order is sent to an external system |
2. Edit the permission.config file
Permission "Order" shall be enabled. Users that are member of groups that are assigned to the Order permission will be able to add parts to, view and place orders. Example content:
<ResourcePermission>
<Id>3</Id>
<Enabled>true</Enabled>
<Name>Order</Name>
<Note>Users can add parts to order, view and place order.</Note>
<Groups>
<string>Administrators</string>
<string>CompanyAdministrators</string>
<string>EndClient</string>
<string>Order</string>
<string>order</string>
</Groups>
</ResourcePermission>
Related articles