new attributes customization
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 60
- Joined: 18 Jan 2016, 10:29
new attributes customization
Hi,
I would like to create new attribute type and respectively an attribute from this type, that uses textarea not text field. Now I see an option only with text field.
Is it possible to set it ?
Also, I have other new attribute type and two attributes from this type. Everything is fine and they are viewed by select field. Problem is the text of the first option of select (where value is empty) , it is written "nothing" .
Is it possible to change it anywhere?
Thanks
I would like to create new attribute type and respectively an attribute from this type, that uses textarea not text field. Now I see an option only with text field.
Is it possible to set it ?
Also, I have other new attribute type and two attributes from this type. Everything is fine and they are viewed by select field. Problem is the text of the first option of select (where value is empty) , it is written "nothing" .
Is it possible to change it anywhere?
Thanks
Re: new attributes customization
You can either change "input" to "textarea" or add a new type "text" in that template:crazyforester wrote: I would like to create new attribute type and respectively an attribute from this type, that uses textarea not text field. Now I see an option only with text field.
https://github.com/aimeos/ai-client-htm ... d.php#L202
This is a text in the "client" translation domain named "Please select" in English:crazyforester wrote: Also, I have other new attribute type and two attributes from this type. Everything is fine and they are viewed by select field. Problem is the text of the first option of select (where value is empty) , it is written "nothing" .
Is it possible to change it anywhere?
https://www.transifex.com/aimeos/aimeos-core/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 60
- Joined: 18 Jan 2016, 10:29
Re: new attributes customization
I noticed something very interesting.aimeos wrote:This is a text in the "client" translation domain named "Please select" in English:crazyforester wrote: Also, I have other new attribute type and two attributes from this type. Everything is fine and they are viewed by select field. Problem is the text of the first option of select (where value is empty) , it is written "nothing" .
Is it possible to change it anywhere?
https://www.transifex.com/aimeos/aimeos-core/
Standard Product from demo "Demo selection article" then Variants and Variant attributes Demo width selection is with text of the first option "Please select" and it is normal.
Now I add to the standard product from demo "Demo article" then Options attributes (no Variants there) then Configurable the standard Width 32 and Width 33 and the first option of select (where value is empty) and it is written "nothing" not "Please select".
Is it possible to be done in this way or it is possible only with product like "Demo selection article"
btw the translation below didn't change it
plugin.tx_aimeos.settings.i18n.bg.0
{
domain = client
string = Please select
trans = Please select in bg
}
Re: new attributes customization
Configurable attribute are optional by default. Thus, instead of "Please select" the term shown by default is "none":
https://github.com/aimeos/ai-client-htm ... d.php#L150
You can pre-select the first value if you use this configuration:
https://aimeos.org/docs/Configuration/C ... /preselect
https://github.com/aimeos/ai-client-htm ... d.php#L150
You can pre-select the first value if you use this configuration:
https://aimeos.org/docs/Configuration/C ... /preselect
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star