If you want to build this yourself, then you need to become familiar with database design concepts and server side scripting languages. If you don't, then search the web for 'product catalog scripts' and include the scripting language you want to use. There's plenty available.
You didn't mention whether you were looking for a free or commercial solution so this might be of interest to you. I have two Behaviors that can be used to display product images with captions, or full product detail pages, when a thumbnail is clicked. CyberGallery and PeekaBoo.
PeekaBoo is a Behavior for displaying Flyouts. This can be used to display a product details page for certain products. The page is displayed inside an AP Div containing an iFrame. The flyout can appear at X-Y coordinates, or near the cursor, or centred in the browser window. This set up can include scroll bars for lengthy detail pages. Each thumbnail has the PaB Behavior linked to it where display options are selected.
These are not data base driven solutions, but they might be of interest to you if you can't find what you're looking for.
Contact me at http://www.actionscafe.com/ if you have any questions.
Thanks for all the answers but I cannot find a good easy DM cart plugin.
I found some for $200-400 but without trial.
I am not paying without having a clue if it works.
I am moving over to Joomla unless someone has a last idea
Still thanks for all help !