Site Form- Add New Field
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Site Form- Add New Field
Hello,
i am a laravel developer and building ecommerce app in laravel app.so i integrated aimeos in laravel.i am using laravel 8.
now i want to add custom field in site form under the label field.please guide me step by step to perform that task.i tried to do
it by reading the documentation but the documentation is very hard to understand.
i am a laravel developer and building ecommerce app in laravel app.so i integrated aimeos in laravel.i am using laravel 8.
now i want to add custom field in site form under the label field.please guide me step by step to perform that task.i tried to do
it by reading the documentation but the documentation is very hard to understand.
Re: Site Form- Add New Field
First of all, think about if you can use the config key/value pairs (right side). They are extensible without adding new columns in the database and you can also make individual fields for them.
If that doesn't fit because you need a database column you can filter by, then create a decorator for the locale/site manager like described here: https://aimeos.org/docs/latest/infrastr ... -managers/
Afterwards, you have access to the field values in the template you can overwrite in your own extensions too: https://aimeos.org/docs/latest/admin/jq ... templates/
If that doesn't fit because you need a database column you can filter by, then create a decorator for the locale/site manager like described here: https://aimeos.org/docs/latest/infrastr ... -managers/
Afterwards, you have access to the field values in the template you can overwrite in your own extensions too: https://aimeos.org/docs/latest/admin/jq ... templates/
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
Re: Site Form- Add New Field
i have added field in currency form by creating a new file(item-standard) in my extension
ext\ai-moudhah\admin\jqadm\templates\locale\currency\item-standard
and it worked perfectly
but when i override the site form by creating new file(item-standard)
ext\ai-moudhah\admin\jqadm\templates\locale\site\item-standard
there is no effect
ext\ai-moudhah\admin\jqadm\templates\locale\currency\item-standard
and it worked perfectly
but when i override the site form by creating new file(item-standard)
ext\ai-moudhah\admin\jqadm\templates\locale\site\item-standard
there is no effect
Re: Site Form- Add New Field
i have added field in currency form by creating a new file(item-standard) in my extensionaimeos wrote: ↑20 Jan 2021, 10:48 First of all, think about if you can use the config key/value pairs (right side). They are extensible without adding new columns in the database and you can also make individual fields for them.
If that doesn't fit because you need a database column you can filter by, then create a decorator for the locale/site manager like described here: https://aimeos.org/docs/latest/infrastr ... -managers/
Afterwards, you have access to the field values in the template you can overwrite in your own extensions too: https://aimeos.org/docs/latest/admin/jq ... templates/
ext\ai-moudhah\admin\jqadm\templates\locale\currency\item-standard
and it worked perfectly
but when i override the site form by creating new file(item-standard)
ext\ai-moudhah\admin\jqadm\templates\locale\site\item-standard
there is no effect