symfinity / ux-blocks-ecommerce
Shop section Twig components
Package info
github.com/symfinity/ux-blocks-ecommerce
Type:symfony-bundle
pkg:composer/symfinity/ux-blocks-ecommerce
Requires
- php: >=8.2
- symfinity/ux-blocks-core: ^0.1
- symfinity/ux-blocks-marketing: ^0.1
- symfony/browser-kit: ^8.1
- symfony/config: ^8.1
- symfony/css-selector: ^8.1
- symfony/dependency-injection: ^8.1
- symfony/framework-bundle: ^8.1
- symfony/http-foundation: ^8.1
- symfony/http-kernel: ^8.1
- symfony/stimulus-bundle: ^2.0|^3.0
- symfony/twig-bundle: ^8.1
- symfony/ux-twig-component: ^2.0|^3.0
- symfony/yaml: ^8.1
Requires (Dev)
- phpstan/phpstan: ^2.1
- phpstan/phpstan-symfony: ^2.0
- phpunit/phpunit: ^10.5 || ^11.0
This package is auto-updated.
Last update: 2026-06-27 14:52:07 UTC
README
UX Blocks Ecommerce
Shop section Twig components
Note
Read-only mirror. See CONTRIBUTING.md for how to propose changes.
Features
- 10 shop section roles — product cards, cart, checkout, orders, and promos
- Native-first (
nat) — marketing-style sections styled with ui-kernel tokens - Registry-aligned —
blocks.shop.*fragment ids - Explicit opt-in tier — never pulled in by
symfinity/ux-blocks-full - Flex recipe — bundle registration on install
Component inventory
| Role | Twig | Interaction | Fragment | Status |
|---|---|---|---|---|
| product-overview | ProductOverview | nat | blocks.shop.product-overview |
shipped |
| product-list-section | ProductListSection | nat | blocks.shop.product-list-section |
shipped |
| product-card | ProductCard | nat | blocks.shop.product-card |
shipped |
| shopping-cart-layout | ShoppingCartLayout | nat | blocks.shop.shopping-cart-layout |
shipped |
| checkout-form-section | CheckoutFormSection | nat | blocks.shop.checkout-form-section |
shipped |
| category-filters-static | CategoryFiltersStatic | nat | blocks.shop.category-filters-static |
shipped |
| order-summary | OrderSummary | nat | blocks.shop.order-summary |
shipped |
| order-history | OrderHistory | nat | blocks.shop.order-history |
shipped |
| promo-incentives | PromoIncentives | nat | blocks.shop.promo-incentives |
shipped |
| cart-drawer-quickview | CartDrawerQuickview | stl | blocks.shop.cart-drawer-quickview |
shipped |
Highlights: composable product list and overview sections; checkout and order summary layouts; cart drawer quickview when interactive tier is present.
Handbook: docs/components.md.
Prerequisites
Add the symfinity/recipes Flex endpoint to your project's composer.json (see recipes README) — recipes are not in Symfony's official recipe repository yet.
Installation
Explicit opt-in — add only when you ship storefront pages. See UX Blocks install profiles.
composer require symfinity/ux-blocks-ecommerce
See Installation.
Quick Start
<twig:ProductOverview title="Classic Tee" price="29.00" /> <twig:ProductListSection title="You may also like" />
See Quick start for the full walkthrough.
Documentation
- Quick start — minimal setup path
- Installation — Flex, dependencies, verify
- Configuration — bundle and app options
- Components — role index and examples
- Usage — day-to-day patterns
- Upgrade — version migrations
Requirements
- PHP 8.2 or higher
- Symfony 7.4 or 8.x
symfinity/ux-blocks-core^0.1symfinity/ux-blocks-marketing^0.1 (installed automatically)