coupon code system eingeführt. coupons werden vom super admin gemanaged. coupons werden mit paddle synchronisiert und dort validiert. plus: einige mobil-optimierungen im tenant admin pwa.

This commit is contained in:
Codex Agent
2025-11-09 20:26:50 +01:00
parent f3c44be76d
commit 082b78cd43
80 changed files with 4855 additions and 435 deletions

View File

@@ -198,4 +198,31 @@ return [
'contact' => [
'success' => 'Thanks! We will get back to you soon.',
],
'coupon' => [
'label' => 'Coupon code',
'placeholder' => 'Enter your coupon code',
'apply' => 'Apply coupon',
'remove' => 'Remove coupon',
'applied' => 'Coupon :code applied. You save :amount.',
'summary_title' => 'Updated order summary',
'fields' => [
'subtotal' => 'Subtotal',
'discount' => 'Discount',
'tax' => 'Tax',
'total' => 'Total after discount',
],
'errors' => [
'required' => 'Please enter a coupon code.',
'not_found' => 'We could not find this coupon.',
'inactive' => 'This coupon is not active anymore.',
'disabled' => 'This coupon cannot be used at checkout.',
'not_applicable' => 'This coupon is not valid for the selected package.',
'limit_reached' => 'This coupon was already used the maximum number of times.',
'currency_mismatch' => 'This coupon cannot be used with the selected currency.',
'not_synced' => 'This coupon is not ready yet. Please try again later.',
'package_not_configured' => 'This package is not available for coupon redemptions.',
'login_required' => 'Please log in to use this coupon.',
'generic' => 'We could not apply this coupon. Please try another one.',
],
],
];