settings — referencja modułu
Wygenerowane z manifestu modułu, bez ręcznych edycji. Co moduł robi, opisuje własna strona.
| |
|---|
| Id modułu | settings |
| Nazwa | Settings |
| Wersja | 1.0.0 |
| Pakiet | @endora-commerce/mod-settings |
| Licencja | MIT |
Aktywacja
Tego modułu nie można wyłączyć. Powierzchnia konfiguracji każdego innego modułu. Moduł wyłączony nie ma edytowalnej konfiguracji, więc wyłączenie tego modułu pozostawiłoby na platformie nic do skonfigurowania.
Zależności
| Moduł | Wiązanie | Znaczenie |
|---|
auth | tak | instaluje się i migruje po nim; operator nie może go wyłączyć pod tym modułem |
Uprawnienia
| Kod | Etykieta | Wymaga też |
|---|
settings:read | View settings | — |
settings:write | Edit settings | — |
Paleta poleceń
| Akcja | Otwiera | Uprawnienie |
|---|
open-settings | /settings | settings:read |
Ustawienia
| Kod | Nazwa | Typ |
|---|
admin.idle_logout_minutes | Admin idle logout (minutes) | number |
homepage_cms_page_slug | Home page CMS page | string |
product_image_placeholder_url | Product image placeholder | string |
shop.address | Shop address | string |
shop.contact_email | Main contact email | string |
shop.contact_form_recipient_emails | Contact form recipient emails | string |
shop.name | Shop name | string |
shop.phone | Shop phone number | string |
shop.support_email | Support / customer service email | string |
storefront.product_card.show_add_to_cart | Show "Add to cart" on product cards | boolean |
storefront.product_card.show_add_to_shopping_list | Show "Add to shopping list" on product cards | boolean |
storefront.speculation_rules.eagerness | Speculation Rules eagerness | string |
storefront.speculation_rules.enabled | Enable Speculation Rules | boolean |
Tłumaczenia
Paczki w i18n wewnątrz modułu, po jednym pliku na obsługiwany język.
Polecenia operatora
| Polecenie | Działanie |
|---|
pnpm --filter backend run cli -- settings cache-clear | Czyści wybrane (lub wszystkie) przestrzenie nazw cache Redis. |