Install Dynamic Multistore + Availability Notification feature

Edit on GitHub

Dynamic Multistore is currently running under an Early Access Release. Early Access Releases are subject to specific legal terms, they are unsupported and do not provide production-ready SLAs. They can also be deprecated without a General Availability Release. Nevertheless, we welcome feedback from early adopters on these cutting-edge, exploratory features.

This document describes how to install Dynamic Multistore + the Availability Notification feature.

Install feature core

Prerequisites

Install the required features:

NAME VERSION
Spryker Core 202311.0
Availability Notification 202311.0

Set up configuration

Add the following configuration to your project:

CONFIGURATION SPECIFICATION NAMESPACE COMMENTS
AvailabilityNotificationConstants::REGION_TO_YVES_HOST_MAPPING Defines regions to Yves host mapping. Spryker\Shared\AvailabilityNotification See in config/Shared/config_default.php that follows.

config/Shared/config_default.php


<?php

use Spryker\Shared\AvailabilityNotification\AvailabilityNotificationConstants;

$config[AvailabilityNotificationConstants::REGION_TO_YVES_HOST_MAPPING] = [
    'EU' => getenv('SPRYKER_YVES_HOST_EU'),
    'US' => getenv('SPRYKER_YVES_HOST_US'),
];

Verification

To verify the email links are correct, make sure that the following configuration is correct:

  1. Add a new product and make it unavailable.
  2. As a customer, subscribe to the product’s availability notifications on the Storefront.
  3. Make the product available.
  4. In your mailbox, open the email about the product’s availability.
  5. Check if the link to the product opens the correct Product Details page. The link should have the correct hostname.