A snippet to prevent cart quantities below a minium number.
If a user tries to buy an item with a quantity value of less than 5 this snippet will alert them to the store minimum per product and update the cart quantities to 5.
Legend: 
Download

Report
added swedish language in catalog side
Updated Code changed to allow users to set the minimum QTY in the admin section of the store.
to change the minimum QTY:
go to admin => configuration => Minimum Values
This is some replacement code I made ages ago but forgot to update here. It fixes the problem that occurs when someone orders less than the minimum ammount and although the correct ammount is shown in the cart, the cart box and total price is not correct. - thanks those of you who pointed this out.
Forgot to say where to insert the code.
Also added the bit to update the shopping cart box with the minium value.
A snippet to prevent cart quantities below a minium number.
If a user tries to buy an item with a quantity value of less than 5 this snippet will alert them to the store minimum per product and update the cart quantities to 5.