Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey y'all! Is there some way to bulk update non-product templates, like pages, blogs, and articles? I haven't been able to find any guides or tools that weren't for products only. I Googled, scoured the Shopify App Library, even checked in with the dev Discord, but I'm turning up empty all around.
First, I know! 😅 It was my bad for not making sure a version of the template existed in the new theme before switching from the old one (everything got reverted to "Default blog post").
Second, I know! 😅 I could just copy the custom template code into the "Default blog post" files and save time and effort. More than 700 blog posts is a LOT of clicking. (Yes, I've already done it once. Don't judge me. 🙃)
Solved! Go to the solution
This is an accepted solution.
Matrixify might be able to do this as well through a spreadsheet workflow
See shopify-flow or a scriptable app like mechanic to build an automation through the api.
It's not clear what your doing but if it's to edit templates themselves and not resource-assignments and you can code use the shopify cli or themekit to pull down the theme and find&replace edit the code.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hey there! Unfortunately, Shopify doesn't provide a built-in bulk update tool for non-product templates.
Your best bet might be to use a custom script to update these via the Shopify API. It can automate the process and save you all that clicking.
If this fixed your issue, likes and accepting as a solution are highly appreciated
| Build an online presence with our custom-built Shopify Theme: EcomifyTheme
| Check out our reviews: Trustpilot Reviews
| We are Shopify Partners: EcomGraduates Shopify Partner
This is an accepted solution.
Matrixify might be able to do this as well through a spreadsheet workflow
See shopify-flow or a scriptable app like mechanic to build an automation through the api.
It's not clear what your doing but if it's to edit templates themselves and not resource-assignments and you can code use the shopify cli or themekit to pull down the theme and find&replace edit the code.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Thanks for the suggestions! All I'm looking to do is resource reassignment -- change a content type's assigned template in bulk rather than one at a time. For this theme switch, I changed all the "Default blog post" Theme template selections on the Article edit page to "our-special-template."
Flow might do what I need, but downloading and directly editing the files is something I hadn't thought of! I'm extremely comfortable with Liquid and could change things this way in just a few minutes.
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025