A shop is a shop is a shop, is it?
First I wonder why none brought in
Magento. Magento is an e-commerce platform written in PHP, utilising MySQL. It can be installed on an Apache or nginx hosting platform. That would give you full control over everything without the need to code a shop from scratch. Even if you'd like to code a shop from scratch, you should review Magento's source code.
IMO, a minimal shop is consisting of one or more representational pages for the article(s) you offer. It's good to have a database for the items, but for ten items that doesn't change frequently it's not a must. Then there should be some kind of form to order your items. That's where a server side scripting language comes in. Probably, you did some forms with basic PHP in the past. You could simply send a form to your email, containing the order and delivery address. Send your stuff to the purchaser with a printed invoice and wait for cash transfer. In theory you should know everything you need for some really primitive shop. If that's what you're asking for, then just keep it simple. What would make it more demanding is a customer login, shopping basket, transactional emails, different options for payment, verification of credit cards or addresses and of course there are lots of security considerations.
Let's say you just want to code a bare basic shop from scratch, but with a database for your shopping items, you could set up a local dev environment like
MAMP or
Softaculous AMPPS stack (building containers with Apache or nginx, PHP and MySQL with Vagrant or Docker is another alternative, especially useful if you are developing many projects with different requirements). MAMP or AMPPS give you phpMyAdmin out of the box. With that you can setup a database to your liking and pull the items with PHP into your frontend layout. Planning a database has its pitfalls and you should learn the basics about SQL and normalisation if you dig deeper into that. I've found it a big help to design the database visually with
MySQL Workbench CE. On the PHP side, you can choose to use the mysqli connector that only supports MySQL or some generic connector that can communicate to different databases with the same syntax.
Because you said that you can code JavaScript, I'd like to add that there is another completely different approach to things today. You could also use JavaScript with a Node.js server instead of PHP as a backend language. In that case, it's common to either use a NoSQL database instead of a SQL one or if you just need a few items, plain JSON files should work, too.
As a final comment, if you decide to go the easy way with Wix or Shopify, always read all the terms of service and legal stuff, especially those from needed add-ons (shop module) really carefully. There are countries, where those shops are not conform to local law and you'd end-up with a system that works, but doesn't cover your distribution area requirements.