Sale prices and discounts
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
Let games go on sale.
- Add an optional sale price and end date to
gameinsupabase/schema.sql - Show the original price struck through, plus a "-40%" badge, on cards and game pages
-
purchase_gamecharges 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
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NotADIM2/GameVault
-
Deployment guideApertadocumentation help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
frontend help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Share button on game pagesApertafrontend good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Add a faviconApertafrontend good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
-
frontend good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
Tutte le issue di NotADIM2/GameVault
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ida-arbeitszeit/workers-control#1578 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
open-webui/tether#52 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug: Table layout and date column are cut off on mobile screens on the Tournaments -> History pageApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
hexlet-codebattle/codebattle#2375 ·