Add External URL Field to Product Schema and Localization: Introduced an 'external_url' field in the ProductForm for enhanced product management. Updated the Product model to include this new field and created a migration to add it to the products table. Enhanced localization support by adding relevant translations in both English and Turkish language files. Updated the menu-item Blade component to utilize the external URL, allowing links to open in a new tab if provided, improving user experience.
This commit is contained in:
@@ -17,6 +17,8 @@ return [
|
||||
'view_template' => 'Custom View Path',
|
||||
'view_template_placeholder' => 'e.g. front.products.custom-page',
|
||||
'view_template_helper' => 'Leave empty to use the default landing page.',
|
||||
'external_url' => 'External URL',
|
||||
'external_url_helper' => 'If filled, the menu link will open this URL in a new tab.',
|
||||
'sort_order' => 'Sort Order',
|
||||
'is_active' => 'Active',
|
||||
'translations_section' => 'Translations',
|
||||
|
||||
@@ -17,6 +17,8 @@ return [
|
||||
'view_template' => 'Özel Görünüm Yolu',
|
||||
'view_template_placeholder' => 'örn: front.products.ozel-sayfa',
|
||||
'view_template_helper' => 'Varsayılan şablonu kullanmak için boş bırakın.',
|
||||
'external_url' => 'Harici URL',
|
||||
'external_url_helper' => 'Eğer dolu ise, menüde bu linke yeni sekmede gidilir.',
|
||||
'sort_order' => 'Sıralama',
|
||||
'is_active' => 'Aktif',
|
||||
'translations_section' => 'Çeviriler',
|
||||
|
||||
Reference in New Issue
Block a user