E-commerce

Does anyone know where i can get good tutorials or books about incorporating e-commerce into a site? I’ve never worked with it and am wanting to learn. I don’t want a e-commerce package that i buy and just put on my site. I actually want to code the php, xml etc. Thanks for any and all help.