Install Dynamic Multistore + Customer Account Management feature

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

Add the following configuration to your project:

| CONFIGURATION | SPECIFICATION | NAMESPACE | COMMENTS | | — |––| — | | CustomerConfig::getCustomerSequenceNumberPrefix()| Provides a prefix used during customer reference generation. If no prefix provided it will use current store name that can lead to issues in Dynamic Store setup | Pyz\Zed\Customer | See in src/Pyz/Zed/Customer/CustomerConfig.php that follows. |

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.