Skip to main content

Add to collection

Create new collection template

  • Go to Online Store > Themes, click Action > Edit code (near your current theme)
  • In Template folder click Add a new template

Let call it gallery (you can name anything you like). After click Create template, it will add template for collection code for you. Something like this:

just look for {% section 'collection-template' %}, it's collection content (products list). Insert liquid code from XO Gallery after (or before) this line.

Choose template for collection

Go to Products > Collection, add new (or edit) collection and in Template block choose collection.gallery: