# Product

**URL:** <https://community.shopify.com/t/product/666265>\
**Category:** Ask & Offer\
**Created:** [August 13, 2026, 8:43pm UTC](https://community.shopify.com/t/product/666265 "2026-08-13T20:43:23Z")\
**Posts on this page:** 12\
**Page:** 1

## AI-generated summary

A Shopify merchant wants to recreate a fabric product-page layout showing attributes such as designer, manufacturer, fabric type, width, fiber content, themes, and product type, using metafields. Several replies agree this can be done with Shopify product metafields, then displayed on the product template through Liquid, theme dynamic sources, or apps.

A detailed implementation was provided: create product metafields under a shared namespace, fill them per product, add a Custom Liquid block to render a specification table, and use Shopify’s free Search & Discovery app to make values clickable as storefront filters. The key clarification is that these clickable links are filtered product-list URLs, not separate collections; creating a collection with the designer name will not make the links work.

The merchant also asked about selling fabric by fractional yard quantities. The suggested workaround is to treat 1 Shopify unit as 1/4 yard, adjust pricing/inventory accordingly, and add custom selectors for whole yards and fractions.

The discussion remains partly open: metafield display is well covered, but the merchant may still need to confirm filters and fractional quantity behavior through testing.

<div class="post-metadata">

**Author:** ![idahospudnut](https://avatars.discourse-cdn.com/v4/letter/i/ba9def/32.png) [@idahospudnut](https://community.shopify.com/u/idahospudnut)\
**Post date:** [August 13, 2026, 8:43pm UTC](https://community.shopify.com/t/product/666265/1 "2026-08-13T20:43:23Z")

</div>

Hello, I would like to do this with my product page using Metafields. Can anyone help me.

 ![Screenshot 2026-08-13 143729](https://canada1.discourse-cdn.com/shopifyforum/original/4X/7/a/4/7a4b0c992ee11d3171bdd6404fbc6d78c3298bac.png)

---

<div class="post-metadata">

**Author:** ![Ricardo.Roas](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@Ricardo.Roas](https://community.shopify.com/u/Ricardo.Roas)\
**Post date:** [August 14, 2026, 12:59am UTC](https://community.shopify.com/t/product/666265/2 "2026-08-14T00:59:29Z")

</div>

Hello @idahospudnut

I can help you. , absolutely. This can be implemented cleanly using Shopify Metafields.

I can set up the product metafields for attributes like SKU, Collections, Designers, Manufacturers, Fabric Type, Themes, Fabric Width, Fiber Content, and Product Type, then expose them dynamically on the product page using Liquid.

I’d also make the section reusable so you can manage the values directly from the Shopify admin without hardcoding anything in the theme. If needed, I can also match the layout and styling closely to the example you shared.

Thank you.

---

<div class="post-metadata">

**Author:** ![devcoders](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/devcoders/32/403479_2.png) [@devcoders](https://community.shopify.com/u/devcoders)\
**Post date:** [August 14, 2026, 1:11am UTC](https://community.shopify.com/t/product/666265/3 "2026-08-14T01:11:27Z")

</div>

Hi @idahospudnut

We can create separate metafields for things like **Designers, Manufacturers, Fabric Types, Themes, Fabric Width, Fiber Content** , etc., and then dynamically display them on the product page.

The information will automatically change based on the product, so you won’t need to manually edit the product page for each item.

If you can send me your store URL and a collaborator code, I can check your current product page/theme setup and recommend the best approach.

**Best regards,**  
**Devcoder 💻**

---

<div class="post-metadata">

**Author:** ![Ploqo](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/ploqo/32/398219_2.png) [@Ploqo](https://community.shopify.com/u/Ploqo)\
**Post date:** [August 14, 2026, 2:11am UTC](https://community.shopify.com/t/product/666265/4 "2026-08-14T02:11:07Z")

</div>

I built and tested on my Dawn store.

That table is product **metafields** shown on the product template, with each value linked to a filtered list.

Result:

 ![Fabric spec table built from product metafields](https://canada1.discourse-cdn.com/shopifyforum/original/4X/9/2/8/9287057c702af323c47efe4717b736cf59b098fd.jpeg)

Steps:

**1. Create the metafields**  
Settings \> Custom data \> Metafields \> Products \> Add definition. Add one per row you want:

- Designer, Manufacturer, Fabric type, Fabric width, Fiber content
- Type: Single line text
- Set each definition’s Namespace and key to `fabric.designer`, `fabric.manufacturer`, `fabric.fabric_type`, `fabric.fabric_width`, `fabric.fiber_content`

 ![Create one Single line text metafield per column](https://canada1.discourse-cdn.com/shopifyforum/original/4X/8/7/9/87935d254e105a46082de23f43b18e77f2868fe5.jpeg)

**2. Fill them on your products**  
Open a product, scroll to Metafields, type each value. Pin the definitions so they show on every product page.

 ![Fill each metafield value on the product](https://canada1.discourse-cdn.com/shopifyforum/original/4X/0/6/e/06eef5d79ba6839788ecc5633d258ae4fb60fd3b.png)

**3. Show them as a table on the product page**  
Online Store \> Themes \> … \> Customize. Open a Product template. Add block \> Custom Liquid, place it under the Description, paste this and Save:

```liquid
{%- liquid
  assign ns = product.metafields.fabric
  assign rows = 'designer:Designer,manufacturer:Manufacturer,fabric_type:Fabric Type,fabric_width:Fabric Width,fiber_content:Fiber Content' | split: ','
  assign has_specs = false
  for row in rows
    assign key = row | split: ':' | first
    if ns[key].value != blank
      assign has_specs = true
      break
    endif
  endfor
-%}
{%- if has_specs -%}
<style>
  .fabric-specs{width:100%;border-collapse:collapse;margin-top:1.5rem;font-size:1.5rem}
  .fabric-specs tr{border-bottom:1px solid rgba(var(--color-foreground),0.1)}
  .fabric-specs th{text-align:left;font-weight:600;white-space:nowrap;padding:1rem 2rem 1rem 0;vertical-align:top}
  .fabric-specs td{padding:1rem 0;vertical-align:top}
  .fabric-specs a{color:rgb(var(--color-foreground));text-decoration:none}
  .fabric-specs a:hover{text-decoration:underline}
</style>
<table class="fabric-specs">
  {%- for row in rows -%}
    {%- assign parts = row | split: ':' -%}
    {%- assign key = parts[0] -%}
    {%- assign value = ns[key].value -%}
    {%- if value != blank -%}
      <tr>
        <th>{{ parts[1] }}</th>
        <td><a href="{{ routes.all_products_collection_url }}?filter.p.m.fabric.{{ key }}={{ value | url_encode }}">{{ value }}</a></td>
      </tr>
    {%- endif -%}
  {%- endfor -%}
</table>
{%- endif -%}

```

 ![Add a Custom Liquid block under the description and paste the code](https://canada1.discourse-cdn.com/shopifyforum/original/4X/7/6/d/76d893318ea65759abd92f46a77fe351a8900a42.jpeg)

The namespace in the code is `fabric`. It must match the Namespace and key you set in step 1.

**4. Make each value clickable (the linked part in your screenshot)**  
Install **Shopify’s free Search & Discovery app**. Filters \> Add filter \> pick each metafield (Designer, Manufacturer, …) \> Save. Now clicking a value opens a filtered list, for example every Rifle Paper Co. fabric.

 ![Add a Search and Discovery filter for each metafield](https://canada1.discourse-cdn.com/shopifyforum/original/4X/d/5/0/d50e3ab6fb0c70e45c63358d73f5d01df399d64e.png)

 ![Clicking a value filters the collection to those fabrics](https://canada1.discourse-cdn.com/shopifyforum/original/4X/c/c/9/cc9b2dca7d4c1d9dacab43ed066acea03d271338.jpeg)

No Code Solutions: Accentuate Custom Fields or Easify Product Attributes build the same **spec table from metafields.**

Regards,  
Ploqo

---

<div class="post-metadata">

**Author:** ![idahospudnut](https://avatars.discourse-cdn.com/v4/letter/i/ba9def/32.png) [@idahospudnut](https://community.shopify.com/u/idahospudnut)\
**Post date:** [August 14, 2026, 1:07pm UTC](https://community.shopify.com/t/product/666265/5 "2026-08-14T13:07:28Z")

</div>

Thank you. Now can you help me with the Quantity section.

 ![image](https://canada1.discourse-cdn.com/shopifyforum/original/4X/6/b/9/6b9f9d26ba9f39326d7a87f0ab442d6d61c6e8cb.png)

---

<div class="post-metadata">

**Author:** ![Ploqo](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/ploqo/32/398219_2.png) [@Ploqo](https://community.shopify.com/u/Ploqo)\
**Post date:** [August 15, 2026, 10:23am UTC](https://community.shopify.com/t/product/666265/6 "2026-08-15T10:23:54Z")

</div>

For fabric sold by length, Shopify’s cart only counts whole numbers.

So make 1 unit = 1/4 yard. Then the two dropdowns just add up to a number of 1/4-yard units.

**1. Sell the product by the 1/4 yard**

- Price: your per-yard price divided by 4 (so $13.80/yard becomes $3.45).
- Turn on Track quantity, and enter stock in 1/4-yard units (12 1/4 yards = 49).  
 ![Sell by the 1/4 yard: price and inventory](https://canada1.discourse-cdn.com/shopifyforum/original/4X/9/f/b/9fbdcd959e42b0bd7409ddcfbc95f5cd2636b4d6.png)

**2. Add the quantity block**

Online Store \> Themes \> Customize the product template. Add block \> Custom Liquid (same place as the spec table), put it just above Add to cart, paste this and Save:

```auto
{%- liquid
  assign v = product.selected_or_first_available_variant
  assign units = v.inventory_quantity
  if units < 0
    assign units = 0
  endif
  assign whole_stock = units | divided_by: 4
  assign frac_stock = units | modulo: 4
-%}
<div class="yards-buy" data-section="{{ section.id }}" data-max-units="{{ units }}">
  {%- if v.inventory_quantity > 0 or v.inventory_policy == 'continue' -%}
    <p class="yards-stock">{{ whole_stock }}{% if frac_stock > 0 %} {{ frac_stock }}/4{% endif %} yards in stock</p>
  {%- endif -%}
  <div class="yards-row">
    <select class="yards-whole" aria-label="Whole yards">
      {%- for i in (0..12) -%}<option value="{{ i }}"{% if i == 1 %} selected{% endif %}>{{ i }}</option>{%- endfor -%}
    </select>
    <select class="yards-frac" aria-label="Fraction of a yard">
      <option value="0"></option><option value="1">1/4</option><option value="2">1/2</option><option value="3">3/4</option>
    </select>
    <span class="yards-label">Yards</span>
  </div>
  <select class="yards-short" aria-label="If we are short on stock">
    <option value="Contact me if short">Contact me if short</option>
    <option value="Send what is in stock">Send what is in stock</option>
    <option value="Cancel my order">Cancel my order</option>
  </select>
</div>

<style>
  .yards-buy{margin:0 0 1.5rem}
  .yards-stock{font-weight:600;margin:0 0 .8rem}
  .yards-row{display:flex;align-items:center;gap:.8rem;margin-bottom:.8rem}
  .yards-buy select{padding:.7rem .8rem;border:1px solid rgba(var(--color-foreground),.4);border-radius:.4rem;background:rgb(var(--color-background));color:rgb(var(--color-foreground));font-size:1.5rem}
  .yards-whole,.yards-frac{min-width:7rem}
  .yards-label{font-size:1.5rem}
  .yards-short{width:100%;max-width:24rem}
  .product-form__quantity,.product-form quantity-input,.product-form .quantity{display:none!important}
</style>

<script>
  (function(){
    function attach(wrap){
      if(wrap.__yardsBuy) return;
      var sid = wrap.getAttribute('data-section');
      var form = document.getElementById('product-form-' + sid);
      if(!form) return;
      wrap.__yardsBuy = true;
      var whole = wrap.querySelector('.yards-whole');
      var frac = wrap.querySelector('.yards-frac');
      var short = wrap.querySelector('.yards-short');
      var maxUnits = parseInt(wrap.getAttribute('data-max-units'), 10) || 0;
      function units(){ return (parseInt(whole.value,10)||0)*4 + (parseInt(frac.value,10)||0); }
      function label(){
        var w = parseInt(whole.value,10)||0, f = parseInt(frac.value,10)||0;
        var s = w + (f>0 ? ' ' + f + '/4' : '');
        return (s.replace(/^\s+|\s+$/g,'')===''? '0':s) + ' yards';
      }
      form.addEventListener('submit', function(e){
        var u = units();
        if(u < 1){ e.preventDefault(); e.stopImmediatePropagation(); alert('Please choose at least 1/4 yard.'); return; }
        if(maxUnits > 0 && u > maxUnits){ e.preventDefault(); e.stopImmediatePropagation(); alert('Only ' + (maxUnits/4) + ' yards left in stock.'); return; }
        var q = form.elements['quantity'];
        if(!q){ q = document.createElement('input'); q.type='hidden'; q.name='quantity'; form.appendChild(q); }
        q.value = u;
        function setProp(name, value){
          var el = form.elements['properties[' + name + ']'];
          if(!el){ el = document.createElement('input'); el.type='hidden'; el.name='properties[' + name + ']'; form.appendChild(el); }
          el.value = value;
        }
        setProp('Length', label());
        setProp('If short', short.value);
      }, true);
    }
    function boot(){ document.querySelectorAll('.yards-buy').forEach(attach); }
    if(document.readyState === 'loading'){ document.addEventListener('DOMContentLoaded', boot); } else { boot(); }
  })();
</script>

```

 ![The quantity block on the product page](https://canada1.discourse-cdn.com/shopifyforum/original/4X/b/4/0/b403745f5712bc6edcd6fbdd993bec1ca2fb64ad.png)

**3. Done**

Whole yards plus fraction combine into the cart quantity, and the “Contact me if short” choice is saved as a note on the line and the order.

 ![Cart shows the yards and the note](https://canada1.discourse-cdn.com/shopifyforum/original/4X/e/6/7/e6738996120dac90938883990ad86baf6ce0acff.jpeg)

Notes:

- The stock line and the cart both read the same 1/4-yard number, so it will not oversell.
- The price shows as $3.45 (per 1/4 yard). To display “$13.80 / yard” instead, that is a small extra line, say the word.

No Code: Fabric-length apps like Fabric Counts (sells in 1/4 and 1/2 yard increments), Measura, or Product Customizer Pro do the same with a picker.

Regards,  
Ploqo

---

<div class="post-metadata">

**Author:** ![Mustafa\_Ali](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/mustafa_ali/32/419580_2.png) [@Mustafa\_Ali](https://community.shopify.com/u/Mustafa_Ali)\
**Post date:** [August 15, 2026, 10:42am UTC](https://community.shopify.com/t/product/666265/7 "2026-08-15T10:42:32Z")

</div>

Hi @idahospudnut Welcome To Shopify Community For the detail table at the bottom (Designers, Manufacturers, Fabric Types, Fabric Width, Fiber Content, etc.), you’ll want to create Product Metafields for each attribute (Settings \> Custom data \> Products \> Add definition), using single line text or a list of values depending on whether a product can have multiple entries (like Themes having “Halloween Fabric, Novelty”). Once defined, you fill them in per product, then pull them into your product template using Liquid, something like {{ product.metafields.custom.fabric\_width.value }} for each field, wrapped in a simple table/list markup styled to match your layout.

For the yards quantity with a decimal option (1 1/4 yards), that’s usually handled by enabling “Sell by measurement/unit” if your product uses variants for fractional quantities, or by combining a quantity selector with a separate metafield or product option for fractional yard values, since Shopify’s native quantity field is whole numbers only by default. The “Contact me if short” dropdown looks like a custom line item property or a select input tied to a metafield-driven option, not a native Shopify feature, so that part needs to be custom-coded into your product form.Hope this helps solve your problem, and if it does, don’t forget to like and mark it as the solution. Thank you!

---

<div class="post-metadata">

**Author:** ![MayraApps](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/mayraapps/32/411066_2.png) [@MayraApps](https://community.shopify.com/u/MayraApps)\
**Post date:** [August 15, 2026, 12:20pm UTC](https://community.shopify.com/t/product/666265/8 "2026-08-15T12:20:34Z")

</div>

@idahospudnut The 1/4 yard approach makes sense for Shopify since the native quantity is a whole number.

One thing I’d test carefully is the inventory flow. If 1 unit = 1/4 yard, make sure every part of the store is using that same unit, especially cart, checkout, inventory and order fulfillment.

Otherwise you can end up with the product page showing 3 1/4 yards while the admin or fulfillment team sees a quantity of 13.

The setup can work well, but I’d test a few different lengths end to end before putting it live.

---

<div class="post-metadata">

**Author:** ![idahospudnut](https://avatars.discourse-cdn.com/v4/letter/i/ba9def/32.png) [@idahospudnut](https://community.shopify.com/u/idahospudnut)\
**Post date:** [August 16, 2026, 2:55pm UTC](https://community.shopify.com/t/product/666265/9 "2026-08-16T14:55:57Z")

</div>

I seem to be unable to make the click able links work. I have created a collection for the designer, using the exact name but it opens a link that has nothing.

Can I not have them click able at this time?

---

<div class="post-metadata">

**Author:** ![Ploqo](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/ploqo/32/398219_2.png) [@Ploqo](https://community.shopify.com/u/Ploqo)\
**Post date:** [August 16, 2026, 4:51pm UTC](https://community.shopify.com/t/product/666265/10 "2026-08-16T16:51:59Z")

</div>

**Those links are filters, not collections**

Each value in the table links to a filtered product list, not to a collection. So a collection named after the designer will not connect to them. You can leave that collection out of it.

The link only returns products once that metafield is switched on as a storefront filter. Right now it is off, so the page comes back empty.

**Turn each metafield into a filter**

1. Apps \> Search & Discovery \> Filters.
2. Click Add filter, then Select source.
3. Type your field name (Designer) and pick the entry marked Product metafield. Save.
4. Repeat for each column you linked: Manufacturer, Fabric type, Fabric width, Fiber content.

 ![Add filter, Select source, pick the Product metafield](https://canada1.discourse-cdn.com/shopifyforum/original/4X/c/5/9/c5941ceef380fafcccb0408f71ff3ed7e56dd267.png)

Your Filters list should then show each one with Source set to your metafield and Type “Product metafield”.

 ![Each linked metafield listed as a Product metafield filter](https://canada1.discourse-cdn.com/shopifyforum/original/4X/0/4/7/0477aac7af1f30c56c86fef6d9812da72b4130cf.png)

Now the link works. Clicking a designer opens the filtered list with only that designer’s products, and the count updates.

 ![The link now opens the filtered products for that designer](https://canada1.discourse-cdn.com/shopifyforum/original/4X/3/f/9/3f95627905cfa8e714d1bbc8f3e6084c6a489bbd.jpeg)

**If it still opens nothing**

- The value in the product metafield must match exactly, including spaces and capital letters.
- Give it a minute after adding the filter. The storefront can lag briefly before it takes effect.

Regards,  
Ploqo,

---

<div class="post-metadata">

**Author:** ![Easify-Jennifer](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/easify-jennifer/32/348207_2.png) [@Easify-Jennifer](https://community.shopify.com/u/Easify-Jennifer)\
**Post date:** [August 17, 2026, 8:19am UTC](https://community.shopify.com/t/product/666265/11 "2026-08-17T08:19:46Z")

</div>

Hi @idahospudnut 🙌

Hi! This should be possible, and I think the setup in your screenshot is actually a great use case for **Shopify product metafields**.

The way I would approach it is to first separate the information into individual metafields. For example, you could create metafields for things such as **Manufacturer, Designer, Fabric Type, Theme, Fabric Width, Fiber Content** , and any other specifications that you want to show consistently across your products.

You would then fill in those values for each individual product. For example, one fabric product might have:

- Manufacturer: Cotton + Steel

- Designer: Rifle Paper Co.

- Fabric Type: Quilting Cotton

- Theme: Halloween Fabric

- Fabric Width: 43/44"

- Fiber Content: 100% Cotton

While another product could have completely different values. This makes it much easier to manage than manually adding the same information to every product description.

Once the metafields are created, check your product template in **Online Store → Themes → Customize**. Depending on the theme you’re using, you may be able to add text blocks, collapsible rows, or another suitable block and connect each one to the corresponding metafield using Shopify’s **dynamic sources**.

If your theme supports this, you may be able to build the entire section without editing any code. You could create something similar to your reference, with each specification displayed as a label on the left and the metafield value on the right.

One thing worth checking is whether some of the information already exists elsewhere in Shopify. For example, if you’re already using **Product Type, Vendor, Collections, or Tags** , you may not necessarily need to duplicate all of that information as metafields. For the more specific information—such as fabric width, fiber content, designer, or manufacturer—metafields would probably give you more flexibility and make the information easier to maintain as your catalog grows.

I’d also recommend thinking about whether each field should simply contain text or whether it would be more useful to use a **reference metafield**. For example, if you have the same manufacturer or designer appearing across many products, a reference-based setup can make it easier to manage consistently.

If the goal is purely to **display product specifications** , I would definitely start with Shopify’s native metafields rather than adding an app.

On the other hand, if some of these items are meant to become **choices that customers actively select before purchasing** —for example, choosing a fabric type, size, custom measurement, or another product specification—that would be a different use case. In that situation, an options solution such as [Easify Custom Product Options](https://apps.shopify.com/easify-product-options?utm_source=shopify+community&utm_medium=replies) can work alongside metafields: metafields can handle the product information you want to display, while the options handle the choices customers need to make.

So for the layout in your screenshot, I would start with **native Shopify metafields + dynamic sources in the product template**. That should give you the cleanest and easiest-to-maintain setup, and you can add custom options separately only if you need customer interaction.❤

---

<div class="post-metadata">

**Author:** ![info\_17099](https://avatars.discourse-cdn.com/v4/letter/i/e47c2d/32.png) [@info\_17099](https://community.shopify.com/u/info_17099)\
**Post date:** [September 18, 2026, 12:46pm UTC](https://community.shopify.com/t/product/666265/12 "2026-09-18T12:46:00Z")

</div>

Hi All, i think an app like [OO ‑ Advanced Table Builder - AI table builder for size charts, specs, comparisons and more | Shopify App Store](https://apps.shopify.com/tables-specs-comparisons) for the table or an app like [Options Price Calculator - Unlimited product options with formula-based dynamic pricing | Shopify App Store](https://apps.shopify.com/options-price-calculator) for custom product options would be much easier than using this custom liquid that will not fully solve your isssue.
