First you need to know... Shop system on client side is not complete.. there is just a base, works, but is imcomplete...
For beginning, you can try to learn more about packets, and how they works, and learn about integration Server/SQL Server with Stored Procedures, and then you can try make the shop.
I say that cuz i made all shop system. Was a hard job, but i made it.