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
  • Why update a child theme?
  • How to update a child theme
  • What's in a child theme?

Was this helpful?

  1. Update Guides

Child theme update

Last updated 4 months ago

Was this helpful?

Why update a child theme?

With the introduction of in Shopware 6.4.8.0, Shopware has solved the inheritance of theme configurations. Child theme updates are therefore usually no longer necessary.

You should therefore check if your child theme is already in version 2.11.0. If you are using an older child theme, please update to this or a higher version. After that, no further child theme updates are necessary.

Occasionally, we may make our provided child themes available in a new version in addition to the main theme offered in the store.

These updates are usually optional and includes, for example, new configuration fields. We always make sure that our themes are compatible with older child themes. If a child theme update is not performed only the new theme configuration settings are not available and you do not have access to the new feature. From Shopware 6.4.8.0 the new configurations will be available due to the config inheritance.

How to update a child theme

Before you start the update, please note that for child themes with individual programming on file level the second update option has to be performed.

Without individual programming - 3 steps (effort: 3 min)

These instructions are aimed at child themes that have not been customized by individual programming at file level.

Step 1 of 3: the latest version of our child themes.

Step 2 of 3: In the administration of the shop under Extensions > My extensions you can upload the downloaded zip file using the Upload extension button.

Step 3 of 3: You then have the option to update the extension and you can update as usual by clicking on "Update".

or

With individual programming - 4 steps (effort: 5 min)

These instructions are aimed at child themes that have been customized through individual programming at file level.

Step 1 of 3: the latest version of our child themes.

Step 2 of 4: Unzip the child theme zip file to your computer.

Do not upload the child theme zip file through the administration. The entire plugin folder would be replaced and your code-level customizations removed.

Only the src/Resources/theme.json and the composer.json contain the content important for the update.

Step 3 of 4: Exchange theme.json and composer.json on the server:

Copy the zenitPlatform[THEMENAME]Set[NUMBER]/src/Resources/theme.json from the unzipped zip file an overwrite the version on your server under /custom/plugins/zenitPlatform[THEMENAME]Set[ NUMBER]/src/Resources/theme.json

Copy the zenitPlatform[THEMENAME]Set[NUMMER]/composer.json from the unzipped zip file an overwrite the version on your server under <shopware root>/custom/plugins/zenitPlatform[THEMENAME]Set[NUMMER]/composer.json

When switching to Shopware 6.6, the must also be included under app/storefront/dist/storefront/js. Existing JavaScript should then be copied into the new JavaScript structure.

Step 4 of 4: You then have the option to update the extension in the administration and you can update as usual by clicking on Update.

What's in a child theme?

Only the src/Resources/theme.json and the composer.json contain relevant content that is important for the update:

# move into your theme folder
$ cd <shopware root>/custom/plugins/zenitPlatform[THEMENAME]Set[NUMMER]

# structure of theme
├── composer.json  <-------------------- INCREASED VERSION NUMBER!
└── src
    ├── zenitPlatformStratusSet1.php
    └── Resources
        ├── app
        │   └── storefront
        │       ├── dist
        │       │   └── assets
        │       │   └── storefront
        │       │       └── js
        │       │           └── zenit-platform-stratus-set1.js
        │       └── src
        │           └── scss
        │               ├── base.scss
        │               └── overrides.scss
        └── theme.json  <-------------------- NEW CONFIGURATIONS!

composer.json - Contains only as a change the new version number, so that in the administration the update can be performed.

theme.json - Contains the theme configuration of the child theme.

All other files in the child theme like the base.css, overrides.scss and javascript files must be in a child theme for it to be installed and assigned. These files are basically empty and do not contain any relevant content and will never receive any content by us.

🛠️
configInheritance
Download
Download
new JavaScript structure