From 79f26bfcd879108809bdae524fbaa2f718bea6d3 Mon Sep 17 00:00:00 2001 From: condor2 Date: Fri, 2 Feb 2024 13:06:26 +0200 Subject: [PATCH] Added 'small' bootstrap class in Product/Category Form --- upload/admin/controller/catalog/category.php | 1 + upload/admin/language/en-gb/catalog/category.php | 1 + .../view/template/catalog/category_form.tpl | 8 +++++++- .../admin/view/template/catalog/product_form.tpl | 16 ++++++++++++++++ 4 files changed, 25 insertions(+), 1 deletion(-) diff --git a/upload/admin/controller/catalog/category.php b/upload/admin/controller/catalog/category.php index 4b76ef20..b894d53c 100644 --- a/upload/admin/controller/catalog/category.php +++ b/upload/admin/controller/catalog/category.php @@ -334,6 +334,7 @@ protected function getForm(): void { $data['entry_status'] = $this->language->get('entry_status'); $data['entry_layout'] = $this->language->get('entry_layout'); + $data['help_parent'] = $this->language->get('help_parent'); $data['help_filter'] = $this->language->get('help_filter'); $data['help_keyword'] = $this->language->get('help_keyword'); $data['help_top'] = $this->language->get('help_top'); diff --git a/upload/admin/language/en-gb/catalog/category.php b/upload/admin/language/en-gb/catalog/category.php index 88295bb1..b9488323 100644 --- a/upload/admin/language/en-gb/catalog/category.php +++ b/upload/admin/language/en-gb/catalog/category.php @@ -32,6 +32,7 @@ $_['entry_layout'] = 'Layout Override'; // Help +$_['help_parent'] = '(Autocomplete)'; $_['help_filter'] = '(Autocomplete)'; $_['help_keyword'] = 'Do not use spaces, instead replace spaces with - and make sure the SEO URL is globally unique.'; $_['help_top'] = 'Display in the top menu bar. Only works for the top parent categories.'; diff --git a/upload/admin/view/template/catalog/category_form.tpl b/upload/admin/view/template/catalog/category_form.tpl index b72f4096..ea4f80e9 100644 --- a/upload/admin/view/template/catalog/category_form.tpl +++ b/upload/admin/view/template/catalog/category_form.tpl @@ -85,6 +85,7 @@
+
@@ -95,6 +96,7 @@
+
@@ -139,6 +141,7 @@
+
@@ -160,14 +163,17 @@ -   +   +
+
+
diff --git a/upload/admin/view/template/catalog/product_form.tpl b/upload/admin/view/template/catalog/product_form.tpl index 2d95c432..7610a737 100644 --- a/upload/admin/view/template/catalog/product_form.tpl +++ b/upload/admin/view/template/catalog/product_form.tpl @@ -88,6 +88,7 @@
+
@@ -108,36 +109,42 @@
+
+
+
+
+
+
@@ -177,6 +184,7 @@
+
@@ -205,6 +213,7 @@ +
@@ -234,6 +243,7 @@
+
@@ -325,6 +335,7 @@
+
@@ -332,6 +343,7 @@
+
@@ -345,6 +357,7 @@
+
@@ -389,6 +402,7 @@
+
@@ -402,6 +416,7 @@
+