more product types (events, subscriptions, digital goods), photos templates index/view
This commit is contained in:
@@ -11,13 +11,19 @@ enum ProductProductTypeId: int implements EnumLabelInterface
|
||||
case Service = 1;
|
||||
case Product = 2;
|
||||
case Consumable = 3;
|
||||
case DigitalGood = 4;
|
||||
case Subscription = 5;
|
||||
// case Event = 5;
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match($this) {
|
||||
self::Service => 'Service',
|
||||
self::Product => 'Product',
|
||||
self::Consumable => 'Consumable'
|
||||
self::Consumable => 'Consumable',
|
||||
self::DigitalGood => 'Digital Good',
|
||||
self::Subscription => 'Subscription',
|
||||
// self::Event => 'Event',
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user