scheme-paper
The quick brown fox jumps
Technical specification
Foundations rendered live from the production tokens and color schemes. Components are added here from Fas 3 onward.
Each card applies its real .color-{id} class, so background, text and button roles are the live composed values.
scheme-paper
The quick brown fox jumps
scheme-white
The quick brown fox jumps
scheme-navy
The quick brown fox jumps
scheme-inverse
The quick brown fox jumps
Valeryd supplies precision-made trailer parts with traceable fitment. Every item carries a part number and compatibility data.
VAL-204-118 · Valeryd supplies precision-made trailer parts with tr...
Animate transform and opacity only; honour prefers-reduced-motion.
| variant · state | default | hover | disabled | loading |
|---|---|---|---|---|
| primary | ||||
| secondary | ||||
| ghost |
on .color-scheme-navy
Sandėlyje
Sandėlyje SandėlyjeGaminama pagal užsakymą
Gaminama pagal užsakymą · pristatymo trukmė apie 7 d. Gaminama pagal užsakymąGalima užsakyti
Galima užsakyti Galima užsakytiNėra sandėlyje
Nėra sandėlyje Nėra sandėlyjeIn order: in stock · made to order (a gas spring at zero) · available to order (anything else that sells on at zero) · out of stock. Last row: made to order without the lead time, and with one day.
With the theme setting "Show prices excl. VAT" on, under every price, small, the same price
excl. VAT: the current price divided by the VAT the market's prices include, which
snippets/vat-rate.liquid looks up by country. The first two follow
the setting and your market's rate. Where the setting is off, the prices include no VAT, or the
country has no rate, the line is left out, as in the third. The fourth passes a rate of 25 %
and shows the line whatever the setting.
A buyer logged in as a contact of a B2B company (snippets/b2b-buyer.liquid)
sees the catalog price, which is the net: VAT is added at checkout. Every state below is rendered
with buyer: 'b2b', as no B2B login reaches this page. Price: the net
alone; the net with the recommended retail price incl. VAT (the catalog's compare-at price, never
struck); a product whose price varies, with "from"; and the three table parts, part: 'net',
part: 'retail' and part: 'discount' (the dealer's discount
against the RRP excl. VAT).
No product in the store's first 50 has a varying price, so the "from" state has nothing to show.
€59,00 be PVM €93,75 Nuolaida 24%The B2B quantity stepper on the product page, following the variant's quantity rule: step 5, minimum 5, maximum 100.
Volume pricing (snippets/volume-pricing.liquid): the variant's price breaks
under the buy-box price, from the minimum quantity at the variant's own price; folded into a
disclosure on a cart line (compact); and nothing at all for a variant without breaks, after which
the next line follows directly.
| Kiekis | Kaina už vnt. |
|---|---|
| 1+ | €59,00 be PVM |
| 10+ | €54,00 be PVM |
| 50+ | €49,00 be PVM |
| 100+ | €45,00 be PVM |
| Kiekis | Kaina už vnt. |
|---|---|
| 1+ | €59,00 be PVM |
| 10+ | €54,00 be PVM |
| 50+ | €49,00 be PVM |
| 100+ | €45,00 be PVM |
A B2B cart line: net prices with their label, a stepper in steps of 10 up to 200, and the price breaks folded under the unit price.
| Kiekis | Kaina už vnt. |
|---|---|
| 1+ | €59,00 be PVM |
| 10+ | €54,00 be PVM |
| 50+ | €49,00 be PVM |
| 100+ | €45,00 be PVM |
Who a B2B buyer is buying for (snippets/b2b-account-bar.liquid), rendered
from explicit params as no B2B login reaches this page. In the utility bar: the company, the location
and a link to the quick-order page; without a quick-order page there is no link. Desktop only, like the
rest of the utility bar.
utility bar, with a quick-order page
utility bar, no quick-order page
The person link in the main bar. A B2C visitor gets nothing from the snippet, so the header keeps its dealer-portal login. A B2B buyer gets the account page, named by the company; a long name is cut with an ellipsis and stays whole in the link's label. Below 1280px only the icon shows, so the main bar keeps room for the switch beside it.
A B2B buyer's collection and search pages list the products as a table
(snippets/product-table.liquid), one row per variant, rendered here with
buyer: 'b2b' from the store's first products, each forced into one state:
12 in stock; more than 100; inventory not tracked; out of stock (the button disabled); a gas spring
assembled to order; a product with too many variants to list (one row, "Choose options"); and a
quantity rule stepping by 5. Without JS the quantity fields stay hidden and each button adds 1
through the page's cart form; with it, the quantity shows and the row is added on its own.
| Produktas | Prekės nr. | Rek. kaina su PVM | Grynoji be PVM | Atsargos | Kiekis |
|---|---|---|---|---|---|
| 3060010 | €25,19 be PVM | Sandėlyje: 12 | |||
| 3060011 | €38,39 be PVM | Sandėlyje daugiau nei 100 | |||
| 3060013 | €35,09 be PVM | Sandėlyje: 3 | |||
| 3060012 | €32,45 be PVM | Sandėlyje | |||
| 3069151 | €11,00 be PVM | Nėra sandėlyje |
|
||
| 4011001 | €109,44 be PVM | Gaminama pagal užsakymą | |||
| €109,44 be PVM | |||||
| 4011003 | €109,44 be PVM | Sandėlyje: 40 |
The cart's free-shipping meter (snippets/free-shipping-meter.liquid) in its three
states, from demo values: below the threshold (a bar and the amount left), at or over it, and a cart with a
bulky line, which ships at its own rate and so gets a note and no bar. The threshold is
settings.free_shipping_threshold; the same number must be the order-price rule on
the standard rate in Shopify.
Iki nemokamo standartinio pristatymo liko €124,50
Nuolaidų kodai taikomi atsiskaitant.
Nemokamas standartinis pristatymas atrakintas!
Nuolaidų kodai taikomi atsiskaitant.
Nemokamas standartinis pristatymas taikomas tik įprastoms prekėms. Didelių gabaritų prekės siunčiamos pagal atskirą tarifą.
A B2B location whose prices are hidden (custom.hide_prices on the company
location, read only by snippets/b2b-buyer.liquid) sees no net, no price breaks
and no cart totals. It keeps the recommended retail price incl. VAT where the catalog carries one, and
reads "Price by agreement" (snippets/b2b-price-note.liquid) once per surface:
the product page, the product table, the cart and the gas spring finder. Rendered with
buyer: 'b2b-hidden'. Price: the net with an RRP (the RRP alone), the net
without one (nothing), and the two table parts.
The note, and volume pricing for a hidden location (nothing rendered).
Kaina susitarus
A hidden-price cart line: no unit price, no price breaks and no total column.
The product table for a hidden location: the note above it, the RRP column kept, no net column.
Kaina susitarus
| Produktas | Prekės nr. | Rek. kaina su PVM | Atsargos | Kiekis |
|---|---|---|---|---|
| 3060010 | Sandėlyje: 12 | |||
| 3060011 | Sandėlyje daugiau nei 100 | |||
| 3060013 | Sandėlyje: 3 | |||
| 3060012 | Sandėlyje | |||
| 3069151 | Nėra sandėlyje |
|
||
| 4011001 | Gaminama pagal užsakymą | |||
| 4011003 | Sandėlyje: 40 |
A seller at a dealer's counter turns on the customer view (the "Customer view" switch beside the person
link, saved on the contact as custom.counter_mode) before showing the screen to
an end customer. Net prices, price breaks and the exact stock go; the recommended retail price incl. VAT
stays, at full size, and nothing says "by agreement". The cart and quick order keep their net: they are
the seller's own order. Every gate asks snippets/b2b-net.liquid, which allows
a price only in a state it knows. Rendered with buyer: 'b2b', view: 'counter'.
Price: the net with an RRP (the RRP alone), the net without one (nothing), and the two table parts.
Volume pricing in the customer view (nothing rendered).
The switch in the header's main bar, off and on: an eye off; pressed, it fills in and carries a check mark. It shows on every width, as its icon alone below 1280px; its explanation is the button's description, not part of its name.
The product table in the customer view: the RRP column kept, no net column, and the stock as the sell state's label instead of a figure.
| Produktas | Prekės nr. | Rek. kaina su PVM | Atsargos | Kiekis |
|---|---|---|---|---|
| 3060010 | Sandėlyje | |||
| 3060011 | Sandėlyje | |||
| 3060013 | Sandėlyje | |||
| 3060012 | Sandėlyje | |||
| 3069151 | Nėra sandėlyje |
|
||
| 4011001 | Gaminama pagal užsakymą | |||
| 4011003 | Sandėlyje |
The quick-order page (snippets/quick-order-form.liquid under the page's h1,
sections/quick-order.liquid): a B2B buyer pastes article numbers, quantities and an
optional comment, checks the lines and adds them all to the cart. Rendered with
buyer: 'b2b', as no B2B login reaches this page. The live copy looks the lines up
in the store, but only a B2B buyer's cards carry the variant id it adds, so here a found article reads as
not found. Below it, the same form as a browser without scripting gets it: a search for one article number at
a time. Then the page as anyone else sees it: a login prompt.
Greitas užsakymas skirtas verslo klientams. Prisijungti
A result line (snippets/quick-order-line.liquid) in every state: looking up;
found, with quantity and comment; not found; a line that could not be read (a header row); the lookup
failed, with a retry; over the line limit; added to the cart; and refused by the cart, with the server's
message.
A dealer's purchase list (docs/b2b-theme.md Part 7): parts saved on the contact through the App Proxy
(snippets/purchase-list-form.liquid, the one home of its path) and bought from
the list page. Every entry passes buyer, as no B2B login reaches this page. In the
buy box, in place of the collect list (snippets/purchase-list-add.liquid): not on
the list, then on it.
A product list with the list icon beside each row's Buy button; the first row is already on the list, so it links to the list page instead.
| Produktas | Prekės nr. | Rek. kaina su PVM | Grynoji be PVM | Atsargos | Kiekis |
|---|---|---|---|---|---|
| 3060010 | €25,19 be PVM | Sandėlyje: 12 | |||
| 3060011 | €38,39 be PVM | Sandėlyje daugiau nei 100 | |||
| 3060013 | €35,09 be PVM | Nėra sandėlyje | |||
| 3060012 | €32,45 be PVM | Sandėlyje: 40 |
The list page: one row per saved variant, a remove button per row, and "Buy everything" above the table, which only the script reveals (a form-encoded multi-item add is unconfirmed). Then the same in the customer view, and the empty list.
Jūsų pirkinių sąrašas tuščias. Pridėkite prekių iš produkto puslapio arba produktų sąrašo.
| Produktas | Prekės nr. | Rek. kaina su PVM | Grynoji be PVM | Atsargos | Kiekis |
|---|---|---|---|---|---|
| 3060010 | €25,19 be PVM | Sandėlyje: 12 | |||
| 3060011 | €38,39 be PVM | Sandėlyje daugiau nei 100 | |||
| 3060013 | €35,09 be PVM | Nėra sandėlyje |
|
||
| 3060012 | €32,45 be PVM | Sandėlyje: 40 |
Jūsų pirkinių sąrašas tuščias. Pridėkite prekių iš produkto puslapio arba produktų sąrašo.
| Produktas | Prekės nr. | Rek. kaina su PVM | Atsargos | Kiekis |
|---|---|---|---|---|
| 3060010 | Sandėlyje | |||
| 3060011 | Sandėlyje | |||
| 3060013 | Nėra sandėlyje |
|
||
| 3060012 | Sandėlyje |
Jūsų pirkinių sąrašas tuščias. Pridėkite prekių iš produkto puslapio arba produktų sąrašo.
The header link beside quick order, and a B2B buyer's stock panel: the online row only, no dealers.
Atsargos internetu
Pristatymas per 2–5 darbo dienas
Valeryd supplies precision-made trailer parts with traceable fitment. Every item carries a part number and compatibil...
Valeryd supplies precision-made trailer parts with traceable fitment. Every item carries a part number and compatibil...
Valeryd supplies precision-made trailer parts with traceable fitment. Every item carries a part number and compatibil...
Valeryd supplies precision-made trailer parts with traceable fitment. Every item carries a part number and compatibil...
Opening paragraph and several sections:
Brake drums for trailer wheel brakes. Match the brake dimension, the bolt pattern and the bearing seat before you order.
The right drum follows the wheel brake it sits on: model, dimension, hub, bolt pattern and bearing type.
Measure the drum already fitted, or read the dimension on the brake plate.
Brake drums come in several dimensions depending on brake, axle and load rating.
A single section:
Check the dimensions, the mounting, the colour and the voltage before you order. A position light is chosen by how it fits and how it wires, not by the weight of the trailer.
Measure the light already fitted: length, width, screw spacing and where the cable leaves the housing.
No section headings, rendered in full:
Copy with no section headings is rendered in full, as plain prose, because there is nothing to fold.
This is the state of a category whose long text is one or two paragraphs.
Blank content renders no markup:
VAL-204-118
Valeryd supplies precision-made trailer parts with traceable fitment. Every item carrie...
VAL-204-118
Valeryd supplies precision-made trailer parts with traceable fitment. Every item carrie...
Fits your trailercard on .color-scheme-navy — surface vs plain
VAL-204-118
Valeryd supplies precision-made trailer parts with traceable fitment. Every item carrie...
Valeryd supplies precision-made trailer parts with traceable fitment. Every item carrie...
Fits your trailerRenders the visible trail and the matching BreadcrumbList JSON-LD from one list, so they cannot drift. A product resolves its own parent collection (skipping all and frontpage); pass collection to override. The trail starts at the top category — there is no Home crumb — so a page with no ancestry renders nothing, and the two examples below are every state there is.
The row under a collection page's description. A collection with children lists them; a leaf lists its siblings under the same parent; a collection outside the tree renders nothing. The tree is read through category-path, and empty collections are left out.
Find your trailer by registration number.
We could not find that registration number.
With error_slot: true the error paragraph is always there — empty and
hidden until a script fills it — and already named in aria-describedby,
so the script never rewrites it. inputmode asks a phone for digits
while the field still accepts a pasted "0500N".
Error slot, empty.
Error slot, filled.
Enter the length in whole millimetres.
Every control shares --control-size and --radius-sm
with the button: a native select with the theme's chevron, and a currency-prefixed input
(.field__affix) as used by the price filter.
Works as a plain number input without JS; the <quantity-input> web component enhances the − / + buttons.
With label the stepper gets a visible <label for> naming what it counts, in place of the fixed "Quantity".
Most lids use two. Replace both so they push equally.
In the footer only: a button showing the current country's flag (Shopify's own SVG, country | image_url) opens a modal <dialog> around Shopify's localization form. The button opens it with the platform's invoker commands, so a current browser needs no script; <localization-picker> fills in where a browser lacks them. It lists the countries of the active markets and the languages published to them, prints nothing while there is one of each, and stays off until the theme setting Show the country and language picker is on.
The dialog it opens, in the flow:
Shown once, as a modal <dialog>, when Shopify's suggestion endpoint names a country or language other than the current one. It never redirects: Save location posts the localization form, the dismiss button keeps the visitor where they are, and either answer is remembered. It waits for the cookie banner to be answered, so the two never overlap. Rendered here open and in the flow; on the storefront it only opens when the endpoint has a suggestion, which needs an active market for the visitor's country.
snippets/gas-spring-row.liquid — one result: a geometry with a select
over its forces. The finder clones it from a <template> and fills
[data-slot]; here it carries demo values in every state. The whole row
is Choose's target; the select and Details sit above it.
Tikslus atitikimas
Suspausta 370 mm · strypas Ø10 mm
€73,81 už spyruoklę €59,05 be PVM Sandėlyje
Artimas atitikimas
Suspausta 370 mm · strypas Ø10 mm
8 mm ilgesnė nei jūsų
Silpnesnė 100 N
€71,00 už spyruoklę €56,80 be PVM Gaminama pagal užsakymą · pristatymo trukmė apie 7 d.
Artimiausia, ką turime
Suspausta 360 mm · strypas Ø10 mm
20 mm trumpesnė nei jūsų
€73,81 už spyruoklę Nėra sandėlyje
Tikslus atitikimas
Suspausta 370 mm · strypas Ø10 mm
€73,81 už spyruoklę Sandėlyje tik 1 vnt.
Atitinka numerį
Suspausta 600 mm · strypas Ø14 mm
Tikslus atitikimas
Suspausta 370 mm · strypas Ø10 mm
€73,81 už spyruoklę Sandėlyje
In order: exact and in stock · close and made to order, with the lead time · nearest and out of stock · short for two springs · a number that fits several forces, force left to choose · chosen.
The rod check on a row. In the finder it shows only while the thread is "Not sure", by a
:has() rule on the thread radios; here that rule is held on by hand.
Tikslus atitikimas
Suspausta 370 mm · strypas Ø10 mm
Patikrinkite, ar jūsų spyruoklės strypas yra Ø10 mm. Spyruoklei su kitokiu strypu reikia kitų galų antgalių.
€73,81 už spyruoklę Sandėlyje
snippets/gas-spring-guide.liquid — where the number is, in the help's
"Where is the number?" topic. The photo's sticker is blank; the article number and the force are drawn
onto it, so no machine-written text can be wrong.
snippets/gas-spring-range.liquid — the slider under a field, passed to
form-field as its addon. The field is the value;
drag the thumb or type. Here at 660 mm on M8's span, and at 500 N on the starting span of every thread.
snippets/gas-spring-fitting.liquid — one size in the end-fitting step.
The step clones it from a <template>; the fixing dimension it
prints depends on the family: the hole for eyes and forks, the bolt length for angled joints, the
ball for sockets.
In order: chosen · a fork head · an angled joint, its bolt length · a socket, its ball Ø · rated 650 N, approved on the one spring it serves by exception · available to order, no image.
snippets/gas-spring-diagram.liquid — the assembled picture, schematic
and fixed in size. Its sprite is rendered once for the demos' prefix; each finder renders its own.
The glyphs at each end are one href each.
In order: the spring alone · hinge eye and fork head · metal sockets at both ends · swivel eye and plastic socket · angled joint at the tube end, bare stud at the rod end.
snippets/gas-spring-fittings.liquid — the step, the tube end open and shown
with every family tile. In the finder, JS hides the families with no size that fits and can be
bought in the quantity, and clones the sizes; here two are passed in. Choose a spring in the live
finder below to use it.
snippets/gas-spring-finder.liquid — the shell, live against
collections['gas-springs'] (its index loads on the first focus). Below
it, the same snippet as a browser without scripting paints it: the styleguide cannot switch
scripting off, so it applies the finder's @media (scripting: none) rules
by hand. The thread form needs collection.filters, which a page never
has, so this is the guarded state: the note to use the filters, and no dead control. The help
(snippets/gas-spring-help.liquid) opens from each question under the live
finder's fields; in the scripting-less copy it lies inline under the finder.
Vamzdžio galas Dujinė spyruoklė Strypo galas
Naudokite žemiau esančius filtrus, kad dujines spyruokles susiaurintumėte pagal sriegį, ilgį ir jėgą.
Jūsų spyruoklė
Įveskite, ką žinote. Pakanka vien sriegio, kad pamatytumėte visas su juo esančias spyruokles.
Šiuo metu nepavyko įkelti spyruoklių.
Naršykite visas dujines spyruokles, antgalius ir priedus žemiauPatikrinkite išmatavimus skiltyje „Kaip matuoti“ arba naršykite visas dujines spyruokles žemiau. Susisiekite su mumis
Pasirinkite spyruoklę, kad sudarytumėte komplektą.
Dauguma dangčių naudoja dvi. Pakeiskite abi, kad stumtų vienodai. Antgaliai skaičiuojami pagal spyruoklės galą.
Iš viso
Galų antgaliai pristatomi sumontuoti ant spyruoklių.
Mokesčiai ir pristatymas apskaičiuojami apmokėjimo metu
Naršykite visas dujines spyruokles, antgalius ir priedus žemiau
Vamzdžio galas Dujinė spyruoklė Strypo galas
Naudokite žemiau esančius filtrus, kad dujines spyruokles susiaurintumėte pagal sriegį, ilgį ir jėgą.
Jūsų spyruoklė
Įveskite, ką žinote. Pakanka vien sriegio, kad pamatytumėte visas su juo esančias spyruokles.
Šiuo metu nepavyko įkelti spyruoklių.
Naršykite visas dujines spyruokles, antgalius ir priedus žemiauPatikrinkite išmatavimus skiltyje „Kaip matuoti“ arba naršykite visas dujines spyruokles žemiau. Susisiekite su mumis
Pasirinkite spyruoklę, kad sudarytumėte komplektą.
Dauguma dangčių naudoja dvi. Pakeiskite abi, kad stumtų vienodai. Antgaliai skaičiuojami pagal spyruoklės galą.
Iš viso
Galų antgaliai pristatomi sumontuoti ant spyruoklių.
Mokesčiai ir pristatymas apskaičiuojami apmokėjimo metu
Naršykite visas dujines spyruokles, antgalius ir priedus žemiau
The meta rows are data-driven: the dealer line ("Available at N stores") reads the
valeryd.dealer_count metafield, and whose count it shows is the market's
call (snippets/dealer-country.liquid). There are three states:
pinned, a market in a dealer country, where the count is server-rendered and the first
card below is forced to SE to show it; fallback, any other market, where the line
renders hidden and <dealer-count> fills it only for a visitor from
a fallback country; and none, where there is no fallback list or the count is zero,
so the line is absent. Without JS or with a failed lookup, only the pinned state shows.
Both stock states side by side, picked from the catalogue: the foot (dealer line, availability) and the button sit at the same y in every card, the title reserves two lines so the price does too.
How a reg-nr result is split: every part in ONE .easysearch__grid,
grouped by category, so a group opens in the cell after the last one ends. A group is named
once, on its first card (.easysearch__label →
.easysearch__group), by the most specific category it has: the
sub-category, or the top-level category for parts that sit directly on it.
assets/easysearch.js assembles this from the
data-section / data-group attributes the
card grid renders; the markup below is that shape, held still so the label band can be read.
Both cases are here: a group named by its sub-category (two cards, only the first labelled), and one named by its top-level category. Heading levels are set at assembly time, not here — the live page runs h2 → h3 → card title, one step at a time.
snippets/facet-list.liquid — Shopify's native facets as form
controls, with no form of its own: the caller supplies one. The collection page passes
collection.filters, the search page passes
search.filters. A facet offering a single choice is hidden
(it cannot narrow anything), long lists fold behind a no-JS "show more", and the first
few open.
It cannot be rendered here. Shopify populates filters
only on a collection or search template — iterating collections from a
page returns them empty, which is verified, not assumed. See it live on
the product listing or on
a search.
Category: Važiuoklė ir priedai — list, extras and diagram render
from the same mega_panel metaobject, so numbering cannot drift.
snippets/cart-line.liquid and snippets/cart-set.liquid,
rendered from demo values: both take plain parameters, because Liquid cannot build a line item.
On /cart the section renders the loose lines first, then one set per
distinct private _gs_set key, its lines in part order, and warns when a
set's fittings do not come to one per spring end. Each quantity is named
updates[<line key>]. Remove set submits a form the cart renders
after its own form, so on this page it does nothing.
A loose line, a loose line with a visible property, and one with its image and a variant title (the end-fittings collection's first image, as the fitting demos above use):
A set with a fitting at each end, whose quantities match:
8010-0660-1200 | tube end 6820015 | rod end 6820103 | 719 mm centre to centre | fittings fitted
A set with the same fitting at both ends, one short of two per spring:
8010-0660-1200 | both ends 6820015 | 716 mm centre to centre | fittings fitted
Patikrinkite kiekius: kiekvienai spyruoklei reikia po vieną antgalį kiekvienam galui.A set whose fittings were taken out of the cart, and whose lines carry no set value (added by hand, not by the finder): the check flags it, no "delivered fitted" note shows, and the group is named by its heading alone:
snippets/regnr-plate.liquid — the plate band at the head of a
reg-no field, drawn as vector so it stays sharp at any size and takes its letters from the
theme font. Which one a visitor sees is the market's call first: on a market in a listed
country the server lights that plate (snippets/regnr-country.liquid).
Elsewhere assets/regnr-country.js lights the visitor's own plate by IP,
but only for a country in the fallback list. Nothing shows for anyone else, or without JS off
a pinned market, because a reg-no lookup only returns anything for registries the backend can reach. Below they are
shown unconditionally, at header, hero and inspection size.
DK is drawn but not offered: nobody has confirmed that Danish plates resolve. SE and NO are the countries currently listed.
A saved reg-nr search (localStorage, assets/trailer-context.js):
<trailer-chip> completes the header plate motif and links to the
trailer's parts; <trailer-fit> confirms fitment on a product when a
SKU matches the saved parts. Both stay hidden without a saved trailer — and without JS.
The demo buttons exercise the real store (they write this browser's localStorage).
trailer-chip — in the search shell (empty until saved)
trailer-filter — the bar a CATEGORY page shows when the saved trailer has parts in it
(assets/trailer-filter.js). Both states, held still: the offer, and
the filter switched on. On its real page the second state also hides the category's count,
sort, facets, grid and pagination — those describe the unfiltered collection — and puts the
fitting parts in their place. The bar renders nothing at all where the trailer has no parts,
which is why it cannot be demonstrated in-situ here.
Šios kategorijos dalių, tinkančių ABC123: 5
Rodoma dalių, tinkančių ABC123: 5
trailer-fit — on a product whose SKU is among the saved parts:
snippets/newton-calculator.liquid renders the dialog and nothing
else. The caller owns the opener — any button whose data-newton-open
holds the dialog's id — and names the two inputs the result fills, here the demo fields below.
It is never rendered open on this page: an open scroll-lock dialog
would lock the whole styleguide. Its states are reached from the button: empty on open (no
field has a default); each empty, zero or unreadable field named after Calculate, and a
number of springs above what Springs per lid takes (that input's own max, 6 here); and
the result — 18 kg, 900, 200 and 2 springs give "About 240 N per spring".
Use fills both fields, closes the dialog and returns focus to the force field.
Without JS nothing opens it, so the finder hides its opener and states the rule in words.
Invites a company to become a dealer where the page shows the visitor no dealers: in the buy box (inline) and the footer. It renders hidden and country-gate.js reveals it when ValerydDealer.country() names no country; on a market that pins a dealer country it is not rendered, and with the dealer_join_page setting empty it renders nowhere. Shown here ungated. To see the live gate on a product page, set sessionStorage['valeryd:geo:v1'] = '{"country":"DE","supported":false}' (shown) or '{"country":"SE","supported":true}' (hidden) and reload.
Valeryd's own brands and quality marks (X-TECH, the ECE R90 lifetime warranty badge, Easy Search, Powered by Sweden) as theme assets. The logos are white, so they sit on the navy scheme. Used in the footer under the social icons (marks: 'all') and, on a wide screen, in the header beside the search (marks: 'header', X-TECH and Powered by Sweden only). Each is switched on with its own show_brands theme setting.
Theme blocks (hero, USP bar, product title/price/buy/description/store-availability, collection filters, EasySearch lookup) carry their own scoped CSS and merchant settings, so they're demonstrated in-situ on their real pages — hero/USP/EasySearch on the home, filters on a collection, the hairline-framed USP bar section below the product page's main section, and the "Complete your purchase" accordion rail (equivalents + curated metafield + "fits your trailer" + native recommendations) at the bottom of a product page — rather than re-rendered here. The product page is one main-product section holding three zones of a single grid: the gallery and the scan-info column (title/tagline/rating/top-3 USPs and the description's first paragraph) on the first row, the deep-dive zone spanning both of those columns on the second (its own Product details heading, then the full description and the accordion trio specifications / manuals & guides / manufacturer information), and a sticky buy box spanning both rows on the right, carrying the price, the personal "fits your trailer" confirmation, and the dealer-availability badge + modal. The scan column's blocks are static, so the block list belongs to the deep-dive zone — the zone a merchant extends. The product-description block runs in two modes — preview up in the scan zone, full down in the deep-dive zone — and the one anchor link joins them: it scrolls to the full copy and lifts its gradient fade via :target, so the whole reveal works with JS disabled and never depends on author CSS un-hiding a closed <details>. This block library covers the reusable snippet components above. One exception the in-situ rule cannot cover: a usp-item carrying a countries value renders openly only on a market whose country it names. Elsewhere it renders hidden, and country-gate.js reveals it only for a visitor from a country it names that is also in the dealer fallback list (SE,NO). With only the EU-26 market active, a German visitor never sees it and a Swedish one does. To inspect the revealed state, set sessionStorage['valeryd:geo:v1'] = '{"country":"SE"}' and reload; to confirm the hidden state actually hides, check the element's geometry rather than its hidden property, since .usp-item sets display and would otherwise paint while reporting itself hidden.