PHPackages                             pantheon-systems-ps/pantheon\_nextjs\_commerce\_demo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. pantheon-systems-ps/pantheon\_nextjs\_commerce\_demo

ActiveDrupal-recipe

pantheon-systems-ps/pantheon\_nextjs\_commerce\_demo
====================================================

E-commerce vertical for the decoupled Next.js-on-Pantheon demo: registers the commerce front end (next\_site) plus its menu and retail demo content.

1.0.0(today)01↑2900%GPL-2.0-or-later

Since Jul 28Pushed todayCompare

[ Source](https://github.com/pantheon-systems-ps/pantheon_nextjs_commerce_demo)[ Packagist](https://packagist.org/packages/pantheon-systems-ps/pantheon_nextjs_commerce_demo)[ RSS](/packages/pantheon-systems-ps-pantheon-nextjs-commerce-demo/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

Pantheon Next.js: E-commerce
============================

[](#pantheon-nextjs-e-commerce)

The E-commerce vertical for the decoupled Drupal + Next.js architecture. Applied on top of `pantheon_nextjs_multi_demo`, it turns the shared Drupal backend into the content source for a retail storefront front end.

Requirements
------------

[](#requirements)

- [`pantheon-systems-ps/pantheon_nextjs_multi_demo`](../pantheon_nextjs_multi_demo): the global backbone recipe, which defines the shared content model and per-site association field. It is a hard dependency and is applied automatically.
- Drupal core 10.4 or newer and `drupal/next`, both inherited from the backbone recipe.

What it adds
------------

[](#what-it-adds)

- **`next.next_site.commerce`**: registers the E-commerce Next.js front end, with base, preview, and revalidate URLs. The base URL is a recipe input (`base_url`), overridable per environment.
- **`product` content type**: a retail Product type (body, image, price), with a URL alias pattern and its Next.js site-resolver configuration.
- **`commerce_event` content type**: the store-specific Event type (date, location, hero image, virtual-event flag), plus its Next.js site-resolver configuration.
- **`nextjs-commerce` navigation menu**: the storefront navigation, with the Page content type wired to use it.
- **Demo content** tagged to the `commerce` front end via `field_next_site`: 4 pages, 1 article, 6 products, and 1 event, with their images and menu links. Only the E-commerce front end renders this content.

Apply
-----

[](#apply)

```
composer require pantheon-systems-ps/pantheon_nextjs_commerce_demo
drush recipe recipes/pantheon_nextjs_commerce_demo
drush cache:rebuild
```

Set the front-end base URL for your environment:

```
drush recipe recipes/pantheon_nextjs_commerce_demo \
  --input=pantheon_nextjs_commerce_demo.base_url=https://your-store-frontend.example
```

Requiring or applying this recipe pulls in and applies [`pantheon_nextjs_multi_demo`](../pantheon_nextjs_multi_demo) first.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance100

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/519297?v=4)[Will Jackson](/maintainers/willjackson)[@willjackson](https://github.com/willjackson)

---

Top Contributors

[![willjackson](https://avatars.githubusercontent.com/u/519297?v=4)](https://github.com/willjackson "willjackson (1 commits)")

### Embed Badge

![Health badge](/badges/pantheon-systems-ps-pantheon-nextjs-commerce-demo/health.svg)

```
[![Health](https://phpackages.com/badges/pantheon-systems-ps-pantheon-nextjs-commerce-demo/health.svg)](https://phpackages.com/packages/pantheon-systems-ps-pantheon-nextjs-commerce-demo)
```

###  Alternatives

[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M425](/packages/drupal-core-recommended)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
