Duplicate block

maja96
New Member
4 0 0

Hello,

 

I want to add (duplicate) one more Sidebar categories block (with a different menu) below this one and before the Sidebar bottom (Bestsellers) block.

How can I do this?

2305B9AE-7D3F-4316-9F9D-DD3EBEC0701D.png

0 Likes
gina-gregory
Shopify Expert
710 48 175

It looks like a theme section. Find the existing one in your theme code, in the Sections folder, copy the code inside, and make a new section with the code you copied. Then update your collection template to include it right under the existing one.

0 Likes
maja96
New Member
4 0 0

How can I update my collection template to include it right under the existing one?

0 Likes
gina-gregory
Shopify Expert
710 48 175

Find where the original one is in the code and make a new line like this after it:

{% section 'your-new-section-filename' %}

 

0 Likes
maja96
New Member
4 0 0

Here?

Sidebartop is original, sidebar categories is copy.

DB2DF954-99A9-4780-BCB8-A7D031A72FA2.png

0 Likes
gina-gregory
Shopify Expert
710 48 175

No, you need to look in the collection template for a line that looks like this: 

{% section 'sidebartop' %}

and add your new section after it:

{% section 'sidebartop' %}
{% section 'sidebarcattegories' %}

 

0 Likes
maja96
New Member
4 0 0

Dear @gina-gregory THANK YOU THANK YOU THANK YOU You’re the BEST!

0 Likes
gina-gregory
Shopify Expert
710 48 175

You're welcome. Please consider marking this as solved.

0 Likes