Sale prices and discounts

Aperta
#54 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
css, sql, supabase
Ambito
full-stack

Direzione di ricerca

Start with supabase/schema.sql and the existing game table definition, then find the purchase_game function that the checklist says must charge the sale price. After that, locate the components that render game cards and game pages plus the store filter list, since the strike-through price, the discount badge and the "On sale" filter are added there. Done means the schema has nullable sale price and end date, the purchase path charges the sale price only while the sale window is active, and the UI and filter reflect it; note that the issue asks for a schema plan in a comment before any work starts.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

backend database frontend help wanted

Let games go on sale.

  • Add an optional sale price and end date to game in supabase/schema.sql
  • Show the original price struck through, plus a "-40%" badge, on cards and game pages
  • purchase_game charges the sale price while the sale is active
  • Add a "On sale" filter to the store

Comment with your planned schema change before starting.

Lingua principale
CSS
Stelle
1
Fork
1
Merge medio
39m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NotADIM2/GameVault

Tutte le issue di NotADIM2/GameVault

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.