# How to use the Item card editor With the item card editor, you decide exactly how each item looks in your search results. Choose what the card shows, place it where you want, add badges or your own text, and show a block only for the items it fits. Here’s how to design your own card.   ### Before You Start The item card editor works with your own product data, so your feed or shop needs to be connected first. Until then, the editor says **The item card can be arranged once a product catalog is connected.**   ### Step 1. Open the Item Card Editor Log in to **app.easyfinder.ai**, open your website and click **Item card editor**. The editor has three columns: - **Left:** the blocks **On the card**, and under **Add a block** the ones you can still add. - **Middle:** your card at its real size, shown for one of your own items. - **Right:** the settings of the block you selected. Above the card, under **Preview with**, you can pick the item the card is shown for. Search by title with **Choose a product**, or click through your items with the arrows. Check your card with a few different items: one on sale, one without a photo, one out of stock.   ### Step 2. Choose the Language Each language has its own card, because your product data can differ per language. A colour field can be called `kleur` in your Dutch feed and `farbe` in your German one. If your website has more than one language, pick the card you want to edit at the top of the left column. To start from a card you already made, click **Copy from another language**. Your website has only one language? Then there’s nothing to choose, and you can go straight to the next step.   ### Step 3. Add Blocks A card is built from blocks. Under **Add a block**, drag a block onto the card, or click it to add it at the bottom. **Blocks Overview** Block What it shows **Image** The product photo, the full width of the card. **Title** The product name. **Price** What the shopper pays, with the old price next to it when the item has a discount. **Add-to-cart button** Puts the product in the cart in one click. *See “The Add-to-Cart Button” below for when it shows.* **Text or custom HTML** A badge, a USP or any product data, such as the brand or the colour. *You can add up to ten text blocks to one card.*   To remove a block, select it and click the remove button next to it, or use the remove button in the list on the left. If the block has content or conditions, the editor asks you first.   ### Step 4. Arrange the Lines Blocks stand on lines. Drag a block by its grip to move it: - Drop it **next to another block** to put the two on one line. - Drop it **between two lines** to give it a line of its own. - Let go of it **outside the card** and it goes back where it was. Select a block to set up its line in the right column, under **Layout**: - **Width:** **Fit content** makes the block as wide as its content, **Full width** lets it take the rest of the line. - **Align the line:** **Left**, **Centre** or **Right**. With two or more blocks on a line, **Spread** places them at both ends, the way a price and an add-to-cart button usually stand. - **Align vertically:** **Top**, **Middle** or **Bottom**, for blocks of different heights on one line. - **Spacing around the line:** the space above, to the right, below and to the left of the line, in pixels. *A card holds up to twelve lines, with up to four blocks on each line.*   ### Step 5. Set Up Each Block Click a block on the card, or in the list on the left, to change what it shows. The settings depend on the block: **Block Settings Overview** Block Setting Explanation and example **Image** **Second image on hover** Shows the next photo of the item when a shopper points at it. **Image** **Frame** The shape of the photo frame, the same for every item. Fill in the **Most common image size** of your photos and EasyFinder picks the closest **Ratio**, or type the ratio yourself. Example: `800` × `1000` pixels gives a ratio of `4 : 5` *If you fill in neither, the frame is 5 : 4.* **Image** **Fill the frame** **Fit: the whole photo** always shows the complete photo. **Cover: cropped to fill** fills the frame and crops what sticks out. **Image** **Background** A colour behind the photo, useful for product photos with a white or transparent background. **Title**, **Price** **Text colour** The colour of the text. Left empty, it follows your shop. **Price** **Sale price** On a discount, shows the regular price struck through next to the sale price. **Add-to-cart button** **Button text** Text on the button instead of the cart icon, up to 40 characters. Example: `Add to cart` **Add-to-cart button** **Colours** The **Background** of the button and the colour of its **Text and icon**. *Left empty, the button takes the secondary colour of your general settings, and its text and icon the light accent colour.* **Text or custom HTML** **Content** Your own text, badge or product data. See the next step.     ### Step 6. Add Text, Badges and Product Data A **Text or custom HTML** block opens a text editor in the right column. Type your text and style it with the font size and text colour buttons. Two menus in the editor save you work: - **Templates:** ready-made badges. Each one comes with the condition it needs, so it only shows on the right items. - **Insert data:** prints a field of the item, such as the brand, the colour or the discount. Every item shows its own value. **Templates Overview** Template Shows Only on items where **Sale badge** A green “SALE” label On sale is yes **Discount badge** A green label with the discount, such as “-25%” On sale is yes **New badge** A green “NEW” label The item was added within the last 7 days **Out of stock badge** A red “OUT OF STOCK” label The stock is out of stock   The badge text follows the language of the card. You can change the text, the colour and the condition afterwards, like any other block. If you know HTML, you can also write your own. Styles are kept, so you can build your own badges and layouts. Scripts, forms and frames are removed when you save. A text block that is empty for an item, for example a brand field the item doesn’t have, is left off that item’s card. No empty space is left behind.   ### Step 7. Optional: Show a Block Only for Some Items Every block can show for all items or only for some. Select the block and, under **Visibility**, choose **Always** or **Only if…**. With **Only if…**, add a condition: a **Field**, a **Comparison** and a **Value**. For text, type a value and press **Enter**; you can add more than one. Click **Add condition** for another, and choose whether **all** of them or **at least one** must be true. **Comparisons Overview** Field Comparisons Explanation and example Text, such as **Title**, **Brand** or **SKU** is, is not, is one of, is none of, contains, does not contain, has a value, is empty Compares text, ignoring capitals. Example: **Brand** **is one of** `Adidas` **Category** and attributes from your feed is one of, is none of, contains, does not contain, has a value, is empty An item matches when one of its values does. Example: **Category** **is one of** `Bikes` *A category matches at every level: “Bikes” also finds items in “Bikes > Kids bikes”.* **Price**, **Regular price**, **Discount (%)** and number attributes is, is not, is at least, is at most, is more than, is less than, is between, has a value, is empty Compares a number. Example: **Price** **is at least** `50` **Added on**, **Updated on** and dates from your feed is within the last, is longer ago than, is within the next, is before, is after, has a value, is empty Counts in hours or days from now, or compares with a date. Example: **Added on** **is within the last** `14` days **Stock** is, is not, is at least, is less than A stock status (**In stock**, **Out of stock**, **On backorder** or **Pre-order**) with is and is not, or a quantity with is at least and is less than. Example: **Stock** **is** **Pre-order** *A quantity only works when your feed sends stock quantities. An item that is only marked “in stock” counts as at least 1.* **On sale** is Whether the item has a real discount: **yes** or **no**. Example: **On sale** **is** **yes**   The preview shows you the result straight away. A block that is hidden for the item in the preview stays on the card with stripes over it, so you can still select it. Switch to another item under **Preview with** to see it appear. A field from your feed that EasyFinder doesn’t use yet is marked **Resync required**. You can still pick it: saving adds the field, and the block starts using it after the next sync. Until then it’s marked **Waiting for sync**.   ### Step 8. Optional: Change the Card Style Click **Card style** under the card to change how the card itself looks, for every item: - **Background:** a colour behind the whole card. Left empty, the card is transparent. - **Border:** its width and colour. Set the width to `0` for no border. - **Shadow:** its position, blur, spread, colour and opacity. - **Corners:** by default, the card uses the corner radius of your general settings. Switch on **Own corners** to give the card a radius of its own. The photo and the button follow the card’s corners. To go back to the standard look, click **Restore the default style**. Under **Custom CSS**, you can switch on **Use custom CSS** and add your own styles for the card on your shop. The editor doesn’t show them in its preview, so check the result on your shop. Use custom CSS only when you need it. CSS written for today’s card can stop working after an update, and we can’t support results from your own CSS.   ### Step 9. Save Your Card Click **Save item card**. One save stores the cards of all your languages. While you have changes that aren’t saved yet, the editor says **Unsaved changes**, and asks before you leave the page. Your shop shows the new card on the next page load. If you used a field that still had to be added, the block shows its data once the next sync has run. Want to start over? Click **Restore the default card** to go back to the standard card of this language: the photo, the title and the price. Nothing changes on your shop until you save.   ### The Add-to-Cart Button When the add-to-cart button shows depends on where your catalog comes from: - **The EasyFinder Shopify app or WooCommerce plugin:** the button only shows for items that can go straight into the cart, so never on an item that’s sold out. - **Your own feed:** the button shows for every item. A click sends the event `easyfinder:addToCart`, which your own site needs to handle. Your own conditions under **Visibility** come on top of that. Using your own feed and want the button to add items to your cart? Your developer needs to pick up the `easyfinder:addToCart` event. [Contact us](mailto:support@easyfinder.ai) and we’ll help you set it up.   ### Common Use Cases Here are a few practical examples to get you started: Goal How Show a sale badge Add a **Text or custom HTML** block above the title and pick **Sale badge** under **Templates** Show the discount percentage A text block with the **Discount badge** template Show the brand above the title A text block on a line above the title, with the brand from **Insert data** Put the price and the button on one line Drop the **Add-to-cart button** next to the price and set **Align the line** to **Spread** Mention free shipping on larger orders A text block with `Free shipping`, shown **Only if…** Price **is at least** `50` Point out items you can pre-order A text block with `Pre-order now`, shown **Only if…** Stock **is** **Pre-order**   Once your card is saved, every item in your search results shows it automatically. --- Canonical HTML version: https://easyfinder.ai/docs/item-card-editor/ All documentation: https://easyfinder.ai/docs/