Skip to content

Commit

Permalink
added demo_notice parameter to storeConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
IljaFatkulin committed Mar 12, 2024
1 parent 130de1c commit ba3bb40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Controller/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class Router extends BaseRouter
const XML_PATH_THEME_USER_AGENT = 'design/theme/ua_regexp';
const XML_PATH_CATALOG_DEFAULT_SORT_BY = 'catalog/frontend/default_sort_by';
const XML_PATH_TAX_DISPLAY_TYPE = 'tax/display/type';
const XML_PATH_DEMO_NOTICE_DISPLAY = 'design/head/demonotice';

const PAGE_TYPE_PRODUCT = 'PRODUCT';
const PAGE_TYPE_CATEGORY = 'CATEGORY';
Expand All @@ -59,7 +60,8 @@ class Router extends BaseRouter

const CRUCIAL_STORE_CONFIG_VALUES = [
'cms_home_page' => self::XML_PATH_CMS_HOME_PAGE,
'catalog_default_sort_by' => self::XML_PATH_CATALOG_DEFAULT_SORT_BY
'catalog_default_sort_by' => self::XML_PATH_CATALOG_DEFAULT_SORT_BY,
'demo_notice' => self::XML_PATH_DEMO_NOTICE_DISPLAY
];

const DISPLAY_PRODUCT_PRICES_IN_CATALOG_INCL_TAX = 'DISPLAY_PRODUCT_PRICES_IN_CATALOG_INCL_TAX';
Expand Down

0 comments on commit ba3bb40

Please sign in to comment.