I want to make a little solution with CMS, and just to put it simple:
My cms folder is called cms and at my root
Inside cms folder, I have a products folder (containing markdown files for products)
I want to make a dropdown list to show products to select (for instance in a form)
I also wonder if it’s possible to reference a product in markdown, because I want to create for instance product bundles, like, “Bundle 1” containing product 1, 3 and 9, and “Bundle 2 containing product 1, 4, 5 and 8. Is there a way to put the title from related products into a bundle markdown file?
Thanks for your reply. I just made it about products and bundles to make it more general, it’s not going to become a store. It’s more like a solution for booking trips. There’s no plan to turn it into a eCommerce, although it could be a thought in similar other situations.
Right now, I’m just starting to try a bit more with the CMS.
I’m more thinking about the standard dropdown box, and populate it with all the products from the database. But I also want to make a form to make bundles, so that I can make the bundles without having to deal with the markdown files. Basically to let end users (owners of website) be able to make the links in the “database” (I know CMS is not a relational database)…
For starters, I’m happy to just being able to put the options into the dropdown box. In HTML, it’s looking something (just writing in a hurry now) like this:
<select name=”products”>
<option value=”product1”>Product No 1 Name</option>
<option value=”product2”>Product No 2 Name</option>
</select>