Searched the forums but cannot locate an answer for this one, hopefully some of you more experienced with MODx can assist.
I have a list of products I want to display on my site, there is very little information about the products that need to be displayed (three basic sections of text all share the same image) but I’d like to create a way for visitors to search the list by part number, product name or list all by p/n or name.
When a visitor selects a product I want to display some very basic content about the product (just a few lines of text). There are about 400 of these small products and the information is currently in an Excel table.
What is the best method to enable searching of the products along with the rest of the site? Does each product need its own document? If it needs a document for each, is there an easy way to create the multiple documents?
Newbie questions I know but your assistance is greatly appreciated.
Thanks,
jisaac
-
MODX Staff
- 10,725 Posts
Personally, I would create a custom database table to store the data, then create just the views you need of the products, and the search components.
However, this means you need to write your own code to summarize the listings, display a product view, etc.
With 400 products, you could probably get away with doing it as MODx Resources (aka Documents), but it’s not as scalable or flexible IMO. It just depends on your skills and needs.
Let’s pretend I have no skills in this area - what do you suggest? I can cut and paste and figure out enough to be dangerous but some steps or examples would be highly appreciated.
jisaac