# Product card

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FhVgOBY7WHW1ZxLCPbwan%2FHelp%20Center%20(1).jpg?alt=media&#x26;token=da0189bb-6cbb-4d1e-9a52-083eb5cab5bd" alt=""><figcaption><p><a href="https://chromewebstore.google.com/detail/foxtransfer-html-to-shopi/babcinhpofjfhjjbcnjhoikcjbgebimb?utm_source=foxecom&#x26;utm_medium=helpcenter&#x26;utm_campaign=foxtransfer_launch">Install FoxTransfer Chrome Extension FREE here</a></p></figcaption></figure>

{% hint style="success" %}
Steps

1. In the theme editor (**Customize**), click **Theme settings.**
2. Locate **Product cards.**
3. Make necessary changes.
4. **Save.**
   {% endhint %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FJataQxUUif8l2BV5WroP%2Fimage.png?alt=media&#x26;token=d31c34a9-7cbe-45fe-a1d1-ec883ca19204" alt=""><figcaption></figcaption></figure>

You can control the product image ratio, content, buttons, and badge to show on the product cards.

## Image settings

Choose the image ratio of the product cards:

* Adapt to image
* Square (1:1)
* Portrait (3:4)
* Landscape (4:3)

![](https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FYxSYVA5wCgz9YLPbhvDg%2Fimage.png?alt=media\&token=e423f538-ed3d-4c9d-bbb6-a8749224c88b)

## Content

**Content alignment** can be set as Left/ Center/ Right.

Decide what to show on your product cards, including:

* **Show video as featured image** (when the video is set first in the Shopify Products > Media list);
* **Show second image on hover**;
* **Show color swatches** (See [color-swatches](https://docs.foxecom.com/zest-theme/theme-settings/color-swatches "mention"));
* **Show vendor**;
* **Show product rating**.

![](https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FIK398W6GflrQafAST4bH%2Fimage.png?alt=media\&token=b767e3a9-ec94-45e5-aec3-261ea759b9ef)

## &#x20;Button and Badges&#x20;

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FAGSnMHD8glUpfZqPoAwu%2Fimage.png?alt=media&#x26;token=47750544-7daa-4fa6-89ab-f2bcb43ca02a" alt=""><figcaption></figcaption></figure>

In the **Button Settings**, you can enable or disable to show:

* **Quick add button**: to let customers add items to their cart without actually completing the payment (for products that don't have any variants).&#x20;

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FmkzkBsWms1IumVtntGRK%2Fezgif.com-video-to-gif%20(11).gif?alt=media&#x26;token=f9435ab5-73e8-43b4-9590-d34fe911c46e" alt=""><figcaption></figcaption></figure>

For products that have variants, the button will become a "**Choose options"** button.

* **Quick view button**: to let customers preview the detailed product information without actually going to the product page.

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FYjD0MoMcvDb9OpMZSHGC%2Fimage.png?alt=media&#x26;token=b917140a-76ed-462f-9df3-30172ce49688" alt=""><figcaption></figcaption></figure>

* **"Choose options" action**: to set the action for the **Quick add button** on products with variants either as **opening a simplified popup modal** or **going to the product page**.

{% hint style="info" %}
The popup opened when selecting the "**Choose options**" button includes the basic information of the product, namely:

* product title;
* product price;
* variants;
* quantity selector;
* buy buttons.
  {% endhint %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2F4KQVN2nw9CXJMNamGme1%2Fimage.png?alt=media&#x26;token=4df4624b-b799-42c1-b39a-003b0843a9fd" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The **"Choose options" action** setting is available on **Zest version 5.0.0 and above**.&#x20;
{% endhint %}

In the **Badges Settings**, you can choose to display or hide:

* Sold out badge:

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FHfuGp7flLJMbyMzCzXqu%2Fimage.png?alt=media&#x26;token=970233c9-6fc2-43ee-b0ac-dda9b40745bd" alt="An example of sold out badge on product cards"><figcaption></figcaption></figure>

* Sale badge:

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2Fkl0IPNFQ8vbAEkzBwd3s%2Fimage.png?alt=media&#x26;token=1275a409-230c-4bf9-a19d-c7b6c1ef3afd" alt="An example of sale badge on product cards"><figcaption></figcaption></figure>

Choose your **sale badge type** as text, percentage, or a fixed amount.

## Mobile layout

You can set to hide the Quick add button and the Quick view button on mobile view.

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2Fi1cP47l4VcxddB6DYNCJ%2Fimage.png?alt=media&#x26;token=e33fa58b-22a3-45a5-927d-fda54f9ddfff" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.foxecom.com/zest-theme/theme-settings/product-card.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
