Get to Know the Personalization

At this point you will get familiar with SAP Commerce Cloud and the Personalization. You can skip this step if you already have such knowledge.

Context

The cx recipe contains all extensions required to successfully set up and configure the Personalization Module. In this trail you will be working with the electronics storefront.

Procedure

  1. Set up the hosts. If you have administrator rights you should add the entries mentioned below to your hosts file. Modifying the hosts file allows the Accelerator to identify the sites (the CMSSites) from the url.
    Navigate to the file:
    • on Windows: c:\Windows\System32\drivers\etc\hosts;
    • on a unix-based system: /etc/hosts.

    and add the 127.0.0.1 electronics.local entry to the file.

  2. Start the SAP Commerce Cloud server by executing the following commands
    1. For Windows: install.bat -r cx start from the installer directory or hybrisserver.bat from hybris/bin/platform directory
    2. For a unix-based system: ./install.sh -r cx start from the installer directory or ./hybrisserver.shfrom hybris/bin/platform directory.
  3. Open your browser and provide the address to access the electronics store.
    • http://electronics.local:9001/yacceleratorstorefront
    • http://localhost:9001/yacceleratorstorefront?site=electronics

    You can see the default electronics storefont.

  4. Log in as one of the users: canonlover@hybris.com with the password defined for that user.

    The main banner has changed. It is because the user canonlover@hybris.com belongs to Category Canon segment, which triggers canonlovervariation. The action defined for canonlover variation changes the main banner on the homepage.

    You can also log in as another sample user (for example: cameralenslover@hybris.com) and observe how the homepage changes.

  5. Explore personalization data. Go to https://localhost:9002/backoffice.

    The Personalization node is visible in the Explorer Tree on the left. You can now access all the sample data loaded in Personalization Module. For more details on Personalization in Backoffice Administration Cockpit see: Configure Personalization.

Next Steps

Proceed to: Add personalizationtrail Extension.