Populate users table during checkout
Posted: 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:
Where in the code is this new customer (user) created? I was debugging the code but wasn't able to find it.
Thanks!
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');
});
}
Thanks!