Install the Customer Account Management feature + Dynamic Multistore

Edit on GitHub

This document describes how to install Dynamic Multistore + the Customer Account Management feature.

Install feature core

Prerequisites

Install the required features:

NAME VERSION
Spryker Core 202410.0
Customer Account Management 202410.0

Set up configuration

Provide a prefix used during customer reference generation. If no prefix is provided, it will use the current store name, which can lead to issues in Dynamic Store setup.

Add the following configuration in Pyz\Zed\Customer\CustomerConfig::getCustomerSequenceNumberPrefix().

src/Pyz/Zed/Customer/CustomerConfig.php

<?php

namespace Pyz\Zed\Customer;

use Spryker\Zed\Customer\CustomerConfig as SprykerCustomerConfig;

class CustomerConfig extends SprykerCustomerConfig
{
    /**
     * {@inheritDoc}
     *
     * @return string|null
     */
    public function getCustomerSequenceNumberPrefix(): ?string
    {
        return 'customer';
    }
}
Verification
  1. Create a customer.
  2. On the Customers page, next to the created customer, click View.
  3. On the View Customer page, make sure that the Customer Reference contains the prefix you’ve configured.