DB user table email required
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
DB user table email required
My project has multiple way to register, ex: email, facebook, mobile, but in aimeos email in user table is required. How can I set the mail to nullable when I only want user to register and login using facebook or mobile phone?
Re: DB user table email required
Which integration are you using? In Laravel for example, the e-mail is required and I don't know if you can change that.
Aimeos is using the e-mail address by default because it's required for sending order confirmation e-mails. If you want to sell something, you have to retrieve the e-mail address of the user (e.g. from Facebook) or request it directly from the user.
Aimeos is using the e-mail address by default because it's required for sending order confirmation e-mails. If you want to sell something, you have to retrieve the e-mail address of the user (e.g. from Facebook) or request it directly from the user.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: DB user table email required
The order confirmation can show on my website or app, and not send e-mail.
Because the database use the same user table, the user table in my project has set mail to nullable, I want to know aimeos how to set mail nullable.
Because the database use the same user table, the user table in my project has set mail to nullable, I want to know aimeos how to set mail nullable.
Re: DB user table email required
You can change the definition of the email column in the users table to allow NULL values (https://aimeos.org/docs/Developers/Libr ... ing_tables) but e.g. the admin interface treats that column as required. Not sure if it wouldn't be easier to add a fake e-mail address instead.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: DB user table email required
./lib/custom/setup/default/schema/ don't have file to change column on user table.
But the method has to change package, how to set column on "config/shop.php" or other method ex: extension?
But the method has to change package, how to set column on "config/shop.php" or other method ex: extension?
Re: DB user table email required
The ai-laravel extension defines the columns for the "users" table:
https://github.com/aimeos/ai-laravel/bl ... stomer.php
https://github.com/aimeos/ai-laravel/bl ... stomer.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star