Does anyone know of a simple php script or tutorial for a php/mysql catalog and cart that includes image upload, user accounts/authentication, shipping/tax calculations and allows you to add multiple items to paypal and/or other payment gateways?

Most scripts I have come across seem to be quite complex, requiring multiple files that are difficult to follow. I would like to find a simplified script so that I can understand how it works and adapt it to my needs if possible.