top of page

Forum Posts

Haiden
Jul 27, 2020
In Coding with Velo
Hello everyone, does anybody have this code for this video that was on the Wix.com YouTube channel? I find it much easier to work with the code. https://www.youtube.com/watch?v=5FmWLCso9_0&t
0
1
17
Haiden
Jul 25, 2020
In Coding with Velo
How can I add Email Verification to my website? Please help me understand this. Haiden CEO of Tech Budz haiden@techbudz.me
0
1
21
Haiden
Jul 24, 2020
In Coding with Velo
When somebody purchased an item, can I send them a text to let them know their order is here?
0
3
37
Haiden
Jul 23, 2020
In Coding with Velo
How can I put ratings on my movie platform?
How do I put ratings on my movie platform? content media
0
2
19
Haiden
Jul 21, 2020
In Coding with Velo
I have followed the article and have all the correct code but it doesn't work. Can anybody help me resolve this issue? My following code is below: Product Page import wixData from 'wix-data'; import wixUsers from 'wix-users'; import wixLocation from 'wix-location'; wixLocation.onChange((location) => { $w('#notifyButton').hide(); notificationInit(); }); $w.onReady(() => { notificationInit(); }); async function notificationInit() { const productObj = await getProductObj(); const userEmail = await getUserEmail(); const userNotifyObj = await getUserNotifyObj(userEmail, productObj.productId); $w('#notifyButton').onClick(async () => await setOnClickNotifyButton(productObj, userEmail)); notifyButtonUIHandler(productObj, userNotifyObj.shouldNotifyUser); } async function getUserNotifyObj(userEmail, productId) { const { items } = await wixData.query('stockWaitList').eq('product', productId).eq('userEmail', userEmail).find(); const shouldNotifyUser = items.length > 0; const shouldNotifyUserObj = { shouldNotifyUser }; if (shouldNotifyUser) { shouldNotifyUserObj.itemId = items[0]._id; } return shouldNotifyUserObj; } function notifyButtonUIHandler(productObj, shouldNotifyUser) { productObj.isInStock ? $w('#notifyButton').hide() : $w('#notifyButton').show(); $w('#notifyButton').label = shouldNotifyUser ? 'Cancel Notification' : 'Notify Me When In Stock'; } async function setOnClickNotifyButton(productObj, userEmail) { $w('#notifyButton').label = 'please wait...' const newNotifyUserObj = await getUserNotifyObj(userEmail, productObj.productId); const objToInsert = { userEmail: userEmail, product: productObj.productId, } newNotifyUserObj.shouldNotifyUser ? await wixData.remove('stockWaitList', newNotifyUserObj.itemId) : await wixData.insert('stockWaitList', objToInsert); notifyButtonUIHandler(productObj, !newNotifyUserObj.shouldNotifyUser); } async function getProductObj() { const { inStock, _id } = await $w('#productPage').getProduct(); const productObj = { isInStock: inStock, productId: _id, } return productObj; } function getUserEmail() { const user = wixUsers.currentUser; return user.getEmail(); } Here is the following article: https://www.wix.com/corvid/example/notification-when-back-in-stock Haiden from Tech Budz https://techbudz.me CEO of Tech Budz
0
1
372
Haiden
Jul 19, 2020
In Coding with Velo
Would this be possible with a dropdown and with other Corvid features?
Could I make this on my movie platform? content media
0
1
15
Haiden
Jul 17, 2020
In Coding with Velo
I would like to add this feature to my shopping platform. How can I make a check list were people can enable features?
0
1
12
Haiden
Jul 15, 2020
In Coding with Velo
Hello everyone, How can I add OTP to my wix website? Also, please check out my amazing website Tech Budz: https://techbudz.me.
0
1
903
Haiden
Jul 14, 2020
In Coding with Velo
Hello everyone, Can I add a custom nametag to my product to so who made it? https://lh3.googleusercontent.com/-leEnoDDOl9M/Xw2CWB4YoNI/AAAAAAAALFc/P00IqjZeJu4raF0ERv7HUdrWjdrNpMdzQCK8BGAsYHg/s0/Screenshot%2B2020-07-14%2Bat%2B3.59.09%2BAM.png
0
1
15
Haiden
Jul 10, 2020
In Coding with Velo
I made my custom login but the login button doesn't work and I made sure it's valid in the Code panel. Any ideas on how I can make my login but work?
0
13
75
Haiden
Jul 06, 2020
In Coding with Velo
curl "https://api.authy.com/protected/json/users/new" \ -H "X-Authy-API-Key: -d user[email]= \ -d user[cellphone]= \ -d user[country_code]=1 How do I add this? Please help me.
0
1
65
Haiden
Jul 03, 2020
In Coding with Velo
Hi! Can I do this in Wix? I have been on Corvid a while now and I don't know if this is possible or not. Please let me know. https://getavataaars.com/?accessoriesType=Sunglasses&avatarStyle=Circle&clotheColor=White&clotheType=ShirtVNeck&eyeType=Side&eyebrowType=Default&facialHairColor=BrownDark&facialHairType=BeardLight&hairColor=Brown&hatColor=Blue01&mouthType=Grimace&skinColor=Brown&topType=Hat
0
16
136
Haiden
Jul 02, 2020
In Coding with Velo
Hi! How do I connect to my Wix Website locally? I have never heard of this before. The article link is below. https://support.wix.com/en/article/working-with-the-corvid-cli
1
2
140
Haiden
Jul 01, 2020
Does anybody know how to do something like this? content media
0
3
24
Haiden
Jun 20, 2020
In Coding with Velo
Hi! My name is Haiden and I have been studying Corvid for 2 years now. I have become very experienced with Corvid. I am a JavaScript Developer. For any questions just tag me at @Haiden. Enjoy your journey learning Corvid! ~Haiden~
0
1
28

Haiden

More actions
bottom of page