add colum users table and all work fine now

How to configure and adapt Aimeos based shops as developer
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!
ttcode
Posts: 6
Joined: 08 May 2022, 10:31

add colum users table and all work fine now

Post by ttcode » 08 May 2022, 10:45

All done.
My biggest problem was adding a column to the users table, but everything works fine now. Now I can edit, save and view user data from both front and back.
I had to modify a lot of things to add a simple column to the users table and everything would work fine.
I had problems that when the user changed his data, the content of the new column was deleted, but everything is fine.
I didn't need anyone's help but thanks anyway.

this alls files i add code for add colum to table users and do this save , show , edit , and new all ok.

vendor/aimeos/ai-laravel/lib/custom/config/mshop/customer.php
vendor/aimeos/ai-laravel/lib/custom/src/MShop/Customer/Manager/Laravel.php
vendor/aimeos/ai-admin-jqadm/admin/jqadm/src/Admin/JQAdm/Customer/Standard.php
vendor/aimeos/aimeos-core/lib/mshoplib/src/MShop/Common/Item/Address/Iface.php
vendor/aimeos/aimeos-core/lib/mshoplib/src/MShop/Common/Item/Address/Base.php
vendor/aimeos/ai-laravel/lib/custom/config/mshop/customer.php
vendor/aimeos/ai-admin-jqadm/admin/jqadm/templates/customer/item-standard.php
vendor/aimeos/ai-admin-jqadm/admin/jqadm/templates/customer/list-standard.php
vendor/aimeos/ai-client-html/client/html/templates/account/profile/address-body-standard.php
:ugeek:

https://ibb.co/jr663nC
Image

User avatar
aimeos
Administrator
Posts: 7908
Joined: 01 Jan 1970, 00:00

Re: add colum users table and all work fine now

Post by aimeos » 09 May 2022, 13:42

If you create a decorator for the customer manager, it's much easier because then, you only have to create your manager decorator, configure it and adapt the template files:

vendor/aimeos/ai-admin-jqadm/admin/jqadm/templates/customer/item-standard.php
vendor/aimeos/ai-admin-jqadm/admin/jqadm/templates/customer/list-standard.php
vendor/aimeos/ai-client-html/client/html/templates/account/profile/address-body-standard.php

See here for details:
https://aimeos.org/docs/latest/models/e ... /#easy-way
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply