PIMPerfion

Perfion

Sana Commerce 9.3
Your connector

How to Connect Sana to Perfion?

When the Perfion Connector add-on is installed into Sana you need to configure it in order to establish connection between Perfion and Sana.

In Sana Admin click: Apps > Add-ons. You can configure Perfion Connector from any tab on the "Add-ons" page by clicking on the Configure button .

The table below provides the description of the Perfion Connector settings.

Check the official Perfion documentation for a detail explanation of all settings.

Field  Description
Web Service URL  Sana connects to Perfion through the Web service. Enter the URL to the Perfion Web Service API to establish connection between Perfion and Sana.

Sana receives all data from Perfion through the Perfion Web Service API.

The Perfion Connector accesses the Ecommerce API provided by this Web service. 

Logging  If this option is enabled, all requests from Sana to Perfion and responses will be logged. It is preferable to leave logging disabled, as it affects performance. It is recommended to use logging for debugging purposes when you set up the connector. 
Ignore Errors from ERP  When the Perfion add-on is used, Sana requests product data from ERP and Perfion. Then the product data from ERP and Perfion is combined and returned to Sana.
  • If "Ignore Errors from ERP" is disabled:

    When Sana requests some product data from ERP, the Perfion Connector checks the response from ERP. If ERP returns an error for some reason, the Perfion Connector will not go further and will not request additional product information from Perfion. It will simply return the error from ERP to Sana.

  • If "Ignore Errors from ERP" is enabled:

    When Sana requests some product data from ERP, the Perfion Connector checks the response from ERP. If ERP returns an error for some reason, the Perfion Connector will ignore it and request additional product information from Perfion. The product information from Perfion together with the error from ERP will be returned to Sana.

Normally this option is enabled during the implementation phase.

Refresh configuration on every call  For performance reasons the connector cashes the configuration of all settings in Perfion. Only when Sana calls the "GetEntityFields" method, the cache will be refreshed.

If this option is enabled, cache will be refreshed every time a call is sent to the connector. In this way, the changes made in Perfion will be immediately reflected in Sana.

It is recommended to enable this option only for debugging purposes when you make the initial setup of the Perfion add-on for Sana, as it may affect performance.

Enable Image Cache  By default, when the "Product image import" task is started in Sana Admin, Sana indexes all product images, including those which were not changed as Sana does not know which images were modified.
 
If you enable the option "Enable Image Cache", Perfion will cache all product images already indexed by Sana. Therefore, the next time Sana will index only those product images which were changed or added.

You should specify for how many hours the product images should be cached in the "Image Life Time" field. If the value is "0", the cache will not be cleared. 

Image Life Time

When connection between Sana and Perfion is configured, click Test connection to check whether Sana can connect to Perfion.

While testing the connection between Sana and Perfion, in certain cases the system can throw errors, meaning that the connection has not been established. The connection can fail for various reasons, you can find the information about some errors and how they can be fixed in the "Perfion/Sana Connector" document.

PIMPerfion