feat: Add IT Support catalog and related migrations, seeders, and email templates
- Created migration to add 'group_label' to 'product_type_fields' table. - Implemented ItSupportCatalogSeeder to populate IT Support features and tiers. - Added ProductCategorySeeder for initial product categories. - Developed ProductMockupSeeder for mockup products in various categories. - Introduced ProductTypeFieldSeeder to define fields for different product types. - Created email templates for VPS service information and service renewal reminders.
This commit is contained in:
@@ -29,6 +29,7 @@ class Product extends Model
|
||||
'gpu',
|
||||
'disk',
|
||||
'bandwidth',
|
||||
'domain_count',
|
||||
'stock',
|
||||
'is_unlimited',
|
||||
'is_active',
|
||||
@@ -39,6 +40,7 @@ class Product extends Model
|
||||
'module_host_id',
|
||||
'module_datastore_id',
|
||||
'published_at',
|
||||
'features',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
@@ -47,6 +49,7 @@ class Product extends Model
|
||||
'published_at' => 'date',
|
||||
'gallery' => 'array',
|
||||
'product_type' => 'string',
|
||||
'features' => 'array',
|
||||
];
|
||||
|
||||
protected static function boot()
|
||||
|
||||
Reference in New Issue
Block a user