Well,
I have already developed this type of custom e-commerce software using PHP and MySQL for my student. If you want to see it I can show you. Please ping me via private message.
By the way, I am a teacher, I teach the student about website development and website developer.
Thanks.