GHS Sodas & Co.
LOCAL PREORDERS

Your next favorite
drink is here.

Browse the current selection and place a preorder. We'll coordinate an approved school meetup with you after your order is received.

Drinks menu

Availability updates as inventory changes.
Bundle deals — mix and match any drinks
1 for $3 · 2 for $5 · 3 for $8 · 4 for $10 · 5 for $13 · 6 for $15
For 7 or more, the same alternating $3 / $2 step continues.
Loading drinks…

How preordering works

1. Choose your drinks

Add available drinks to your cart and select quantities.

2. Send your preorder

Enter your first name, a phone number or other contact method, and which seller you want to coordinate with.

3. Arrange a meetup

The seller will contact you to arrange a handoff at a school-approved location and time. Your order is not confirmed until the seller responds.

Please follow all school rules. No locker delivery or unapproved handoff locations. No online payment is collected through this site.

Your cart

Your cart is empty.
Estimated total$0.00

Preorder details

Submitting sends a preorder request, not a guaranteed reservation. The seller will follow up to confirm stock and arrange an approved meetup.

Admin dashboard

Manage inventory and preorder requests.
+Number(n).toFixed(2)} function bundleTotal(q){const tiers=[0,3,5,8,10,13,15];if(q<=0)return 0;if(qx.classList.toggle('active',x.id===name));document.querySelectorAll('nav button').forEach(x=>x.classList.toggle('active',x.dataset.page===name));if(name==='cart')renderCart();if(name==='admin'&&admin)loadAdmin()} document.querySelectorAll('nav button').forEach(b=>b.onclick=()=>page(b.dataset.page));$('#continue-shopping').onclick=()=>page('shop'); async function api(url,opts={}){const r=await fetch(url,{...opts,headers:{'Content-Type':'application/json',...(opts.headers||{})}});let d={};try{d=await r.json()}catch{}if(!r.ok)throw Error(d.error||'Something went wrong');return d} function renderProducts(){const el=$('#products');if(!products.length){el.innerHTML='
No drinks are listed right now.
';return}el.innerHTML=products.map(p=>{const out=p.stock<=0;return '
'+(p.emoji||'🥤')+'

'+esc(p.name)+'

'+(p.description?esc(p.description):'A refreshing pick.')+'

'+money(p.price)+''+(out?'Sold out':p.stock<=5?'Only '+p.stock+' left':'In stock')+'
'}).join('')} function esc(s){return String(s??'').replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c]))} function add(id){cart[id]=(cart[id]||0)+1;renderCartCount()} function renderCartCount(){$('#cart-count').textContent=Object.values(cart).reduce((a,b)=>a+b,0)} function renderCart(){const lines=Object.entries(cart).filter(([id,q])=>q>0).map(([id,q])=>({p:products.find(p=>p.id===Number(id)),q})).filter(x=>x.p);$('#cart-lines').innerHTML=lines.length?lines.map(({p,q})=>'
'+esc(p.name)+'
'+money(p.price)+' each
'+q+'
'+money(p.price*q)+'
').join(''):'Your cart is empty.';$('#cart-total').textContent=money(lines.reduce((a,x)=>a+x.p.price*x.q,0));} function changeQty(id,n){cart[id]=Math.max(0,(cart[id]||0)+n);if(!cart[id])delete cart[id];renderCart();renderCartCount()} $('#checkout').onsubmit=async e=>{e.preventDefault();const msg=$('#checkout-message');const items=Object.entries(cart).map(([product_id,quantity])=>({product_id:Number(product_id),quantity}));if(!items.length){msg.className='notice error';msg.textContent='Add a drink to your cart first.';return}try{const d=await api('/api/orders',{method:'POST',body:JSON.stringify({buyer_name:$('#buyer').value,contact_info:$('#contact').value,seller:$('#seller').value,notes:$('#notes').value,items})});cart={};renderCart();renderCartCount();await loadProducts();msg.className='notice success';msg.textContent='Preorder request received! Reference #'+d.order_id+'. Your selected seller will follow up to confirm.';e.target.reset()}catch(err){msg.className='notice error';msg.textContent=err.message}}; $('#login-form').onsubmit=async e=>{e.preventDefault();try{await api('/api/admin/login',{method:'POST',body:JSON.stringify({password:$('#admin-password').value})});admin=true;$('#admin-login').classList.add('hidden');$('#admin-panel').classList.remove('hidden');$('#admin-logout').classList.remove('hidden');$('#login-message').textContent='';loadAdmin()}catch(err){$('#login-message').className='notice error';$('#login-message').textContent=err.message}}; $('#admin-logout').onclick=async()=>{try{await api('/api/admin/login',{method:'DELETE'})}catch{}admin=false;$('#admin-login').classList.remove('hidden');$('#admin-panel').classList.add('hidden');$('#admin-logout').classList.add('hidden')}; $('#add-product').onsubmit=async e=>{e.preventDefault();const f=new FormData(e.target);try{await api('/api/admin/products',{method:'POST',body:JSON.stringify({name:f.get('name'),price:Number(f.get('price')),stock:Number(f.get('stock')),emoji:f.get('emoji')||'🥤'})});e.target.reset();await loadProducts();await loadAdmin()}catch(err){alert(err.message)}}; async function loadProducts(){try{products=(await api('/api/products')).products;renderProducts();renderCartCount()}catch(e){$('#products').innerHTML='
The menu is temporarily unavailable. Please try again later.
'}} async function loadAdmin(){try{const [p,o]=await Promise.all([api('/api/admin/products'),api('/api/admin/orders')]);$('#admin-products').innerHTML=p.products.map(x=>'
'+esc(x.name)+'
Stock: '+x.stock+' · '+money(x.price)+'
').join('');$('#admin-orders').innerHTML=o.orders.length?o.orders.map(x=>'
#'+x.id+' · '+esc(x.buyer_name)+'
'+esc(x.seller)+' · '+esc(x.contact_info||'')+' · '+esc(x.status)+'
'+esc(x.items_summary||'')+'
').join(''):'No preorders yet.'}catch(e){$('#admin-orders').textContent=e.message}} async function stock(id,n){const p=products.find(x=>x.id===id);try{await api('/api/admin/products',{method:'PATCH',body:JSON.stringify({id,stock:Math.max(0,p.stock+n)})});await loadProducts();await loadAdmin()}catch(e){alert(e.message)}} async function removeProduct(id){if(!confirm('Remove this product from the menu?'))return;try{await api('/api/admin/products',{method:'DELETE',body:JSON.stringify({id})});await loadProducts();await loadAdmin()}catch(e){alert(e.message)}} async function status(id,status){try{await api('/api/admin/orders',{method:'PATCH',body:JSON.stringify({id,status})});await loadAdmin()}catch(e){alert(e.message)}} loadProducts();