symfinity/ux-blocks-ecommerce
Composer 安装命令:
composer require symfinity/ux-blocks-ecommerce
包简介
Shop section Twig components
关键字:
README 文档
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)
Support
License
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-27