GLYDE America

BigCommerce Developer · E-Commerce

On behalf of We Are Elevated

A custom BigCommerce theme for GLYDE America: a new homepage, product page template, header and footer, built on Cornerstone from the agency's Figma.

Overview

GLYDE America sells vegan condoms, dams and lubes on BigCommerce. We Are Elevated brought me in to turn their new Figma design into a theme covering the homepage, the product detail page, and a new header and footer for the whole store, while cart, checkout and category pages stayed on Cornerstone. Another developer had started the theme with a hero section; I wrote the estimate, then built and launched the rest.

The homepage has 13 sections, and its shelves, product trio and comparison all draw on one GraphQL query in the template's front matter, so one server render brings in every product the page shows. The API returns products in catalog order, so the trio is matched by product id.

BigCommerce caps a theme's settings schema at 64KB and each setting's value at 64 characters. The character limit blocked the first upload. Long copy moved into language files, the schema finished at 61KB across 359 settings, and I added a validation script so a later edit can't break an upload the same way.

The catalog stores each size and pack count as its own product, so the product page stitches them back together. Size, flavor and count tiles link sibling products, count siblings are found by category and the pack size in the product name, and savings on bigger packs are worked out live. Each product takes an accent color from its category, which the client can override per product, and the stars and review carousel read the store's real reviews. The whole page runs on one server-rendered GraphQL query, which I had to cut back after a draft scored 12,566 against BigCommerce's complexity limit of 10,000.

The theme went live on October 21, with the old theme kept as a rollback. The new product page is now the default for every product in the store. The client hides sections, edits per-product copy and picks the "Pairs well with" products from the BigCommerce admin.

Technical highlights

  • Cornerstone 6.21 customized in place with Stencil, Handlebars, SCSS and the GraphQL Storefront API.
  • Homepage shelves and the product trio come from one front-matter GraphQL query, with the trio matched by product id because the API returns catalog order.
  • Theme schema held under BigCommerce's 64KB cap at 61KB across 359 settings, with long copy in language files to stay inside the 64-character value limit.
  • Product page query trimmed after a draft exceeded the 10,000-point complexity limit.
  • Count tiles find sibling products by category and pack size, and pack savings are computed live.
  • A catalog audit found two purchase paths to the same 36-pack, flagged for the team.

What shipped

  • Homepage with 13 custom sections
  • Product page template, default on every product
  • Size, flavor and pack-count tiles linking sibling products
  • Per-product accent colors with an admin override
  • One server-rendered GraphQL query per page
  • Section toggles and copy fields the client edits without code
  • Custom header and footer across the store
  • Schema validation script for theme uploads

Stack

BigCommerce, Stencil, Cornerstone, Handlebars, SCSS, GraphQL, JavaScript

Screens

GLYDE America, screen 1 of 9GLYDE America, screen 2 of 9GLYDE America, screen 3 of 9GLYDE America, screen 4 of 9GLYDE America, screen 5 of 9GLYDE America, screen 6 of 9GLYDE America, screen 7 of 9GLYDE America, screen 8 of 9GLYDE America, screen 9 of 9

Visit the live site