Search found 274 matches

by MikaelNazarenko
23 Jul 2019, 21:26
Forum: Help
Topic: How to add additional fields to a customer
Replies: 66
Views: 34014

Re: How to add additional fields to a customer

Thank you a lot for help!!! I will test later. Now it is ok current version for me) I've spent pretty much time, but I have learned Aimeos more and now I am very satisfied ! ) :twisted:
by MikaelNazarenko
23 Jul 2019, 20:55
Forum: Help
Topic: How to add additional fields to a customer
Replies: 66
Views: 34014

Re: How to add additional fields to a customer

I am a champion!! Problem is solved! )) I had to extend my manager from Aimeos\MShop\Customer\Manager\Laravel and not from Aimeos\MShop\Customer\Manager\Standard
by MikaelNazarenko
23 Jul 2019, 09:57
Forum: Help
Topic: How to add additional fields to a customer
Replies: 66
Views: 34014

Re: How to add additional fields to a customer

I moved necessary configuration to /var/www/labor/config/shop.php: 'mshop' => [ 'customer' => array( 'manager' => [ 'name' => 'Customer', 'standard' => [ 'delete' => array( 'ansi' => ' DELETE FROM "users" WHERE :cond ', ), 'insert' => array( 'ansi' => ' INSERT INTO "users" ( &quo...
by MikaelNazarenko
23 Jul 2019, 09:32
Forum: Help
Topic: How to add additional fields to a customer
Replies: 66
Views: 34014

Re: How to add additional fields to a customer

Manager constructor is called - 200%, I checked right now! Laravel cache and Aimeos cache I have cleared - not working.. Tell me, please, how can I add settings to ./config/shop.php ? What the format ?
by MikaelNazarenko
23 Jul 2019, 09:26
Forum: Help
Topic: How to add additional fields to a customer
Replies: 66
Views: 34014

Re: How to add additional fields to a customer

Use the Standard customer item in your new manager ... Do you mean this method ? protected function createItemBase(array $values = [], array $listItems = [], array $refItems = [], array $addrItems = [], array $propItems = []) { $helper = $this->getPasswordHelper(); $address = new \Aimeos\MShop\Comm...
by MikaelNazarenko
23 Jul 2019, 08:33
Forum: Help
Topic: How to add additional fields to a customer
Replies: 66
Views: 34014

Re: How to add additional fields to a customer

/var/www/labor/ext/labor/config/mshop.php : <?php /** * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0 * @copyright Aimeos (aimeos.org), 2015-2018 */ return array( 'address' => array( 'laravel' => array( 'delete' => array( 'ansi' => ' DELETE FROM "users_address" WHERE :cond AND s...
by MikaelNazarenko
22 Jul 2019, 21:39
Forum: Help
Topic: How to add additional fields to a customer
Replies: 66
Views: 34014

Re: How to add additional fields to a customer

If I understand you right, I have copied full content from /var/www/labor/ext/ai-laravel/lib/custom/config/mshop/customer.php to /var/www/labor/ext/labor/config/mshop.php File /var/www/labor/ext/labor/config/mshop.php : <?php /** * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0 * @copyrigh...
by MikaelNazarenko
22 Jul 2019, 21:10
Forum: Help
Topic: How to add additional fields to a customer
Replies: 66
Views: 34014

Re: How to add additional fields to a customer

/var/www/labor/ext/labor/config/mshop.php : <?php return array( 'customer' => array( 'manager' => array( 'name' => 'Customer', 'laravel' => [ 'delete' => array( 'ansi' => ' DELETE FROM "users" WHERE :cond ', ), 'insert' => array( 'ansi' => ' INSERT INTO "users" ( "siteid&quo...
by MikaelNazarenko
22 Jul 2019, 20:54
Forum: Help
Topic: How to add additional fields to a customer
Replies: 66
Views: 34014

Re: How to add additional fields to a customer

Yes sure there are bugs, but behavior is strange.. (( I checked all logs, I have configured PHP to log all warnings and everything, no any errors anywhere..( I have tried different variants but the same behavior, if I try to visit /admin - it redirects me to /home.. ( if I delete this file /var/www/...
by MikaelNazarenko
22 Jul 2019, 14:47
Forum: Help
Topic: How to add additional fields to a customer
Replies: 66
Views: 34014

Re: How to add additional fields to a customer

My environment is the following: Laravel Framework 5.8.26 aimeos-laravel 2019.04 PHP Version 7.2.19-1+ubuntu18.04.1+deb.sury.org+1 The topic is named as 'How to add additional fields to a customer' but here is no explained exactly about customer (( Thank for guy who explained for Product but it does...