Zenit Design - Themes
Buy themeThemesSupport
EN
EN
  • First steps
  • Start Guides
    • Atmos - Demo 1
    • Atmos - Demo 2
    • Atmos - Demo 3
    • Atmos - Demo 4
    • Gravity - Demo 1
    • Gravity - Demo 2
    • Horizon - Demo 1
    • Horizon - Demo 2
    • Sphere - Demo 1
    • Sphere - Demo 2
    • Stratus - Demo 1
    • Stratus - Demo 2
    • Stratus - Demo 3
    • Stratus - Demo 4
  • Tips
    • Dashboard
    • Theme configuration
    • Dictionary
    • Multiple sales channels
  • Configuration sets
  • Support
    • Read errors
    • Find cause
  • 🎨Styling
    • General
      • Basic layout
      • Product images
      • Produkt Layout-Typ
      • Global background
      • Preloader
      • Accent line
      • Scroll animation
    • Typo & Colors
      • Theme colors
      • Status messages
      • Fonts
      • Typography
      • E-Commerce
      • Buttons
    • Logos
    • Header
      • Header
      • Search
      • Top bar
      • Shop navigation
      • Main navigation
      • Flyout navigation
      • Dropdown navigation
    • Footer
      • Footer
      • Content
      • Columns
      • Columns styling
      • Footer bottom
    • Components
      • Sidebar
      • Sidebar navigation
      • Forms
      • Image & gallery slider
      • Produkt slider
      • Category Listing Slider
      • Pagination
      • Breadcrumbs
      • Cookie banner
      • Offcanvas
      • Backdrop
      • Scroll-Up button
    • Category
      • Category header
      • Hero section
      • Filter
      • Listing actions
      • Product boxes
      • Quickview
    • Product
      • Detail
      • Gallery
      • Description
      • Description navigation
      • Description content
    • Checkout
      • Cart
      • Checkout
  • ⚙️SETTINGS
    • Basic settings
    • Custom field assignment
      • Custom fields for product page details
      • Custom fields for product datasheets
    • Social media icons
    • Marketing text slider
    • Custom tab details page
    • Custom footer columns
    • Custom code
  • 📂Contents
    • Shopping experiences
      • Sections
      • Blocks
        • Elements
          • Image text slider
          • Search banner
          • Text banner
          • Teaser
          • Features
          • Breadcrumbs
          • Code
          • Divider
          • Category-navigation
          • Footer navigation
          • Placeholder
        • Commerce
          • Image gallery and buy box with product name & manufacturer logo
          • Image gallery and buy box with product name & manufacturer logo & description
          • Image gallery and buy box with description
          • Image gallery with description and buy box with product name & manufacturer logo
        • Category
          • Category listing
        • Columns
        • Layouts
      • Block inner spacings
      • Block outer spacings
      • Animations
      • CSS Variables
    • Category
      • Hero section
      • Category header
      • CSS classes
      • Category badges
      • Category Icons
      • Products per row
    • Product page
      • Layouts
      • Default layout
      • Gallery mode
      • Custom tabs
      • Videos tab
      • Datasheets
    • Product images
      • Image sizes
      • Aspect ratio
      • File format
      • Product image background
    • Layout type
    • Responsive tables
    • Multilingualism
  • 🎓Tutorials
    • Demodata import
    • Demo theme configuration import
    • Duplicate Child-Theme
    • Customizations
    • Configuration export/import
    • Custom Fields export/import
    • Embed fonts locally
    • Embed fonts locally with child-theme
  • 🛠️Update Guides
    • Child theme update
    • Shopware 6.6.9.0
    • Shopware 6.6.0.0
    • Shopware 6.5.0.0
    • Theme 3.5.3
    • Theme 2.11.0
  • ❓FAQ
    • Overview
    • Accessibility
      • Typography
      • Colors
      • Images
      • Video
      • Accessibility checker and resources
    • General
      • Copyright notice
      • Wishlist
    • Product layout
    • Licenses
      • Trial version vs full version
      • Changing the licence domain
    • Derivations
      • Child theme
      • Theme duplicate
      • Child theme vs theme duplicate
    • Updates
      • Theme is displayed as incompatible
      • Update is not displayed
    • Known issues
      • Could not assign child-theme
      • Text modules show technical name
      • Theme save error
      • SVG logo is not displayed
      • Search / Input mobile zoom
      • Text is not visible / readable
Powered by GitBook
On this page
  • Error message
  • Cause
  • Examples
  • Proposed solution

Was this helpful?

  1. FAQ
  2. Known issues

Could not assign child-theme

In Shopware from 6.6.4 versions, a Shopware bug in the child themes may cause an error when assigning the sales channel.

Last updated 9 months ago

Was this helpful?

Error message

Unable to load file "custom/plugins/zenitPlatform{THEME}Set{NUMMER}/src/Resources/app/storefront/dist/storefront/js/zenit-platform-horizon-set1/zenit-platform-{theme}-set{nummer}.js". Did you forget to build the theme? Try running ./bin/build-storefront.sh"). with these parameters: ...

Cause

The cause of the error goes back to a so-called breaking change in the major update to Shopware 6.6, in which the path to the storefront JavaScript was changed.

The reason for this error message is a current malfunction starting with Shopware 6.6.3, where the theme.json is searched for the new JavaScript path, even if it has not been referenced. Child themes whose JavaScript path has not been adapted to the new Shopware 6.6 structure can no longer be assigned in these versions.

Shopware already has a fix, but it has not yet made it into the Shopware Core (as of 6.6.5.1):

Examples

Proposed solution

All of our child themes from version 4.x onwards were made compatible and made available with the release of the major release 6.6 of Shopware. We created the new folder structure and retained the old one - so the child themes are compatible for all versions.

Please note that you have to copy your individual Javascript programming into the Javascript structure so that it will be executed from Shopware 6.6 onwards.

Shopware had planned that existing themes that still reference the old JavaScript path would not throw an error and would continue to be compatible. However, due in Shopware 6.6.4, child themes that reference the old JavaScript structure now generate an error and can no longer be assigned.

Update the child theme via the download on our website as described in the article or wait for Shopware to fix the problem in one of the future Shopware versions.

❓
to a change
Child Theme Update
shopware/UPGRADE-6.6.md at v6.6.0.0-rc1 · shopware/shopwareGitHub
Merge branch 'NEXT-37454/ignore-old-js-paths-in-resolve-files' into '… · shopware/shopware@59675b9GitHub
Logo
Logo
old Javascript structure - leads to error
new Javascript structure - compatible with Shopware 6.6
both Javascript structures - compatible with all Shopware versions