- Change item_category_X to item_categoryX etc.

- add item_brand to all events
- add option to use real category titles instead of url parts for item_categoryX
- add option to replace chars in item_categoryX values

thanks to Stefan Moisees@beffy@proudcommerce.com
This commit is contained in:
2025-06-10 14:24:09 +02:00
parent 14b07749aa
commit 2b8192da26
17 changed files with 131 additions and 134 deletions

View File

@ -66,6 +66,14 @@ class ViewConfig extends ViewConfig_parent
return (bool) $this->d3GetModuleConfigParam('_blEnableOwnCookieManager');
}
/**
* @return string
*/
public function getCharsToReplaceInCategorTitles(): string
{
return (string) $this->d3GetModuleConfigParam('_sReplaceChars');
}
/**
* @return bool
*/
@ -234,12 +242,23 @@ class ViewConfig extends ViewConfig_parent
}
return $dataLayerGlobals;
}
/**
* @return bool
*/
public function isDebugModeOn() :bool
{
return $this->d3GetModuleConfigParam("_blEnableDebug")?: false;
}
/**
* @return bool
*/
public function useRealCategoryTitles(): bool
{
return $this->d3GetModuleConfigParam("_blUseRealCategoyTitles") ?: false;
}
/**
* @return string
* @throws ContainerExceptionInterface