[x] Man skall kunna bläddra mellan produkter som ligger i olika kategorier. Kategorierna kan vara
statiska (admin behöver inte kunna redigera)
[x] Konton skall ha olika accessnivå beroende på om man är admin eller kund.
[x] Konton skall kunna skapas och tas bort av administratör, men nya kunder ska kunna skapa sina
egna konton via hemsidan.
[x] Produkter skall kunna läggas till och tas bort av administratör. Egenskaper som skall finnas är
Namn, beskrivning, pris, kategori.
[x] En kundkorg skall finnas där man kan se produkter, antal, moms (25%) och summan av sin
beställning.
[x] En order skall innehålla datum och tid, köpare och IP‐adress på den som beställde. En order skall
i sin tur vara uppbyggd av en eller flera orderrader
[x] Administratören skall kunna se alla ordrar som lagts i systemet.
[x] Alla produkter skall ha en representativ produktbild (alla produkter kan ha samma bild).
[x] Shoppen skall vara säljande. Den skall ge ett bra intryck och lämpligt upplagd beroende på vad
som säljs. (Anders R eller motsvarande kikar på designen). Projeket skall vara målgruppsanpassat
och funktionellt.
[x] Databasen skall vara ”acceptabelt” professionell. Projektgruppen skall ha tagit fram en ER‐modell
för databasen där entitetstyper, sambandstyper och deras begränsningar framgår.
[x] Databasen skall vara implementerad på ett vettigt sätt med lämpliga val av primärnycklar och
främmande nycklar. Databasen skall undvika att lagra onödig redundant information (dvs
normaliserad till 3:e normalformen. Viss redundans måste alltid finnas i form av främmande
nycklar i tabellerna.)
[x] Projektet dokumenteras dock krävs ingen formell projektrapport. Dokumentationen skall
innehålla all den kod som producerats samt dokumentation om databasen(ER‐modeller, mm).
Glöm inte bort att infoga bra kommentarer i den kod som skrivs. All dokumentation skall lämnas
in via ping‐pong.
Betyg 4 (förutom samtliga punkter för betyg 3):
[x] Bygg en snygg, hierarkisk, struktur för produkterna som använder databasen. Menyhierarkin
skall vara redigerbar för administratören.
[x] Transaktioner skall användas där flera databasfrågor hör ihop.
[x] Sidan skall se likadan ut i Internet Explorer, Firefox och Chrome.
[x] Klasser skall användas för användare, ordrar, orderrader och produkter. Fler klasser får givetvis
användas.
[x] Lägg till en egenskap för produkter: vikt. I webshoppens kundkorg skall vikten summeras och
visas. Kostnaden för vikten skall adderas till totalpriset. Kostnad för olika viktklasser skall vara
redigerbart via admingränssnittet.
[x] Användare skall kunna sortera och filtrera i orderhistoriken för webbutiken.
[x] En projektrapport skall lämnas som på ett överskådligt sätt redovisar projektarbetets upplägg,
hur det färdiga resultatet blivit, vad var och en i gruppen bidragit med till det färdiga resultatet
samt gruppens gemensamma summering och reflexion över resultat och genomfört arbete.
Projektrapporten lämnas in via ping‐pong.
Betyg 5 (förutom samtliga punkter för betyg 4):
[x] Registrering av konton mha Captcha
[x] Bilder ska kunna laddas upp av admin, script skall automatiskt kontrollera och storleksändra. För
detta kan t.ex. GD användas.
[x] Användare ska kunna ändra sin information när dom är inloggade. Nya lösenord skall kunna
sättas, förutsatt att man matar in det gamla lösenordet.
[x] Databaskopplingen skall göras genom att använda en databasklass. Databasklassen skall ärva
klassen ”Mysqli” och lämpliga funktioner för databashantering skall finnas, t.ex. SaveUser(),
saveProduct(), getUserByID() osv.
[x] Administratören skall kunna annullera en order. Serien av ordrar får aldrig brytas, det måste
finnas en konsekvent serie av ordernummer.
[x] Webshoppen skall ha stöd för flera valutor. Använd EURO som bas. En växlingskurs som kan
redigeras av administratören räknar sedan om priset för SEK, NOK och USD.
[x] Administratören skall kunna ta fram och presentera på lämpligt sätt uppgifter på
försäljningsstatistik (antal gjorda ordrar, summa belopp för dessa ordrar, medelvärde, minsta
resp. största orderbelopp) under en viss tidsperiod för de olika produkterna i en viss
produktkategori. Dessa uppgifter tas fram från databasen med lämpliga SQL‐frågor.
Betyg 3:
Betyg 4 (förutom samtliga punkter för betyg 3):
Betyg 5 (förutom samtliga punkter för betyg 4):