When I search on the preview mode, my code runs fine but when I open the live site it doesn't show anything
Preview Mode
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
Check your database permissions. In preview mode you are logged in as admin so you can access everything but in live site permission must be granted for members or everyone. Hope this helps!
sync your database from sandbox to live. Go to your database and select sync