I went through the post for member profile (Velo Tutorial: Building Your Own Members Area | Help Center | Wix.com) but it seems to be a generic member profile and not an ecommerce customer profile. Saying this, cause I did not find below two things in the post. Could someone help with this?
Login via Facebook and Google using WIX and storing in database then.
Orders of a particular id/customer. For this first needs the order in the database. how to do that? I have the store built using wix store.
Actually, No. 1 is inside the article, at this coded:
// if an item for the user is not found
if (results.items.length === 0) {
// create an item
const toInsert = {
"_id": userId,
"email": userEmail
};
// add the item to the collection
wixData.insert("Members", toInsert)
.catch( (err) => {
console.log(err);
} );
}
About No. 2:
You can save data to your database, but currently you cannot get data from your Ecom app.
It is planned as you can see in our coming soon page.
On the number 1, it gives you registration via email id only. How to do it via Facebook or Google Account login like Member Login App does. I want to have that too using Wix Code and DB.
On the number 2, can you please elaborate which feature will get me orders from wix store to wix database. Shouldn’t automatically, orders via wix store should go to wix database. Wix must be storing it somewhere in db already, right?
Is there an example of this? Sorry the answer is not clear. May be am not able to tell you the problem. I need to allow social logins and get the data from there, also other data like mobile, gender, etc. The example given by Wix team has simple form and connecting each input to dataset field. How will I connect social logins to dataset field when I use member login app.
In E commerce Store App we have created beautiful My profile page where user will fill his personal information including address. He can also logout from this page. It is very easy to create you can get source code that will help you to create an awesome app for your business. for further detail you can read http://abhiandroid.com/sourcecode/ecommerce/