Add Woo Manager Pro with multi-store switching and free-tier limits.
Deploy Ladill Woo Manager / deploy (push) Successful in 51s
Deploy Ladill Woo Manager / deploy (push) Successful in 51s
Free: 1 store and 20 products. Pro/Business mirrors Invoice pricing (GHS 49/149) with wallet renewals, Paystack prepay, session-based store switcher, and scoped UI. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -14,4 +14,30 @@ return [
|
||||
'product_category.updated',
|
||||
'product_category.deleted',
|
||||
],
|
||||
|
||||
'pro' => [
|
||||
'enabled' => filter_var(env('WOO_PRO_ENABLED', true), FILTER_VALIDATE_BOOLEAN),
|
||||
'price_minor' => (int) env('WOO_PRO_PRICE_MINOR', env('INVOICE_PRO_PRICE_MINOR', 4900)),
|
||||
'currency' => env('WOO_PRO_CURRENCY', 'GHS'),
|
||||
'period_days' => (int) env('WOO_PRO_PERIOD_DAYS', 30),
|
||||
'grace_days' => (int) env('WOO_PRO_GRACE_DAYS', 3),
|
||||
],
|
||||
|
||||
'plans' => [
|
||||
'pro' => ['price_minor' => (int) env('WOO_PRO_PRICE_MINOR', env('INVOICE_PRO_PRICE_MINOR', 4900))],
|
||||
'enterprise' => ['price_minor' => (int) env('WOO_ENTERPRISE_PRICE_MINOR', env('INVOICE_ENTERPRISE_PRICE_MINOR', 14900))],
|
||||
],
|
||||
|
||||
'prepaid_months' => [6, 12, 24],
|
||||
|
||||
'free' => [
|
||||
'max_stores' => (int) env('WOO_FREE_MAX_STORES', 1),
|
||||
'max_products' => (int) env('WOO_FREE_MAX_PRODUCTS', 20),
|
||||
],
|
||||
|
||||
'upgrade_banner' => [
|
||||
'title' => 'Unlock Woo Manager Pro or Business',
|
||||
'description' => 'Multiple stores and unlimited products — from GHS 49/mo.',
|
||||
'route' => 'woo.pro.index',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user