With a Klorr plan: Klorr’s sections at no costlower prices on every other sectiongenerate and sell your ownSee plans
← Marketplace
Product

Stretch TestShopify fabric stretch demo section

fit-form

New

Without a plan€7
With a Klorr plan€5-29%

You pay €7 today. A plan saves you on every section.

Paid once, yours to keep.

A swatch of your fabric the shopper grabs and pulls: it stretches, wrinkles and snaps back, with a live stretch readout and Add to cart.

What this Shopify section does

Stretch Test puts a square of your product's knit on the page, pinned at its four corners, and lets the shopper feel it with the cursor. Pressing and dragging takes a handful of fabric and pulls it: the stitches lengthen, wrinkles run across the pull, the cloth ahead of the hand bunches, and letting go snaps it back with a ripple. A live readout shows the stretch against the fabric's rated figure and, once it settles, how far it went and how long it took to recover. The knit is drawn in code (jersey or rib, three stitch sizes) and lit in three.js, so there is no texture to supply. Colour swatches dye the swatch with a spreading wave and swap the product photo; sizes and colours pick the product's real variant, sold-out sizes are struck through, and Add to cart uses the store's own cart. Beside it sit your heading and feature lines. On phones the swatch sits under the heading and a finger pulls it; arrow keys tug it from the keyboard; reduced motion drops the ripples; without WebGL the stage is a flat field in the chosen colour.

  • Grab and pull a lit knit swatch: it stretches, wrinkles and snaps back
  • Live stretch readout with the rated figure and recovery time
  • Jersey or rib knit drawn in code, three stitch sizes
  • Colour swatches dye the fabric and swap the product photo
  • Colour and size pick the real variant; sold-out sizes struck through
  • Adds to the store's own cart and refreshes the cart count
  • Touch, keyboard and reduced-motion support; colour-field fallback
  • Clean Liquid with a complete {% schema %}
  • Editable in the Shopify theme editor, like any other section
  • Works on any Online Store 2.0 theme
  • Pasted into your own theme, with no app on your storefront

How to add Stretch Test to your Shopify theme

  1. Get Stretch Test here and download its .liquid file from your Klorr account.
  2. In Shopify, go to Online Store › Themes, open the ⋯ menu on your theme and choose Duplicate, so you try it on a copy first.
  3. On the copy, open ⋯ › Edit code, then under Sections choose Add a new section and give it a name.
  4. Replace everything in the new file with the code you downloaded, and press Save.
  5. Open Customize, choose Add section on any page and pick it from the list. Change its words, pictures and colours in the panel, then publish the theme when you are happy.

New to theme code? Read the full guide: how to add a custom section to Shopify.

Questions about this fabric stretch demo section

Does Stretch Test work with my Shopify theme?

Yes, if your theme is an Online Store 2.0 theme, which includes Dawn, Horizon and almost every theme sold today. Stretch Test is a standard fabric stretch demo section: it is added under Sections in your theme code and then appears in the theme editor like the sections your theme came with.

Do I need an app to use this fabric stretch demo section?

No. It is a section file that lives in your own theme, so there is no app to install, nothing extra loading on your storefront and no monthly fee for it.

Can I change the text, images and colours?

Yes. Its words, pictures, colours and options are settings in the Shopify theme editor, so you change them in Customize without touching the code, and you can add it to as many pages as you like.

Will it slow down my store?

Its 3D library loads only when the section comes near the screen, its styles and scripts are scoped to the section, and it shows a plain fallback where 3D is not available, so the rest of the page loads as it did.

What do I get with Stretch Test?

One .liquid file with its full schema, made by fit-form. You pay once and it is yours to keep: it stays in your theme and in your Klorr account, ready to download again.

Build your own sections with Klorr

Describe the section you want and get production-ready Liquid that respects your theme and stays editable in Shopify. No $400 theme required.