Some of our clients at SLTWTR have multiple brands with separate Shopify stores for each. Typically they have separate themes for each brand that are managed in separate repositories. This is typically an ideal way to manage themes but for features end up constantly being built for one theme and have to be migrated over to the other themes.

This multi-brand controller is an extension built upon the Neptune Theme that allows for dynamically sourcing javascript and CSS assets. This way core functionality is built all in the same repository but we still maintain the flexibility to customize the theme on a per brand basis.

Features

  • Brand configuration for defining each brand and how the assets are managed.
  • Webpack configuration that sources the assets based on environment variables.
  • A CLI that helps automate switching between stores and setting environment variables.