---
title: "GUIDE: How to add a price prefix to grid items"
description: "Learn how to add 'From' or 'Starting from' to your product grid item prices"
url: https://help.biscuitsbundles.com/en/articles/9830691-guide-how-to-add-a-price-prefix-to-grid-items
collection: "Customisation Guides"
updated: 2026-07-08
language: en
---

# GUIDE: How to add a price prefix to grid items

Learn how to add 'From' or 'Starting from' to your product grid item prices

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_5786.png)

## Customisation Guide

In this guide we will update our store to have the ability to output a prefix on any product we set a prefix metafield on.

**In this guide:**

-   We will create a product metafield for the prefix value.
    
-   We will duplicate our stores theme.
    
-   We will edit our stores theme code to output the price prefix on product grid items.
    

* * *

## Before we begin

This guide involves editing theme code. If that is not your cup of tea feel free to reach out to the Biscuits Bundle team to help you out!

* * *

## 1\. Create product metafield

First we need to create a product metafield. This will hold what we want the prefix value to say for any product.

1.  Open **Settings** in you Shopify store admin
    
2.  Visit click **Custom data** in the left sidebar
    
3.  Click **Products**
    

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_8053.png)

4\. On the product metafield page click **Add definition**

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_8840.png)

5\. Create a product metafield with the following details:

-   Name: Price Prefix
    
-   Namespace and key: custom.price\_prefix
    
-   Type: text
    
-   One value
    

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_4333.png)

6\. Hit **save**

7\. Find a product you would like to prefix the price of in Shopify admin under **products**

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_0645.png)

8\. Scroll to the bottom of the product page to where metafields are set. Add your "From" text and **save**.

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_6356.png)

* * *

## 2\. Create a development theme

First we will create a development theme so any changes we make **DON'T** appear on your live store until we have tested and are happy with them.

Open Online Store > Themes in Shopify admin and click the three dot menu next to customise on your published theme, then choose "**duplicate**".

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_6747.jpg)

Click the three dot menu on this copied theme and rename it i.e "Dawn | Biscuits Customisation"

* * *

## 3\. Edit our stores code

Now we need to find the correct snippet file to edit in your theme.

Because every theme can be different, the file you edit for this step may vary a lot.

We are using Dawn theme for the example today but we will provide example files for other common themes below.

1\. Click the three dots **...** on your new development theme and click **Edit code**

2\. Use the filter bar in the top left to search "**product**" and look inside the snippets folder

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_6921.png)

In Dawn the snippet we are looking for is `card-product.liquid`

You will know if you have the correct file by checking the top of the snippet for variables and a description explaining this file outputs the product card.

Once you have the correct file we need to search for where the product price is output.

3\. Search for **price** within the file using **cmd+f** (ctl+f windows)

In Dawn we find `{% render 'price'` , this is a snippet outputting price, so we need to open this file.

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005954_4465.png)

4\. Use the filter bar again and search **price** or whatever name snippet your theme is using to output price.

If your theme isn't using a snippet you can skip this step and continue editing in the grid item file.

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005954_0325.png)

5\. Search the file for `price-item--regular`. We are going to output our code block before the regular price.

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_1941.png)

This is line 82 in Dawn if your theme has no other customisations

6\. Copy and paste the following code above the `price-item--regular`

```javascript
{% if product.metafields.custom.price_prefix.value != blank %}
  <span class="custom-price-prefix">{{ product.metafields.custom.price_prefix.value }}</span>
{% endif %}
```

7\. Search the file for `price-item--sale`.

8\. Copy and paste the same code above the `price-item--sale`

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_3316.png)

This is line 104 in Dawn

Now we will be outputting the "From" text on both sale and non sale items.

9\. Hit **save**

10\. In the top right corner hit "preview store" to view your theme in browser.

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005954_8237.png)

## Common themes product grid item snippet names

_As of June 2024_

