How can I duplicate a specific section in my ecommerce site?

Hi Everyone, i need some help!!

How can i duplicate this “featured product” section with all those blocks?

I Just want something like “CTRL + C → CTRL + V” anda just change the product later. Is this possible?

@gvieiracl22 May this help you. Click Here.

Hi there,

From your requirement, I understood that you need to duplicate Featured Product Section.

For that you can do “Add Section” and add the “Featured Product” section again.

This is duplicate the “Featured Product” section and you can add the desired product on this new section.

Hope this helped.

Thanks

@gvieiracl22 , You can add the feature product again on theme customizer area.

That’s the point, i don’t wanna just add another featured product section from the scratch, i wanted to duplicate the section with all the custom blocks i created inside that section.

2 Likes

@gvieiracl22 ,

Hi, You have to copy the content & paste it new section.

There is no easy solution for this, certainly not as easy as “You have to copy the content & paste it new section”. It could indeed be a very handy feature to have and save a lot of time, but so far it’s not an option. Best bet is for everyone to contact Shopify support and ask for it.

Otherwise, if you feel like diving into the code (it takes less than a minute, but be aware it’s technical and a bad manipulation could mess up your settings. I attached a picture bellow to locate the technical terms):

  1. Go in the code and open the template file you added the section to (could be index.json for home page, product.json for product page, page.json for default page etc.)
  2. In the file, detect the section you want to duplicate (the type value is usually the title of the section)
  3. Copy/Paste the object, starting point is the key line
  4. Block ID and key must have a uniq ID, so you’ll have to append a number to each of them on the duplicated object
  5. Save code, then reload the theme editor.

If that doesn’t work, you’ll have to do it from the theme editor (booh) and complain at Shopify support for not delivering this feature.

This might be too late for you but for anybody else, check out an easy tutorial

Plus, these guys have great sections that you can easily add to your store that bring additional features that your theme doesn’t.

Absolutely the worst response I’ve ever seen on Shopify! Why even bother? This person is asking for help and you suggest this lame response. If you’re going to be here, give some honest, in-depth help!

4 Likes

I can’t believe the lame responses you received from a truly legitimate question. You were very clear on what you needed. Some of these individuals simply do not belong here! Did you ever receive a working solution?

3 Likes
  1. Click on the section you want to duplicate on the left.
  2. On the bottom of the page you will see a black control bar.
  3. Click on icon that looks like 2 pages.

Nice new feature. Not sure about availability on all themes.

3 Likes

Very nice addition. It will save a lot of time. The inspector mode must be enabled for this tooltip to show (see screen capture)

MaxDesign_0-1677715312332.png

Ugh, this is something I desperately want - but this doesn’t seem to be working for me. Is it really theme specific?

It seems as though I can duplicate BLOCKS within a section, but I can’t duplicate entire sections, nor duplicate blocks and move them to a different section.

Is that how this is supposed to work?

1 Like

It’s now also possible to duplicate sections and blocks by clicking on the dots in the top right corner.

1 Like

That doesn’t work for duplicating onto another page sadly

This was going well and I understand the code, but I want to copy the section and put it on another page. Can I do that with this sections json? if so, how?

Check out this tutorial on how to duplicate a section to another page template.

indeed it wont let us copy a section to another page/template :‘( :’(

Anyone here from Shopify? Pleeeeeeeeeeeeeaaaase make this possible

Hey,

I’ve actually added this link to see how to duplicate sections (with their content) over to a different template in the theme.