fixed the flow for the ps_stores_icon assign process

This commit is contained in:
vishalsingh.qlo325
2024-07-16 15:16:45 +05:30
parent fc8882ea9c
commit ea94bb82a9
6 changed files with 14 additions and 9 deletions

View File

@@ -59,7 +59,11 @@ class CategoryControllerCore extends FrontController
$this->addCSS(_THEME_CSS_DIR_.'occupancy.css');
$this->addJS(_THEME_JS_DIR_.'occupancy.js');
Media::addJsDef(
array(
'PS_STORES_ICON' => $this->context->link->getMediaLink(_PS_IMG_.Configuration::get('PS_STORES_ICON')),
)
);
$scenes = Scene::getScenes($this->category->id, $this->context->language->id, true, false);
if ($scenes && count($scenes)) {
$this->addJS(_THEME_JS_DIR_.'scenes.js');