Visual workflow builder that runs steps when documents change or webhooks fire
eCommerce
Adds products, carts, orders and coupons with stock tracking and checkout helpers
Installation
pnpm add @xtr-dev/payload-ecommerce About
eCommerce gives a Payload site a shop backend. It adds collections for products with variants, categories, carts for signed-in users and guest sessions, orders with status and payment fields, and coupons with percentage, fixed amount and free shipping discounts. Stock is checked and reduced when an order is created, so concurrent orders cannot oversell, and stock and coupon use are returned when an order is cancelled or refunded.
A server-side helper lets your storefront read carts, create orders, validate coupon codes and query products without building the access logic yourself. Tax comes from a hook you write, so you can use a fixed rate, a rule per region or an external tax service. Payment processing and shipping rates are not included, so you connect your own payment provider.
Package info
- Package name
@xtr-dev/payload-ecommerce- Latest version
0.3.0- Unpacked size
- 455 kB
- License
- MIT
- Weekly downloads
- 444
- Last publish
- Nov 28, 2026
More from xtr-dev
View profilePayments, invoices and refunds through Stripe, Mollie or a local test provider
Adds a notifications collection with channels, read tracking and web push
Feature flags with rollouts and A/B variants managed from the admin panel
Template-based email with scheduling, retries and queued sending from Payload collections
Similar plugins
More in CommerceSyncs Printify print-on-demand products and orders with a Payload ecommerce store
Patreon-style memberships and category pledges billed as Stripe subscriptions
Tracks lab sample kits from stock to keeper and back, with a custody trail
Tracks supplies and builds multi-part kits from them, with low-stock alerts
Supplier lists and purchase orders that draft reorders from your stock levels