Page 1 of 1

Populate users table during checkout

Posted: 06 Sep 2016, 18:52
by brunojti
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!

Re: Populate users table during checkout

Posted: 06 Sep 2016, 20:59
by aimeos