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:
Ümit Tunç
2026-01-06 21:18:25 +03:00
parent 194e575619
commit 36471b5965
6 changed files with 40 additions and 2 deletions
@@ -61,6 +61,10 @@ class ProductForm
->label(__('products.view_template'))
->placeholder(__('products.view_template_placeholder'))
->helperText(__('products.view_template_helper')),
TextInput::make('external_url')
->label(__('products.external_url'))
->url()
->helperText(__('products.external_url_helper')),
TextInput::make('sort_order')
->label(__('products.sort_order'))
->numeric()