Theme images don't stay on (v. 2.94 Build 1-4)

When turning on theme images, the setting is not staying on, even though the setting is working. To correct this:

  1. Open the catvars.php file in the /storeadmin/ folder.

  2. Around line 26, change the code:

    if (file_exists($theme_image_dir))
    {
     $varylist['UseThemeImages'] = 'n';
     $allow_theme_images = 'y';
    }

    to:

    if (file_exists($theme_image_dir)) {
     $allow_theme_images = 'y';
    } else {
     $varylist['UseThemeImages'] = 'n';
    }
  3. Save and reload the file.

  4. In the storeadmin area, select 'Catalog Setup' in the 'Administration' menu.

  5. Under the 'Admin' section, set Template Images to 'Yes' and save. The setting should now show as 'Yes' when you view that page again later.