You must set up the value of the preview URL of your storefronts so that the value from the CMSSite table contains the URL of your storefront, for example: https://mystorefront.com/yacceleratorstorefront/?site=apparel-uk.
Procedure
- Log into the Administration Cockpit.
- Import the following ImpEx data:
# TODO: Change the following full path variables to match your storefront URLs
$fullPathElectronics=https://electronics.cloud/
$fullPathApparelUK=https://apparel-uk.cloud/
$fullPathApparelED=https://apparel-de.cloud/
# Setup site preview url for each storefront
# This ensures that when user clicks on the HOMEPAGE link after logging in, user navigates to the correct storefront homepage
UPDATE CMSSite;uid[unique=true];previewURL
;electronics;$fullPathElectronics/?site=electronics
;apparel-uk;$fullPathApparelUK/?site=apparel-uk
;apparel-de;$fullPathApparelED/?site=apparel-de