when I go to Customers -> Manage Customers -> Add New Customer, I see that there are Telephone,Zip, Country, and state fields. When I go to my frontend website the click 'Register', I see only First Name, Last Name, Email address, and password.
How do I display Telephone, Zip, Country, and state fields on my front end?
Thanks.
I don't see those fields on the normal customer form, so I suspect that you may be referring to the customer grid rather than the new customer form. Those other fields are related to the customer's default billing address, which isn't captured immediately on registration (it may not be needed, more fields decrease registration, etc). If you want to add this information by default, you will probably need to look at adding a default address for a customer when they sign up.
Keep in mind, however, that other fields (notably street address) are required when adding those addresses.
Hope that helps!
Thanks,
Joe
Related
In Laravel Spark you can set the option that when the customers creates their account the system show them the form to fill the billing address & VAT no.
Unfortunately to have the correct data on the invoice they have to go to /settings#/invoices to fill in the data after finish all the registration process, confirming their email and log-in.
This is very inconvenient as nobody understand this step and there where 0 (zero) customers of over 500 we have until now who actually find this field and filled it up. They just complain that the invoice is incorrect and we have to send corrections.
So my question is:
Is there a way to put the "Extra billing information" field which is here /settings#/invoices on the registration front so the customer will be able to fill it in during the registration process?
I needed to follow the same steps like with adding any other field to the registration form because the company data are stored in extra_billing_information column in users table.
Reference: https://www.core45.com/en/blog/how-to-add-customera-company-data-for-invoice-on-the-registration-form-in-laravel-spark
Allow me to better explain: the company I work for work alongside holiday camps etc and want to add a link into the booking confirmation email which will take them through to a web page (which can only be accessed through the unique link) to sign up to our service.
What we need is to be able to have an automatically generated link within the email which can then be used to access the page and stop any random person signing up that happens to have a link.
Any info or suggestions would be welcome, even a jumping off point to research further would be fantastic- cheers!
I have an application where a user is able to sign up by providing email, username and password.
This would be stored in mongoDB collection Users_Table. Now also the app allows users to sign with their social media account, if the user has one such facebook, google account and twitter.
Question is how do i go about designing the database?
My initial idea is to have 2 separate collections. The first collection has user information if he or she registers with the app.
User_Table (
Id,
firstname,
lastname,
email,
phone_number)
The second collection stores the social media account such as facebook, google, or twitter if the user has one.
I will retrieve users firstname, lastname, email and phone_number from their social media account and store it in the collection. This will be stored in the second collection.
Now if a user who has signed in with facebook decides to register with the app, how do i merge both accounts i.e. if its the same user how do i link them?
hmm, what was the business decision behind using mongo?
Why I'm asking? As someone decided to switch to mongo - it will be perfect to use advantages provided with it.
So my advice will be embed those details in one collection:
user:{
/* base fields */
_id, firstName, lastName, nickName, userName, email.... etc
socialAccount:[
{
type:"facebook/twiter/whtsEver"
name, /*and all other stuff you need here*/
}]
}
Then what app need is to make ONE call to mongo and get ALL data at once. No joins required.
Well, this is an old question but I will leave a hint just in case someone else gets the same doubts. I struggled with the same problem a long time ago and this article helped me a lot. But let’s summarize:
First, you need a table to store all the user info (name, surname, email, phone...) then you need another table to store all the info related to Thirds Party sign in /sign up integration (provider_id, user_id, bla bla...). Then you need to figure it out a way to merge the accounts created via email + password with the ones created with other providers, for that we always think in comparing fields like email, phone or names but that’s not an option (because obviously people could use different emails for their social media, they could have hide their email like Apple allows, the name is not the same, etc.. there is thousands ways how this could go wrong), so basically this is NOT an option you don’t do that. So the better approach (not an actual solution unfortunately) to do this is to ask the user to link their accounts (in their profile for example logged with his/her username + password) you just ask the user to login to their social media account and then you just "connect" your two tables in your database because now your are "almost" sure is the correct user (this is what some video games does and then give regards to the users etc..) Notice this "connect" means that you need to check if that third party account previously registered to your system and then you link it and if it’s the first time then you just also link it and then the user can use it to access his account in your system the next time they login. There is also an automatic way to do this, you actually do the previus comparation (the one I mentioned before that you shouldn’t do it and compare some field and found some "potential matches of possible the same account or duplications") but then you ask the user if it’s really his/her account and ask him/her to login into that third party provider with his her credentials (same approach but now you are suggesting the matches) and then you do the same "connect" process. Well more or less that’s approach but it’s waaaay better explained in the article by Peter Nijssen (mate where ever you are thanks 🙏 !)
Well I hope this help someone! Best regards!
I want to add Email Addresses to Google Groups programmatically. While there are methods of doing so, none seem to allow the addition of the Display Names, Nicknames or just the First and Last names.
For example, the code (from Add members to google groups programatically):
GroupsManager.getGroup(group).addMember(emailAddress);
works beautifully if the emailAddress is something like fred#example.com, however if I try to add the DisplayName, it doesn't. I have tried:
"Fred Surname" <fred#example.com>
and
Fred Surname
however, I just receive an unspecified error.
Any help would be greatly appreciated - in any language, as long as there is an example!
Many thanks,
Clem Clarke
It can't be done unless the person is defined as a Google User in the Domain. See this discussion: https://productforums.google.com/forum/#!topic/apps/6Z8OpwGk7UM; specifically, the post by marcus24 on 10/10/09. It still works the same way today.
It only works if you add a user with a Google account (includes other Gsuite enabled organisations and Gmail addresses too). It does not works for users with other accounts (e.g Hotmail, iCloud, Yahoo etc).
Hopefully Google will enable GSuite admins to include the person's name with their email address for third party accounts soon.
This format for adding Display names does not work in the New Google Groups. No matter what format I enter, it puts the email name in the Display Name Field instead of the name that I use to maintain the group, i.e. First Name Last Name. Since some emails are not remotely associated with a person's name, this is very difficult to manage. The special input formula works fine in Classic Google Groups but not in the New Google Groups.
I'm admin for a Google for Nonprofits workspace. When adding members to a google group (in the form "First Last <emailaddress.domain>"), the Display Name "takes" only for those users who have accounts in our organizational domain. For the others, the email address is just repeated where I wish the Display Name would appear.
It can totally be done, I just did it and have done it before. When adding a new member to the group type the name as you want it displayed then the address in the <>'s. Ex. John Doe <email address>
Hope that helps.
I'm using VM 2.0.6 and Joomla 2.5 and the Multisafepay payment gateway.
Whenever a user puts a product in his cart, and clicks on checkout, the user is send to another page completely (Multisafepay's website, so not VM anymore) where he can select his desired payment option - same thing as paypal for example. But, at that time, Virtuemart is already sending an e-mail to the user confirming his order. That e-mail is saying: Thank you for your order blabla, the status of your order is blank..
So, VM is already sending an e-mail before the user payed.
Does anybode relate to this or knows an answer?
VM 2.0.6 is working like this :
when the order is placed that means any one of the shipping and payment method is selected.
and cart have valid data it will create the order and send an email to the user that mentioned
an order has been placed.
You can change
the sending mail section if you need.
One function name with notifyemail (iam not sure the name but it start with notify) in the path:
administrator/components/com_virtuemart/models/orders.php
you can check all your required things like shipping /payment methods are selected before calling this function.
the function should be initiate from cart.php controller in front end.
You can change the point where an invoice copy is sent to the customer in the Store Configuration. Look for Configuration > check out > Default Order Status to send an invoice and make sure you have the Confirmed status chosen.