> For the complete documentation index, see [llms.txt](https://meowcart.gitbook.io/lilyth-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://meowcart.gitbook.io/lilyth-theme/sections/compare-products.md).

# Compare Products

The **Compare products** section contains the following default blocks:

* [Information to compare](#information-to-compare-block)
* [Product](#product-block)

The **Compare products** section enable only for product template.

## Section settings

<table><thead><tr><th width="217">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Color schema</td><td>A set of colors that you can apply to this section. <a href="https://help.shopify.com/en/manual/online-store/themes/theme-structure/color-scheme">Learn more.</a></td></tr><tr><td>Separator line</td><td><p>Display a line to visually separate this section from the other sections:</p><ul><li><strong>None</strong></li><li><strong>Top</strong></li><li><strong>Bottom</strong></li><li><strong>Top and bottom</strong></li></ul></td></tr></tbody></table>

## Section header settings

<table><thead><tr><th width="248">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Caption</td><td>Add text to display as a caption.</td></tr><tr><td>Heading</td><td>Add text to display as a heading.</td></tr><tr><td>Heading size</td><td><p>Change the size of the heading:</p><ul><li><strong>Small</strong></li><li><strong>Medium</strong></li><li><strong>Large</strong></li></ul></td></tr><tr><td>Description</td><td>Add text to display as a description.</td></tr><tr><td>Alignment</td><td><p>Determine the section header alignment:</p><ul><li><strong>Left</strong></li><li><strong>Center</strong></li><li><strong>Right</strong></li></ul></td></tr></tbody></table>

## Main section settings

<table><thead><tr><th width="248">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Number of columns</td><td>Determine the number of columns can be shown per row. Can be from 2 to 4, increasing arithmetically of 1.<br>(<em>Number of columns is automatically optimized for mobile</em>)</td></tr></tbody></table>

## Product card settings

<table><thead><tr><th width="293">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Image border thickness</td><td>Set the width of an image's four borders. Can be from 0px to 10px, increasing arithmetically of 1 pixel. </td></tr><tr><td>Image border opacity</td><td>Set the opacity level for an image's four borders. Can be from 0% to 100%, increasing arithmetically of 5%. </td></tr><tr><td>Image corner radius</td><td>Set the radius of the image's corners. Can be from 0px to 40px, increasing arithmetically of 1 pixel. </td></tr></tbody></table>

## Section padding settings

<table><thead><tr><th width="208">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Top padding</td><td>Determine the height of the top inner space of the section. Can be from 0px to 100px, increasing arithmetically of 1px (pixel).</td></tr><tr><td>Bottom padding</td><td>Determine the height of the bottom inner space of the section. Can be from 0px to 100px, increasing arithmetically of 1px (pixel).</td></tr></tbody></table>

## Block settings

### Product block

This block displays product to compare with main product.

<table><thead><tr><th width="208">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Choose a product</td><td>Choose a product to compare. Support product picker or dynamic sources (<em>product reference</em>)</td></tr></tbody></table>

### Information to compare block

This block displays information to compare between products.

<table><thead><tr><th width="208">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Compare with</td><td>Determine the information type to compare between products. Support product picker or dynamic sources (<em>product reference</em>)</td></tr><tr><td>Input metafield namespace</td><td>Namespace are used to determine <a href="https://help.shopify.com/en/manual/custom-data/metafields/metafield-definitions/metafield-definition-parts">metafield</a> when 'Product metafields' option is chosen.</td></tr><tr><td>Input metafield key</td><td>Key are used to determine <a href="https://help.shopify.com/en/manual/custom-data/metafields/metafield-definitions/metafield-definition-parts">metafield</a> when 'Product metafields' option is chosen.</td></tr></tbody></table>
