I am asked to make an inventory control for an online shop where they want to be able to enter dynamic attributes on their items.
the example i found was like in aliexpress example: https://www.aliexpress.com/item/1PCS-Heavy-duty-nylon-straps-20mm-22mm-24mm-Nylon-Watch-band-NATO-strap-zulu-strap-watch/32657441101.html?spm=2114.01010208.3.31.5IJhsi&ws_ab_test=searchweb201556_0,searchweb201602_4_10057_10056_10065_10068_10055_10054_10069_10059_10058_10073_10017_10070_10060_10061_10052_10062_10053_10050_10051,searchweb201603_3&btsid=ebc44e5a-1509-4914-9151-a45c9124fa35
(this one has many attributes) but other items they don't have the custom attribues, just price
The user able to enter items name, items type then they can define the custom attributes such as color, size, type etc ... 1 items can have as many attributes. 1 attributes can be a multiple choices like color : red, green, blue, yellow. size: large, medium, smal. type: A,B,C,D,E
the customer should be able to order items and displayed like in aliexpress one. so in their order whould show ItemX with color:red, size:large, type:B, qty:10
or just ItemY with qty:8
I also need to be able to report which items that has been sold out and which one is available.
how to do that in mysql ? thank you.