Main > Abyss | Magento > Magento 2: Как установить текущий store

Magento 2: Как установить текущий store

26.09.2019 0 comments » Views: 77

Magento 2

Установить текущий store в Magento 2 можно вот так..

1. Добавляем в зависимости экземпляр типа StoreManagerInterface

2. В нужном месте вызываем

 

Author: | Rating: 4/5 | Tags: ,

Leave a Reply

Your email address will not be published. Required fields are marked *

Allowed HTML-tags: <a>, <code>, <i>, <em>, <strong>, <b>, <u>, <strike>