Snipcart for Statamic
  • Overview
  • Getting Started
    • Installation
    • Configuration
    • Commands
  • Templating
    • Basics
    • Tags
      • Snipcart
      • Currency
      • Length
      • Weight
    • Modifiers
  • Customization
    • Blueprints
    • Translations
  • Advanced
    • Snipcart API
    • Snipcart Webhooks
Powered by GitBook
On this page
  • Abbreviation
  • Singular Name
  • Plural Name
  • Length Name
  • Width Name
  • Height Name

Was this helpful?

  1. Templating
  2. Tags

Length

Output data of the length unit defined in the config.

Abbreviation

The abbreviation of the length unit, e.g. cm.

{{ length:short }}

Singular Name

The singular name of the length unit, e.g. Centimeter.

{{ length:singular }}

Plural Name

The plural name of the length unit, e.g. Centimeters.

{{ length:plural }}

Length Name

Automatically get the singular or plural name of the length unit according to the product's length, e.g. Centimeter/Centimeters.

{{ length:lengthName }}

Width Name

Automatically get the singular or plural name of the length unit according to the product's width, e.g. Centimeter/Centimeters.

{{ length:widthName }}

Height Name

Automatically get the singular or plural name of the length unit according to the product's height, e.g. Centimeter/Centimeters.

{{ length:heightName }}

PreviousCurrencyNextWeight

Last updated 4 years ago

Was this helpful?