Tools

Sana Commerce 9.3
Your connector

Maintenance Mode



Sana allows to accept orders when there is no connection to your ERP system. This allows to continue business operations without interruption, even when connection to your ERP system is not available for some reasons. When there is no connection between Sana and ERP, Sana automatically enables the maintenance mode.

To configure the maintenance mode, in Sana Admin click: Tools > ERP connection.

The table below provides the description of the maintenance mode settings.

Settings Description
Maintenance mode Use this option to enable or disable the maintenance mode manually. When it is disabled and connection to the ERP system is lost, the maintenance mode will be enabled automatically after a certain number of connection failures.
Number of connection failures before auto switching to maintenance mode Select the number of connection failures that should happen before enabling the maintenance mode automatically.
ERP connection status Here you can see the connection status to your ERP system.

If connection is not available, click Try to reconnect.

You can also click Test connection to check your connection to the ERP system.

There is also the ERP connection status check task. It automatically checks the connection to your ERP system according to the schedule.

For more information, see "Scheduled Tasks".

The web store can run in the maintenance mode only if all required data is synchronized with the ERP system. To synchronize data, in Sana Admin click: Tools > Scheduled tasks, and run the following tasks:

  1. General information import - synchronizes web store settings with the ERP system and imports general information to the Sana database.
  2. Product import - performs products indexing and imports catalog data to the Sana database.
  3. Customer import - performs customers indexing and imports customers data to the Sana database.

For more information, see "Scheduled Tasks".

To show catalog prices in the maintenance mode, in Sana Admin click: Setup > Products > Price, and enable the option "Price visibility when ERP connection is not available". When you enable this option, you need to reindex the catalog by running the "Product import" task. When the web store is in the maintenance mode, customers can see only the latest indexed list prices.

Sales orders that are placed in the maintenance mode can be viewed and processed in Sana Admin: Sales > Unprocessed orders. For more information about sales orders placed in the maintenance mode, see "Unprocessed orders".

System administrator receives an e-mail, when the maintenance mode is activated/deactivated. It is sent to the administrator notifications e-mail address specified in the store information settings in Sana Admin: Setup > Basics > Store information.

Two e-mail templates are used to notify system administrator when the maintenance mode is activated/deactivated:

  • [SHOPNAME] ERP connection not available. Maintenance mode activated.
  • [SHOPNAME] ERP connection available. Maintenance mode deactivated.

For more information, see "E-mails".

There are three states of the maintenance mode:

Maintenance Mode Description
Full This is the default state of the maintenance mode. When there is no connection between Sana and ERP, and all required data is synchronized, a Sana web store continues to work, and customers can create orders.
ViewOnly When there is no connection between Sana and ERP, and all required data is synchronized, a Sana web store continues to work, but with limited functionality. Customers can still browse the catalog, but they cannot create orders.
Disabled When there is no connection between Sana and ERP, a Sana web store does not work. Users will see a page with a message that a web store is temporarily unavailable.

You can change the state of the maintenance mode in the "Web.config" file of the Sana Commerce frontend.

<add key="OfflineModeSupport" value="Full" />

When Sana works in the "Full" maintenance mode, customers can still create orders, but there are some features which are not available:

  • Import and synchronization of any data between Sana and the ERP system is impossible in the maintenance mode, meaning that scheduled tasks will not work.
  • A customer is not able to view the order history.
  • Catalog prices - product prices are shown to the customers only if the option "Price visibility when ERP connection is not available" is enabled in Sana Admin.
    In the "Full" maintenance mode, the customers can see the prices based on the latest indexed list prices. The customer specific prices, trade agreements, discounts and volume prices are not available. Only simple basket calculation.
    When the order is processed in Sana Admin, the customer will receive the order payment e-mail with the recalculated sales order and the link to the page where the customer can pay the order. When the order is paid, the customer will receive one more order confirmation e-mail.
  • Stock - in the maintenance mode the stock is not shown in the web store and availability of products does not depend on stock.
  • Payment and shipping costs - customers will see all actual prices and will be able to pay the order, when it is processed by the web store administrator.
  • Return Orders
  • Optimize for large orders order processing strategy
  • Quote to order conversion
  • Sales document reports
  • Sales document attachments
  • Product attachments
  • Shopping cart suggestions
  • Retail offers
  • A customer is not able to edit his or her profile.
  • The Web service for the Sana mobile app will not work.

The features which are not available in the "Full" maintenance mode, are not available also when the "ViewOnly" maintenance mode is activated.  Furthermore, customers are not able to create orders and all ordering functionality is not available. If the "ViewOnly" maintenance mode is enabled, customers can only browse the catalog.