Populate users table during checkout

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
brunojti
Posts: 27
Joined: 29 Jul 2016, 14:02

Populate users table during checkout

Post by brunojti » 06 Sep 2016, 18:52

When the user clicks on the ""BUY NOW" button at the end of the checkout steps, a new customer is created (in laravel's users table).

I've added a migration to add my custom fields to users table:

Code: Select all

 public function up()
    {
        Schema::table('users', function (Blueprint $table) {
            $table->string('address4', 255)->default('')->after('address3');
            $table->char('areacode', 2)->default('')->after('countryid');
        });
    }
Where in the code is this new customer (user) created? I was debugging the code but wasn't able to find it.

Thanks!

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

Re: Populate users table during checkout

Post by aimeos » 06 Sep 2016, 20:59

Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply