> For the complete documentation index, see [llms.txt](https://shinedezign.gitbook.io/metro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shinedezign.gitbook.io/metro/overview/product-comparison-grid.md).

# Product comparison grid

### Configure the product comparison grid

Select the customize theme option. Click on the dropdown menu at the top of the page to select the **Home page** template.

From the left side menu, select **Product comparison grid.**

Customize the section by utilizing the settings on the right side of the theme editor, as described below:

<table data-header-hidden><thead><tr><th width="248"></th><th></th></tr></thead><tbody><tr><td> General</td><td><strong>Section visibility</strong><br>Select from the options to select the visibility of this section:<br>-Always<br>-Small (On selecting this, the section will be visible on mobile devices only.)<br>-Large (On selecting this, the section will be visible on large devices only.)<br><br><strong>Color scheme</strong><br>Select any color scheme defined in the theme settings>Colors>Schemes.<br><br><strong>Background</strong><br>Choose the section background from below options:<br>- Solid<br>- Gradient<br><br><strong>Container width</strong><br>Choose the container width from below options:<br>- Small<br>- Standard<br>- Wide<br>- Edge</td></tr><tr><td>Section spacing</td><td><p><strong>Choose from</strong><br>Choose spacing for:<br>- Desktop<br>- Mobile<br><br><strong>Desktop: Top spacing</strong><br>Adjust the range bar to add spacing at the top of the section for desktop view.<br></p><p><strong>Desktop: Bottom spacing</strong><br>Adjust the range bar to add spacing at the bottom of the section for desktop view.<br></p><p><strong>Mobile: Top spacing</strong><br>Adjust the range bar to add spacing at the top of the section for mobile view.<br></p><p><strong>Mobile: Bottom spacing</strong><br>Adjust the range bar to add spacing at the bottom of the section for mobile view.</p></td></tr><tr><td>Section header</td><td><p><em><strong>Heading</strong></em> </p><p><em>Add heading text.</em> <br><em>(<strong>Note</strong>: Enter ++ for a line break and wrap text in [ ] to apply the highlight settings.)</em><br><br><strong>Heading tag</strong><br>Specify heading code types from H1-H6, div, span or p tag for SEO and search engines for crawling purposes.<br><br><strong>Heading size</strong><br>Select the font size from the following options:<br>- Heading XL<br>- Heading L<br>- Heading M<br>- Heading S<br>- Heading XS<br>- Heading XXS<br><br><strong>Description</strong> </p><p>Add description text.  <br><br><strong>Description font size</strong><br>Choose the font size from following options:<br>- Extra Large<br>- Large<br>- Medium<br>- Regular<br>- Small<br>- Extra small<br><br><strong>Alignment</strong><br>Choose the alignment from below options:<br>- Left<br>- Center<br>- Right<br><br>Highlight text<br><strong>Highlight style</strong><br>Choose the style from following options:<br>- None<br>- Underline<br>- Text color<br>- Gradient<br><br><strong>Font</strong><br>Choose the text font family from the following options:</p><p>- Heading <br>- Body <br>- Accent <br>(<em><strong>Note</strong>: These fonts can be changed in theme settings>typography.)</em><br><br><strong>Highlight</strong> <strong>color</strong><br>Choose any solid or gradient color for the heading's highlight text.<em>be changed in theme settings>typography.)</em></p></td></tr><tr><td>Layout</td><td><strong>Products</strong><br>Choose products list from the store, to show their comparison in grid.<br><br><strong>Aspect ratio</strong><br>Choose the images ratio from below options:<br>- Adapt to image<br>- Square<br>- Portrait<br>- Portrait slim<br>- Landscape<br><br><em><strong>Note</strong>: On Adding this section in product template, products are auto-fetched as recommendations based on the viewed product. The Product Limit applies only here to control how many are shown.</em><br><br><strong>Product limit</strong><br>Adjust the range bar to determine the products limit.<br><em>(<strong>Note</strong>: This setting works on product template only.)</em></td></tr></tbody></table>

### Block settings

<table data-header-hidden><thead><tr><th width="245"></th><th></th></tr></thead><tbody><tr><td><br>Product summary</td><td><em>This will always appear at the top of the grid.</em> <br><br><strong>Show product title</strong><br>Select this checkbox to show the product title. <br><br><strong>Show product info button</strong><br>Select this checkbox to show the product info button.<br><br><strong>Button text</strong><br>Enter the button label.<br><em>(Note: Leave the label blank to hide the button.)</em><br><br><strong>Open in new tab</strong><br>Select this checkbox to open the button link in next tab of browser.<br><br><strong>Button style</strong><br>Choose the button style from the following options:<br>- Primary button<br>- Secondary button<br>- Primary outline button <br>- Secondary outline button <br>- Link </td></tr><tr><td>Type/Title</td><td>This block shows the selected product's type and title respectively in the comparison grid.<br><br><strong>Field name</strong><br>Add the name for the field.<br><br><strong>Field icon</strong><br>Choose the icon from available list of icons.</td></tr><tr><td>Description</td><td>This block shows the selected product's description in the comparison grid.<br><br><strong>Field name</strong><br>Add the name for the field.<br><br><strong>Field icon</strong><br>Choose the icon from available list of icons.<br><br><strong>Text line limit</strong><br>Choose the text line limit from the available list:<br>- No limit<br>- 1 line<br>- 2 lines <br>- 3 lines<br>- 4 lines<br>- 5 lines<br><br><strong>Show view more button</strong><br>Select this checkbox to show view more button. This button displays when text is limited to a specific number of lines.</td></tr><tr><td>Price</td><td>This block shows the product price. <br><br><strong>Field name</strong><br>Add the name for the field.<br><br><strong>Field icon</strong><br>Choose the icon from available list of icons.</td></tr><tr><td>Vendor</td><td>This block shows the product's vendor.<br><br><strong>Field name</strong><br>Add the name for the field.<br><br><strong>Field icon</strong><br>Choose the icon from available list of icons.</td></tr><tr><td>Weight</td><td>This block shows the product's weight.<br><br><strong>Field name</strong><br>Add the name for the field.<br><br><strong>Field icon</strong><br>Choose the icon from available list of icons.</td></tr><tr><td>Single Variant</td><td>This block shows the product's any variant.<br><br><strong>Option name</strong><br>Enter the product's variant option name.<br>For e.g: Size, Color etc.<br><br><strong>Field name</strong><br>Add the name for the field.<br><br><strong>Field icon</strong><br>Choose the icon from available list of icons.</td></tr><tr><td>Product variants</td><td>This block showcases the variants list. <br><br><strong>Field name</strong><br>Add the name for the field.<br><br><strong>Field icon</strong><br>Choose the icon from available list of icons.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://shinedezign.gitbook.io/metro/overview/product-comparison-grid.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
