> ## Documentation Index
> Fetch the complete documentation index at: https://algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Collection customization

> Customize individual collection pages in Shopify with the Algolia AI Search & Discovery app

export const Records = () => <Tooltip tip="A record is a searchable object in an Algolia index. Each record consists of named attributes." cta="Algolia records" href="/doc/guides/sending-and-managing-data/prepare-your-data#algolia-records">
    records
  </Tooltip>;

export const Index = () => <Tooltip tip="An Algolia index is a searchable dataset that consists of records and configuration settings. These settings define how the records are searched and ranked.">
    index
  </Tooltip>;

export const Facet = () => <Tooltip tip="An attribute in your records that lets users filter or group results (for example, by color, brand, or price)." cta="Faceting" href="/doc/guides/managing-results/refine-results/faceting">
    facet
  </Tooltip>;

Algolia AI Search & Discovery lets you customize the sort order and facets of individual collection pages.
If you're using the [Collection Search Page](/doc/integration/shopify/advanced-customization/collection-search-page)
feature of Algolia AI Search & Discovery, you can customize collections.

## Enable customization for a collection

Go to **Collection Pages** and scroll down to the list of collections.

<img src="https://mintcdn.com/algolia/IBpvqiDfc9oOPDK9/doc/integration/shopify/advanced-customization/7-collection-pages-list.jpeg?fit=max&auto=format&n=IBpvqiDfc9oOPDK9&q=85&s=6b2dae9a139e8ac9e93b335ab42b6f46" alt="Screenshot of a list of collections showing 'Fixed Gear Cycles' with a 'Merchandised' label, and 'Edit' and 'Customise' buttons." width="1940" height="724" data-path="doc/integration/shopify/advanced-customization/7-collection-pages-list.jpeg" />

Select a collection, click **Customise** and click **Enable**.

<img src="https://mintcdn.com/algolia/IBpvqiDfc9oOPDK9/doc/integration/shopify/advanced-customization/8-collection-customisation-enable.jpeg?fit=max&auto=format&n=IBpvqiDfc9oOPDK9&q=85&s=2b9e48030e2a10d236929974e2d5f15f" alt="Screenshot of the 'Fixed Gear Cycles' collection customization page showing a description and an 'Enable' button." width="1950" height="654" data-path="doc/integration/shopify/advanced-customization/8-collection-customisation-enable.jpeg" />

## Configure sort orders and facets

Once the customization is enabled,
each active sort order and <Facet /> from the **Collection Pages** feature is copied over for the selected collection.
You can then customize them for the collection.

### Sort orders

You can choose which sort orders you want to activate for this particular collection,
how you want to call them, and which ones you want to display first.

<img src="https://mintcdn.com/algolia/lcM1kQMHTdqMvYi4/doc/integration/shopify/advanced-customization/9-collection-customisation-sort-orders.jpeg?fit=max&auto=format&n=lcM1kQMHTdqMvYi4&q=85&s=5f25cbdd6b27e11854d7a1b42639f4a1" alt="Collection customization sort orders settings in the Shopify admin" width="968" height="427" data-path="doc/integration/shopify/advanced-customization/9-collection-customisation-sort-orders.jpeg" />

Each sort order uses a [replica](/doc/guides/managing-results/refine-results/sorting/in-depth/replicas) <Index />.
Standard replicas duplicate the <Records /> from your main index.
Virtual replicas don't.
**Check that the increased record count stays within your [plan’s quota](https://www.algolia.com/pricing/)**.
If you activated the same sort order in **Search options** and **Collection Pages**,
no new index is created.
The app uses the existing replica instead of creating a new index.

<Warning>
  Collections share replicas with **Search options**.
  If the same sort order is active in **Search options** and **Collection Pages**,
  changing its type in one place also changes it in the other.
  This can change sorting on other collection or search pages.
</Warning>

For more information, see [Sorting](/doc/guides/managing-results/refine-results/sorting).

### Facets

You can choose which facets to activate for this particular collection,
how you want to call them, and which ones you want to display first.

<img src="https://mintcdn.com/algolia/IBpvqiDfc9oOPDK9/doc/integration/shopify/advanced-customization/10-collection-customisation-facets.jpeg?fit=max&auto=format&n=IBpvqiDfc9oOPDK9&q=85&s=27480198b3e8e114a6593dfc007635fa" alt="The Collection customization facets settings in the Shopify admin" width="1926" height="936" data-path="doc/integration/shopify/advanced-customization/10-collection-customisation-facets.jpeg" />

Facets are primarily used to refine searches.
For more information, see [Faceting](/doc/guides/managing-results/refine-results/faceting).

### Merchandising

<Info>Only on [Build or Premium plans](https://www.algolia.com/pricing).</Info>

You can either create a new merchandising rule for the collection, or edit a previously created rule.

<img src="https://mintcdn.com/algolia/IBpvqiDfc9oOPDK9/doc/integration/shopify/advanced-customization/11-collection-customisation-merchandising.jpeg?fit=max&auto=format&n=IBpvqiDfc9oOPDK9&q=85&s=e5eef155204150511bb445f9d209926c" alt="The Collection customisation merchandising settings in the Shopify admin" width="1928" height="410" data-path="doc/integration/shopify/advanced-customization/11-collection-customisation-merchandising.jpeg" />

To learn more, see [Visual merchandising tool](/doc/integration/shopify/going-further/merchandising-tool).

## Turn off collection customization

<img src="https://mintcdn.com/algolia/IBpvqiDfc9oOPDK9/doc/integration/shopify/advanced-customization/12-collection-customisation-disable.jpeg?fit=max&auto=format&n=IBpvqiDfc9oOPDK9&q=85&s=17f3592bf5285abb577b8a87bd9124cf" alt="Shopify admin showing the option for turning off collection customization" width="1934" height="408" data-path="doc/integration/shopify/advanced-customization/12-collection-customisation-disable.jpeg" />

To turn off customization for a specific collection,
go to the bottom of the page and click **Disable**.
The collection reverts to using the sort orders and facets defined in **Collection pages**.
