Shopify themes, liquid, logos, and UX
In theme customization if there any way how we can duplicate block?
I have a block with 100+ settings... font size, color. border radius, etc etc...
I fill bad when i need 15+ blocks... And there is no way how i can duplicate it... With just simply change the text in it... but keep styles...
Hi @Dixor,
If you are talking about the JSON blocks, then yes you can. You have to be knowledgeable with JSON though to execute this properly.
1. Go to Section file where you have the block code.
2. Go down to schema, and highlight from "blocks": [.... to the end bracket of the blocks.
How to find the closing ] of the blocks? If you click the opening [, the bracket should be highlighted together with the closing bracket.
3. Copy the highlighted block code, then open the file where you want to add this block settings.
Paste the code where inside the schema. You might have to adjust the block schema depending on the current file you are adding it to.
You can use this schema validator if you are showing some errors.
Yes, this was my first idea. But this question comes from my client...
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025