I’ve asked Support and even Sales no one has an answer.
Our company is using Enterprise CMS. We purchased a theme from the marketplace and the license states we can use it throughout our account.
In December, this theme had an update that broke many of our modules and styles. Even if we were testing in a Sandbox, updating the theme updates the theme in place within our design manager.
Is there a way to test a theme update from the marketplace ahead of installing the update to the production version of the site? Has anyone else run into this issue?
Hi @aaronweissseo and Happy Friday!
Thanks for reaching out to the HubSpot Community!
I can confirm that at the moment, there isn’t a built-in way to test marketplace theme updates before they’re applied to your production account.
I’d love to put you in touch with our Top Experts: Hi @zach_threadint, @Anton and @sylvain_tirreau can you think of workarounds to help @aaronweissseo, please?
Also, here are some resources for you in the meantime:
- Sync content to a CMS Developer Sandbox
- Content Staging
Thanks so much and have a lovely weekend everyone!
Bérangère
My recommendation to anyone who’s buying/downloading a theme from the marketplace or using HubSpot default themes: Create a child-theme before start using it, as it’s done with a few clicks, allows you to modify every aspect of the theme to your requirements and detaches elements in the child-theme from future theme updates. But unfortunately almost every user misses this crucial step
Creating a child-theme is super simple in HubSpot:
right-click on the original theme in the Design-Manager (@marketplace/[Provider-name]/[Theme-name]) and select “Create Child theme”
In the popup window, give it a name and select the location (root is fine). As for the name, I recommend to use lowercase and replacing “space” with either a “-” or “_”
Once done, you can copy every file/module/template from the “Master” theme over to the child-theme. Note: Every file/module/template that’s being copied to the child-theme, won’t be affected by future updates (unless you do it manually per file).
If you want to have a “failsafe” version, you need to clone/copy every file/module/template over
Most important step here is to select the child-theme while creating websites/landing pages/blogs. Since I assume you’ve built pages already, you’ll need to go through every page and select the corresponding template from the child-theme.
Thank you for your reply. I forgot to mention that we do use child themes (I’ll update the original post if I can).
I’ve considered the copying the master files from the purchased theme to the child theme, but that very tedious, especially having to bob and weave around customized files in the child theme.
Additionally, if there is an exsiting folder in the child theme for customized files to override the parent theme, I get a message that we cannot clone a folder from the parent theme to the child theme. Once you delete that folder, you can then copy over the files. Of course you can start to clone the sub-folders and individual files, but that just adds to the tedium.
Yeah, unfortunately the “Create child-theme” function doesn’t let you choose what files you’d like to copy over. But this is the crucial and often missed step as a child-theme itself gives you the option to extend the master/parent theme, but not “save” the current state.
This means that any file which wasn’t copied over to the child-theme will be overwritten by an update of the theme.
Unfortunately I think you’ll need to copy over all files/folders over if you want to keep the current state.
An alternative (not recommended in your situation) is to right-click and clone the whole theme. This will exclude it from any future updates, but you’ll need to go through any page and select the corresponding template again.
If you should decide to do this, I highly recommend to use the Content Staging environment to switch the themes.