From 2973d5189478aee9dec6d6521ed2c2b2e5386475 Mon Sep 17 00:00:00 2001 From: netzarbeiter Date: Wed, 24 Jul 2024 17:38:13 +0200 Subject: [PATCH] Update _index.en.md --- .../attributes/select-menu/_index.en.md | 233 ++++++++++++++++-- 1 file changed, 212 insertions(+), 21 deletions(-) diff --git a/docs/manual/backend-configuration/store-configuration/products/attributes/select-menu/_index.en.md b/docs/manual/backend-configuration/store-configuration/products/attributes/select-menu/_index.en.md index 91b1be0..d31b2e2 100644 --- a/docs/manual/backend-configuration/store-configuration/products/attributes/select-menu/_index.en.md +++ b/docs/manual/backend-configuration/store-configuration/products/attributes/select-menu/_index.en.md @@ -6,41 +6,232 @@ aliases: weight: 110 --- -{{% notice warning %}} -This article is machine translated. -{{% /notice %}} - ## Attribute Name & Type -
Setting Default Description
Use for variants - Here you can provide the attribute for configuring product variants.
Selectable by the customer - You must select this field if the customer should be able to make an entry in the frontend.
+ + + + + + + + + + + + + + + +
SettingDefaultDescription
Use for variants-Here you can provide the attribute for configuring product variants.
Selectable by the customer - You must + select this field if the customer should be able to make an entry in the frontend.
+ ## Description -
Setting Default Setting Description
Description - This description serves as a hint for the backend user and is displayed below the input field.
+ + + + + + + + + + + + + + + +
SettingDefault SettingDescription
Description-This description serves as a hint for the backend user and is displayed below the input field.
+ ## Options -
Setting Default setting Description
Options Source - Here you can select where the options for this field should be taken from. You can choose from: - Options Manager -- Own database table (foreignKey) -- Options Wizard (deprecated - -)
Options Manager
Edit Option - Add an option to the field.
New Option - Create a new option.
Group - Here you can group option (adds a `optgroup` to the option).
Default - Here you can pre-select an option (adds `selected` to the option).
Label - Here you can specify which label the option should be displayed in the backend or frontend.
Price markups or markdowns - You can enter a positive or negative value to change the product price when this option is selected.
Published - Make this option available in the product.
Own database table (foreignKey)
Foreign table and field - Instead of options you can also read data from the database. A possible query, after creating the database table and data fields, could look like this: `# Datenbankfeld für die Fallback-Sprachetl_meine_tabelle.mein_feld# Datenbankfeld für die Deutsche-Sprachede=tl_meine_tabelle.mein_feld_de# Datenbankfeld für die Französische-Sprachefr=tl_meine_tabelle.mein_feld_fr`
Options Wizard (deprecated)
Value - Here you can enter the value of the option, which should be transferred when submitting the form.
Name - Here you can specify which label the option should be displayed in the backend or frontend.
Default - Here you can pre-select an option (adds a `selected` to the option).
Group - Here you can group an option (adds `optgroup` to the option).
Insert empty selection - Here you can define an empty selection for the select menu.
Label for the empty selection - Here you can define the label for the empty selection.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SettingDefault settingDescription
Options Source-Here you can select where the options for this field should be taken from. You can choose from: +
    +
  • Options Manager
  • +
  • Own database table (foreignKey)
  • +
  • Options Wizard (deprecated)
  • +
+
Options Manager
Edit Option-Add an option to the field.
New Option-Create a new option.
Group-Here you can group option (adds a optgroup to the option).
Default-Here you can pre-select an option (adds selected to the option).
Label-Here you can specify which label the option should be displayed in the backend or frontend.
Price markups or markdowns-You can enter a positive or negative value to change the product price when this option is selected.
Published-Make this option available in the product.
Own database table (foreignKey)
Foreign table and field-Instead of options you can also read data from the database. A possible query, after creating the database table and data + fields, could look like this: +
# Database field for the fallback language +
tl_my_table.my_field +
# Database field for the German language +
de=tl_my_table.my_field_de +
# Database field for the French language +
fr=tl_my_table.my_field_fr +
Options Wizard (deprecated)
Value-Here you can enter the value of the option, which should be transferred when submitting the form.
Name-Here you can specify which label the option should be displayed in the backend or frontend.
Default-Here you can pre-select an option (adds a selected to the option).
Group-Here you can group an option (adds optgroup to the option).
Insert empty selection-Here you can define an empty selection for the select menu.
Label for the empty selection-Here you can define the label for the empty selection.
-{{% notice info %}} -Tip +{{% notice info %}}

Tip: [MetaModels](https://now.metamodel.me/) is anexcellent tool for creating and maintaining external +tables and fields.{{% /notice %}} -: [MetaModels](https://now.metamodel.me/) - is anexcellent tool for creating and maintaining external tables and fields +## Attribute configuration -. -{{% /notice %}} - ## Attribute configuration + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SettingDefault settingDescription
Mandatory field-If Selectable by the customer is selected, the product cannot be added to the shopping cart without + this information. Otherwise, the field will be displayed as a required field in the backend when creating a product.
Use the JavaScript plugin "Chosen"-This option enables the use of the JavaScript plugin "Chosen" for the selection field, allowing you to select + multiple values using a search function. {{< version "2.6" >}}
Multiple Selection-Allows the user to select more than one option.
List Size5Once Multiple Selection is selected, you can set the size of the selection box here.
-
Setting Default setting Description
Mandatory field - If `Durch den Kunden auswählbar` is selected, the product cannot be added to the shopping cart without this information. Otherwise, the field will be displayed as a required field in the backend when creating a product.
Use the JavaScript plugin "Chosen". - This option enables the use of the JavaScript plugin "Chosen" for the selection field, allowing you to select multiple values using a search function. {{< version "2.6" >}}
Multiple Selection - Allows the user to select more than one option.
List Size 5 Once 'Multiple Selection' is selected, you can set the size of the selection box here.
## Search & Filter Settings -
Setting Default setting Description
Filterable in frontend - Once this field is selected, this attribute can be used as a filter in the frontend.
Add to "Sort by" option list. - Makes the field, if maintained in the backend and visible to the customer, sortable in the list module.
Filterable in the backend - Once this field is selected, this attribute can be used as a filter in the backend.
+ + + + + + + + + + + + + + + + + + + + + + + + + +
SettingDefault settingDescription
Filterable in frontend-Once this field is selected, this attribute can be used as a filter in the frontend.
Add to "Sort by" option list.-Makes the field, if maintained in the backend and visible to the customer, sortable in the list module.
Filterable in the backend-Once this field is selected, this attribute can be used as a filter in the backend.
-The output of the created attribute in the backend is through the [product types](/de/backend-konfiguration-shop-Produkttypen/). If you have made the select menu `Durch den Kunden auswählbar` it will be displayed automatically in the frontend (using `$this->options` in the template). Otherwise you can output the attribute in the desired isotope template with the following code `generateAttribute('InternerName'); ?>`. +The output of the created attribute in the backend is through the [product types](en/backend-configuration/store-configuration/products/product-types/). +If you have made the select menu Selectable by the customer it will be displayed automatically in the frontend (using $this->options +in the template). Otherwise you can output the attribute in the desired isotope template with the following code generateAttribute('InternerName'); ?>.