mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
29 lines
989 B
YAML
29 lines
989 B
YAML
Sylius\Component\Core\Model\Promotion:
|
|
promotion_active:
|
|
code: 'promotion_active'
|
|
name: 'Active promotion with expired coupon'
|
|
description: 'This promotion is active but the coupon has already expired'
|
|
channels: ['@channel_web']
|
|
priority: 1
|
|
exclusive: true
|
|
appliesToDiscounted: false
|
|
usageLimit: 1
|
|
used: 0
|
|
couponBased: true
|
|
translations:
|
|
- '@promotion_active_en'
|
|
|
|
Sylius\Component\Promotion\Model\PromotionTranslation:
|
|
promotion_active_en:
|
|
locale: 'en_US'
|
|
label: 'Active promotion with expired coupon'
|
|
translatable: '@promotion_active'
|
|
|
|
Sylius\Component\Core\Model\PromotionCoupon:
|
|
promotion_coupon_expired:
|
|
code: 'PROMOTION_COUPON_EXPIRED'
|
|
usageLimit: null
|
|
perCustomerUsageLimit: null
|
|
reusableFromCancelledOrders: false
|
|
promotion: '@promotion_active'
|
|
expiresAt: <dateTimeBetween('-2 month', '-1 month')>
|