Need help to writh wishlist code!!

Hi! I’m wondering if someone can help me, writhing a code for a Wishlist or know where i can find some one that can help me? You should add as many items to one list from diferent databases or a “drop down” where i can choose where I will put it.

Hi,
I’d recommend you to check out this tutorial about creating a wish list.

Hello, I’ve been following this tutorial but the quality is very poor and I cannot see the code. Also Do I have to create a dynamic page, I have regular pages. Or is there any other way to do it with regular pages?

@photo

https://www.wix.com/corvid/example/wishlist

https://codequeen.wixsite.com/wishlist
THE WISH LIST CODE
import wixUsers from ‘wix-users’;
import wixData from ‘wix-data’;

$w.onReady( () => {
if(wixUsers.currentUser.loggedIn) {
$w(“#addtowishlist”).label = “ADD TO WISH LIST”;
}
else {
$w(“#addtowishlist”).label = “SIGN IN TO SAVE”;
}
} );

export function addtowishlist_onclick() {
wixData.insert(‘wishlist’,
{wishlist_item: $w(‘#Itemdetails’).getCurrentItem()._id}),
$w(‘#success’).show(), //These are extra lines in case you have buttons or other
$w(‘#addtowishlist’).hide(), //These are extra lines in case you have buttons or other
$w(‘#viewlist’).show(); //These are extra lines in case you have buttons or other
}