iquesters / commerce
Selling for the iquesters modules: products, prices, discounts and coupon codes, then sales orders and receipts (membership fees, event tickets...).
Requires
- php: ^8.3
- iquesters/foundation: ^2.0
- iquesters/organisation: ^2.0
- iquesters/user-interface: ^2.0
- laravel/framework: ^12.0|^13.0
- spatie/laravel-permission: ^8.0
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.18
- laravel/sanctum: ^4.0
- orchestra/testbench: ^10.0|^11.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-26 20:39:19 UTC
README
Selling for apps built on the iquesters modules: products, prices, discounts and coupon codes; sales orders and receipts next. (Formerly iquesters/product.) Other modules sell through it: community's membership plans, event tickets, merchandise, donations.
What it does
- Products of an organisation: name, type (membership, ticket, merchandise, donation, other), price and currency.
- Discounts: percent or fixed, on one product, every product of a type, or all of an organisation's products; with dates and use limits (in total and per person).
- Automatic (e.g. "Early bird") or with a coupon code people enter.
- Pricing:
Pricing::quote($product, $buyer, $code)gives the list price, the discount and the final price (or why a code was refused);Pricing::redeem(...)records a use. - Admin screens: Products, and Discounts & coupons, on the generic table (both modes) and form schemas. Super-admins see all organisations; organisation admins see theirs.
Sales orders and receipts come next, in this module. Payment gateways (Axis / ICICI) will be a separate payment module.
Install
composer require iquesters/commerce php artisan migrate php artisan commerce:seed
Requires iquesters/foundation, iquesters/user-interface and iquesters/organisation (2.x).