Jump to content

Superadmin theme getting changed when changing customer theme


JoelWebsites

Recommended Posts

I have made some changes but I cannot understand why superadmin shop theme getting changed when an employees shop theme is changed. I have made the following change on line no 2472

 

 

public function processThemeInstall()
{
if (Shop::isFeatureActive() && Tools::getIsset(''))
{
//checkBoxShopAsso_theme
$this->errors[] = $this->l('You must choose at least one shop.');
$this->display = 'ChooseThemeModule';
 
return;
}
 
 
 
also on the default code I get the error You must choose at least one shop when trying to change theme from inside a employee admin panel ..Please help :)

AdminThemesController.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...