<table data-id="339013e1-4f15-435a-be89-941dfdbb8273" style="min-width: 75px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><td colspan="1" rowspan="1" style="width: 124px;"><p data-id="e4f79b0c-a0ae-4e5c-b0ed-2798f5711e5e"><strong>Theme name</strong></p></td><td colspan="1" rowspan="1" style="width: 194px;"><p data-id="d2b7a538-1206-459c-aa78-678875fcae86"><strong>Snippet file name</strong></p></td><td colspan="1" rowspan="1" style="width: 288px;"><p data-id="8849671f-9445-4b20-9585-c66fabd61300"><strong>What to search for in the file<br>and the product variable</strong></p></td></tr><tr><td colspan="1" rowspan="1" style="width: 124px;"><p data-id="fc757611-3c71-4774-85f0-6c5cfdf461bc">Dawn</p></td><td colspan="1" rowspan="1" style="width: 194px;"><p data-id="3744db21-652f-43c1-a5e0-40bce497206e">card-product.liquid</p></td><td colspan="1" rowspan="1" style="width: 288px;"><div class="hc-code" data-lang="javascript"><div class="hc-code-head"><span class="hc-code-title">JavaScript</span><button type="button" class="hc-code-copy" data-hc-code-copy="" aria-label="Copy code"></button></div><pre class="hc-code-pre"><code class="language-javascript"><span class="hc-line">{% <span class="hljs-keyword">if</span> quick_add == <span class="hljs-string">'standard'</span> %}</span></code></pre></div><div class="hc-code" data-lang="javascript"><div class="hc-code-head"><span class="hc-code-title">JavaScript</span><button type="button" class="hc-code-copy" data-hc-code-copy="" aria-label="Copy code"></button></div><pre class="hc-code-pre"><code class="language-javascript"><span class="hc-line">card_product.<span class="hljs-property">tags</span></span></code></pre></div></td></tr><tr><td colspan="1" rowspan="1" style="width: 124px;"><p data-id="72fd4bc5-5c25-499a-827e-7d72952e3de8">Prestige</p></td><td colspan="1" rowspan="1" style="width: 194px;"><p data-id="593992f8-610b-4486-b1dd-af225836704a">product-card.liquid</p></td><td colspan="1" rowspan="1" style="width: 288px;"><div class="hc-code" data-lang="javascript"><div class="hc-code-head"><span class="hc-code-title">JavaScript</span><button type="button" class="hc-code-copy" data-hc-code-copy="" aria-label="Copy code"></button></div><pre class="hc-code-pre"><code class="language-javascript"><span class="hc-line">{%- <span class="hljs-keyword">if</span> show_quick_buy and product.<span class="hljs-property">available</span> -%}</span></code></pre></div><div class="hc-code" data-lang="javascript"><div class="hc-code-head"><span class="hc-code-title">JavaScript</span><button type="button" class="hc-code-copy" data-hc-code-copy="" aria-label="Copy code"></button></div><pre class="hc-code-pre"><code class="language-javascript"><span class="hc-line">product.<span class="hljs-property">tags</span></span></code></pre></div></td></tr><tr><td colspan="1" rowspan="1" style="width: 124px;"><p data-id="88663880-b83e-43ec-abe6-afde1aa9b591">Be Yours</p></td><td colspan="1" rowspan="1" style="width: 194px;"><p data-id="e5eca348-6019-4769-b1ff-7f6f07855b38">card-product.liquid</p></td><td colspan="1" rowspan="1" style="width: 288px;"><div class="hc-code" data-lang="javascript"><div class="hc-code-head"><span class="hc-code-title">JavaScript</span><button type="button" class="hc-code-copy" data-hc-code-copy="" aria-label="Copy code"></button></div><pre class="hc-code-pre"><code class="language-javascript"><span class="hc-line">{%- <span class="hljs-keyword">if</span> show_quick_buy -%}</span></code></pre></div><div class="hc-code" data-lang="javascript"><div class="hc-code-head"><span class="hc-code-title">JavaScript</span><button type="button" class="hc-code-copy" data-hc-code-copy="" aria-label="Copy code"></button></div><pre class="hc-code-pre"><code class="language-javascript"><span class="hc-line">card_product.<span class="hljs-property">tags</span></span></code></pre></div></td></tr><tr><td colspan="1" rowspan="1" style="width: 124px;"><p data-id="f3a495f6-0cdf-48e5-8325-da28f722aae8">Expanse</p></td><td colspan="1" rowspan="1" style="width: 194px;"><p data-id="3bfd46e1-a110-4c0f-a74f-1be422913432">product-grid-item.liquid</p></td><td colspan="1" rowspan="1" style="width: 288px;"><div class="hc-code" data-lang="javascript"><div class="hc-code-head"><span class="hc-code-title">JavaScript</span><button type="button" class="hc-code-copy" data-hc-code-copy="" aria-label="Copy code"></button></div><pre class="hc-code-pre"><code class="language-javascript"><span class="hc-line">{%- <span class="hljs-keyword">if</span> settings.<span class="hljs-property">quick_add_enable</span> or settings.<span class="hljs-property">quick_shop_enable</span> -%}</span></code></pre></div><div class="hc-code" data-lang="javascript"><div class="hc-code-head"><span class="hc-code-title">JavaScript</span><button type="button" class="hc-code-copy" data-hc-code-copy="" aria-label="Copy code"></button></div><pre class="hc-code-pre"><code class="language-javascript"><span class="hc-line">product.<span class="hljs-property">tags</span></span></code></pre></div></td></tr><tr><td colspan="1" rowspan="1" style="width: 124px;"><p data-id="a10b6daf-a4a1-4e27-8b67-7226a33155d3">Pipeline</p></td><td colspan="1" rowspan="1" style="width: 194px;"><p data-id="87c7b42c-93ec-45ee-802c-cabdc953e37f">product-grid-item-variant.liquid</p></td><td colspan="1" rowspan="1" style="width: 288px;"><div class="hc-code" data-lang="javascript"><div class="hc-code-head"><span class="hc-code-title">JavaScript</span><button type="button" class="hc-code-copy" data-hc-code-copy="" aria-label="Copy code"></button></div><pre class="hc-code-pre"><code class="language-javascript"><span class="hc-line">{%- <span class="hljs-keyword">if</span> instant_add_button %}</span></code></pre></div><div class="hc-code" data-lang="javascript"><div class="hc-code-head"><span class="hc-code-title">JavaScript</span><button type="button" class="hc-code-copy" data-hc-code-copy="" aria-label="Copy code"></button></div><pre class="hc-code-pre"><code class="language-javascript"><span class="hc-line">product.<span class="hljs-property">tags</span></span></code></pre></div></td></tr><tr><td colspan="1" rowspan="1" style="width: 124px;"><p data-id="8caf46b9-5eff-4e13-8307-251769737724">Impulse</p></td><td colspan="1" rowspan="1" style="width: 194px;"><p data-id="ab884d30-0db7-4a43-b277-d49a8094518a">product-grid-item.liquid</p></td><td colspan="1" rowspan="1" style="width: 288px;"><div class="hc-code" data-lang="javascript"><div class="hc-code-head"><span class="hc-code-title">JavaScript</span><button type="button" class="hc-code-copy" data-hc-code-copy="" aria-label="Copy code"></button></div><pre class="hc-code-pre"><code class="language-javascript"><span class="hc-line">{%- <span class="hljs-keyword">if</span> quick_shop_enable -%}</span></code></pre></div><div class="hc-code" data-lang="javascript"><div class="hc-code-head"><span class="hc-code-title">JavaScript</span><button type="button" class="hc-code-copy" data-hc-code-copy="" aria-label="Copy code"></button></div><pre class="hc-code-pre"><code class="language-javascript"><span class="hc-line">product.<span class="hljs-property">tags</span></span></code></pre></div></td></tr></tbody></table>

Congrats if the prefix is outputting. Don't worry if it's not, you may have tried the wrong file. Retrace your steps and try outputting the code in another spot.

## 4\. Publish development theme

Once you have tested your code changes on your development theme thoroughly, you can publish this theme to be live!

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005954_9864.png)

This will make your changes published and visible to your customers.

* * *

## Conclusion

Thats it! If you made it to the end successfully well done! If not, don't be afraid to reach out to the Biscuits Bundle team for help.

**Stuck or got questions?**

Use the chat widget below, or reach out to us at [hello@sundaelane.com](mailto:hello@sundaelane.com)

Happy coding, and thanks for teaming up with Biscuits Bundles!

  
​
