Create a theme package
After you customize and view your theme in your development environment, you can package the current theme as a .zip file, then upload it to the Theme Manager. You can use the Theme Manager to view different versions of the theme, manage it, and preview it in your production environment. You can ensure that the theme is stable before you publish it to your production environment.
To create the .zip file, you must use the package command. This command operates on the current default theme. If the theme you want to package is not the current default, you must first Switch between themes to the correct theme.
To package a theme
- Open a command-line window.
- Go to your workspace folder.
- Type
sfb-toolkit package
and press Enter. The tool asks whether you want to include translations in the package. - Choose
y
to include translations, orN
to omit them, and press Enter.
If your theme is based on Plaza (that is, if it uses components), the tool asks whether to include the Storefront Builder layout editor settings. Choosey
to include them, orN
to use the defaults, and press Enter.
Wait for the command to finish.
The theme is generated as a .zip file in your /theme-zips
folder.
Was this page helpful?
Tell us more…
Help us improve our content. Responses are anonymous.
Thanks
We appreciate your feedback!