Coupon codes with percentage and fixed discounts for Payload ecommerce carts
Order Numbers
Sequential, human readable order numbers that stay unique under concurrency
Installation
pnpm add payload-order-numbers About
Order Numbers gives each order in a Payload shop a short reference such as ORD-01042 that a customer and a shop can read out loud. Numbers are handed out in sequence, and two orders placed at the same moment do not receive the same number. It works with the official ecommerce plugin and with any collection that holds orders.
You set the text before and after the number, the zero padding and the first value of the sequence. Orders created before the plugin was added keep an empty number. PostgreSQL sites need a larger database connection pool when many orders arrive at the same instant.
Package info
- Package name
payload-order-numbers- Latest version
1.0.2- Unpacked size
- 16 kB
- License
- MIT
- Weekly downloads
- 180
- Last publish
- Nov 17, 2026
More from Poseidonas
View profileSells digital products with signed download links that expire and stop on refund
Adds order states, status history, internal notes and tracking to orders
Sends transactional emails when orders are created or change status
Records full and partial refunds per order line, with optional restock and audit trail
Customer product reviews with verified purchase badges and moderated star ratings