You'll run your next platform for a decade. 12 criteria to choose it well.
Get your copy
Virtocommerce
Home Integrations Storefronts x Virto Commerce

Storefronts x Virto Commerce

Virto Commerce is headless by design. Commerce logic lives in the platform (catalog, pricing, orders, accounts) and every piece of it is accessible through xAPI, Virto’s GraphQL and REST interface. The storefront sits on top of that layer, built with whatever frontend technology fits the project: Virto’s own starter frameworks, a custom Vue.js or React application, or a CMS-driven experience using a headless CMS integration.

About Virto's Storefront Architecture

Virto Commerce’s xStorefront framework provides two out-of-the-box starting points for building storefronts. The Vue.js Starter Theme is a production-ready theme built with Vue.js and Tailwind CSS, with Server Side Rendering, dynamic routing, and authentication handled by the xStorefront runtime. The ASP.NET Core Storefront Runtime provides the host environment for custom themes and handles security, session management, and API communication with the Virto platform.

Both frameworks connect to Virto’s xAPI layer (GraphQL for frontend applications and REST for integrations) giving development teams a consistent, stable interface between the storefront and commerce logic.

How Virto's Storefront Layer Works

Virto’s headless architecture separates the frontend completely from commerce logic. The storefront queries Virto’s xAPI for the data it needs (product catalog, pricing, inventory, account data, cart, and checkout) and renders it in whatever way the project requires. Commerce rules, pricing logic, and account structures stay in the platform and are accessible to any frontend consuming the xAPI.

The storefront approach generally covers:

  • Vue.js Starter Theme with SSR, dynamic routing, and Tailwind CSS styling as a customizable starting point
  • ASP.NET Core Storefront Runtime as the host environment for themes and custom storefront solutions
  • xAPI GraphQL layer optimized for frontend consumption, reducing overfetching and improving performance
  • xAPI REST layer for integrations and server-side operations
  • Multi-store support through Virto Commerce Storefront Kit, allowing multiple brands and storefronts to run on the same commerce backend
  • CMS integration options for content-driven storefront experiences alongside commerce data

Implementation Approach

Virto Commerce’s headless, API-first architecture means storefront development starts from a stable commerce foundation rather than from scratch. Integration accelerators and starter themes reduce initial development effort while preserving full flexibility to customize and extend.

Key considerations: whether to start from Virto’s Vue.js or ASP.NET Core starter frameworks or build a custom frontend, how content will be managed alongside commerce data, number of storefronts and brands, and whether SSR is required for performance or SEO.

Use Cases

Building a B2B buyer portal on top of Virto's xAPI

B2B enterprises need storefronts that reflect account-specific pricing, customer hierarchies, contract terms, and order history accurately. Because all of that logic lives in Virto’s platform and is exposed through xAPI, a storefront built on top of it gets accurate, account-specific data without duplicating business logic in the frontend layer.

THE RESULT

The storefront reflects the buyer’s actual account context (pricing, catalog, terms) sourced directly from Virto’s platform rather than maintained separately in the frontend.

GUIDE

Frontend Application documentation