Promotion entities import / export

Screenshot_2020-04-29_at_19.12.41.png Getting started

In this article, you can find information about the entities import / export, which allows admin panel users to export already prepared promotion conditions, actions, or rules and import them on different Yves-Rocher websites or environments. The export extracts the selected promotions "as is", which means they export them without the ability to modify them on the computer and the downloaded .zip file can only be imported. Whenever the user exports the promotion rule the entities functionality automatically exports all conditions and actions used in the selected rule.

info2.svg  RememberYou can find more about the promotion module in the Promotion module introduction article. More detailed description of conditions, action and rules can be found in their respective articles: Conditions, Actions and Rules.

Table of contents:

  1. Exporting entities
  2. Importing entities

 


 

Screenshot_2020-04-29_at_19.12.41.png Exporting entities

Promotion conditions, actions, and rules can be exported in their respective tabs while editing them. It is possible to export multiple promotions at once, and by exporting the promotional rules all conditions and actions that are active in them are also automatically exported, so whenever a rule is exported there is no need to manually add the used in this rule actions and conditions.

POWERPNT_jqhVDhj2XJ.png
Visualization of the export button in the rule edition view

By clicking the button Add to export (1) you add this promotion part to the export stash (2).

POWERPNT_AaQC4iNj7m.png
Visualization of the export stash

In the export stash, you can see all added entities with an option to clear the list or export them. By clicking the Export button the entities will be available to download.

info2.svg  RememberThe export stash holds all the added entities even after exporting them. You can clear the stash by selecting the clear button, or it will get cleared itself whenever the browser is closed.

POWERPNT_3pcjkDXjFV.png
Visualization of the entities export

The exported .zip file shouldn't be unpacked or modified, as it contains all the necessary information for our system to reproduce these conditions, actions, and promotions whenever they are imported.

 


 

Screenshot_2020-04-29_at_19.12.41.png Importing entities

With a ready exported .zip file with entities, we are able to import it to any environment and country. This process consists of three steps:

  1. Select file - Selection of a .zip file with entities
  2. Data mapping - mapping entities to the existing promotions or creating new ones
  3. Import - importing the entities and viewing the report.

This is done in:

Import / Export > Import / entities

POWERPNT_S8L29TnAJK.png
Visualization of the import / entities tab

In the import entities tab, we have to choose the previously downloaded .zip file with promotions and then select the import file button. This will proceed with the import process to the second step, which is data mapping.

POWERPNT_XssHUB9x2Z.png
Visualization of the data mapping step

In the data mapping step, there are listed all conditions, actions, and rules that are imported into a selected environment. In this step you can find the following columns:

POWERPNT_S8ZgmKbU6w.png
Visualization of the search functionality

With all entities verified, we can proceed to the third step by selecting the Accept mapping & import file.

caution.svg  Warning  Please verify thoroughly the mapping process, as it is not possible to revert the overwritten mapped conditions / actions / rules. 

In the last, third step - Import we can see the result of the entity import.

POWERPNT_Pfxar8UsSW.png

Visualization of the import step

In this step we can see a table with three columns:

If there are any unexpected errors while importing an entity please contact the Tau Ceti helpdesk
at helpdesk@tauceti.email.


Revision #2
Created 27 November 2024 21:06:18 by Tau Ceti
Updated 27 November 2024 21:26:08 by Tau Ceti