Search by

sunrice / commerce

littleboy130491

An e-commerce package for Sunrice CMS: catalog, cart, checkout, orders, payments, shipping, promotions and customer accounts.

v0.4.0 2026-11-21 14:10 UTC

This package is auto-updated.

Last update: 2026-11-27 01:57:04 UTC


README

An e-commerce package for Sunrice CMS: catalog (simple, variable, bundle, physical, digital products), cart and checkout, orders, payments (bank transfer with confirmation, QRIS, COD, gateway packages), shipping (zones, Indonesian regions), promotions (pricing rules, flash sales, vouchers), customer accounts (built on sunrice/account: password, emailed codes, Google), invoices and packing slips, store analytics and MCP tools — with every feature switchable from Settings → Store.

Quick start

composer require sunrice/commerce
php artisan sunrice:install --plugins   # the Sunrice panel, with the Accounts and Commerce plugins on it
php artisan account:install             # customer accounts (sunrice/account, installed with commerce)
php artisan commerce:install --demo

Your panel provider ends up with both plugins; add the Users screen that lists staff only:

$panel->userResource(AccountUserResource::class)
    ->plugin(CmsPlugin::make())->plugin(AccountPlugin::make())->plugin(CommercePlugin::make());

Every order belongs to a customer account: visitors browse and fill a cart freely, and sign in (one email field, with an emailed code) when they check out.

Then run the scheduler and a queue worker, set up mail, and open the admin → Shop → Dashboard: a checklist leads you through the rest. Details in docs/installation.md.

Requirements are PHP 8.4+, Laravel 13, Sunrice Admin and CMS 0.8.1+, sunrice/account 0.2.1+ and SQLite, MySQL or PostgreSQL. The admin bundle is prebuilt.

Documentation

Setup Installation · Configuration · Upgrading · Commands
Modules Features · Catalog · Pricing
Selling Checkout · Orders · Payments · Shipping · Regions
Customers and output Accounts · Emails · Marketing emails · Documents
Storefront Templates · Blade components · Helpers · Interface audit
Insights and integrations Analytics · AI agents · Webhooks
Extending Extending · Building an extension package

Design documents

Document Purpose
SPEC.md Behaviour: what the store does
ARCHITECTURE.md Design: modules, data model, pipelines, contracts, upstream CMS changes
EXECUTION_PLAN.md Ordered tasks with dependencies and done criteria
AGENTS.md Rules for contributors and AI agents
CHANGELOG.md Changes per release

License

MIT.