overwrite default data setup/site
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!
- WladimirAvila
- Posts: 2
- Joined: 18 Mar 2024, 05:51
overwrite default data setup/site
Hi everyone, I´m trying to setup a Spanish multishop site with Aimeos.
When creating a user/site, the file https://github.com/aimeos/aimeos/blob/m ... er.php#L72 calls the ai-core and this extension runs https://github.com/aimeos/aimeos-core/t ... fault/data
I need to populate the database with the same "data" folder, but with my custom folder in Spanish.
How will it be possible to change only this path or do I've to overwrite the whole aimeos-core instead?
Thanks for any help or suggestion, I'm new in Aimeos, and all the detailed answers will be welcome.
I'm using aimeos/aimeos in the latest version over PHP 8.2
Wlad
When creating a user/site, the file https://github.com/aimeos/aimeos/blob/m ... er.php#L72 calls the ai-core and this extension runs https://github.com/aimeos/aimeos-core/t ... fault/data
I need to populate the database with the same "data" folder, but with my custom folder in Spanish.
How will it be possible to change only this path or do I've to overwrite the whole aimeos-core instead?
Thanks for any help or suggestion, I'm new in Aimeos, and all the detailed answers will be welcome.
I'm using aimeos/aimeos in the latest version over PHP 8.2
Wlad
Re: overwrite default data setup/site
You can add own data by creating setup tasks in your own Aimeos extension:
https://aimeos.org/docs/latest/infrastr ... migrations
The default demo data is only added to the first "default" site and only if you use "--option=setup/default/demo:1" when executing the "artisan aimeos:setup" command.
https://aimeos.org/docs/latest/infrastr ... migrations
The default demo data is only added to the first "default" site and only if you use "--option=setup/default/demo:1" when executing the "artisan aimeos:setup" command.
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