-
Total Products
-
Announcements
-
New Arrivals
-
On Sale
โก Quick Actions
๐ Recent Products
๐
Loading...
All Products
| Name | Category | Price | Old Price | Badge | Visible | Actions |
|---|---|---|---|---|---|---|
| Loading products... | ||||||
๐ข Add New Announcement
All Announcements
๐ข
Loading...
๐๏ธ Supabase Database Connection
Supabase Project URLGet this from your Supabase project settings
Supabase Anon KeyPublic anon key from API settings
๐ Store Information
WhatsApp NumberWithout + sign, with country code. e.g. 919461234567
Store NameShown in browser tab
๐ Change Admin Password
New PasswordYou'll need this to log in next time
๐ Database Setup Instructions
Run these SQL commands in your Supabase SQL Editor to create the required tables:
-- Run this in Supabase SQL Editor (supabase.com โ your project โ SQL Editor) CREATE TABLE products ( id UUID DEFAULT gen_random_uuid() PRIMARY KEY, name TEXT NOT NULL, category TEXT NOT NULL, description TEXT, price NUMERIC NOT NULL, old_price NUMERIC, badge TEXT, visible BOOLEAN DEFAULT true, created_at TIMESTAMPTZ DEFAULT now() ); CREATE TABLE announcements ( id UUID DEFAULT gen_random_uuid() PRIMARY KEY, text TEXT NOT NULL, created_at TIMESTAMPTZ DEFAULT now() ); -- Enable public read access (so website can show products without login) ALTER TABLE products ENABLE ROW LEVEL SECURITY; ALTER TABLE announcements ENABLE ROW LEVEL SECURITY; CREATE POLICY "Public read products" ON products FOR SELECT USING (true); CREATE POLICY "Public read announcements" ON announcements FOR SELECT USING (true); CREATE POLICY "Anon insert products" ON products FOR INSERT WITH CHECK (true); CREATE POLICY "Anon update products" ON products FOR UPDATE USING (true); CREATE POLICY "Anon delete products" ON products FOR DELETE USING (true); CREATE POLICY "Anon insert announcements" ON announcements FOR INSERT WITH CHECK (true); CREATE POLICY "Anon delete announcements" ON announcements FOR DELETE USING (true);
After running this SQL, paste your Supabase URL and key in the settings above and click "Save & Connect".