D
D
domanskiy2017-11-04 08:38:46
MODX
domanskiy, 2017-11-04 08:38:46

Choosing a way to implement a product catalog?

I'm struggling with the choice of how to implement the product catalog.
Of course, you can also put a shopkeeper, but why hammer nails with a microscope?
The task is simple: There are approximately 6 categories, 40-90 products in each. It is possible to expand up to 200pcs in each category. We need the usual output of product cards with a name, price, and a short description. Filter products by category, price, and a couple of those. parameters.
As I understand it, there are a couple of ways to implement this:
1. Use a resource tree. Create an article for each product and display it through PdoTools. Well, most likely for convenience, so as not to suffer with a tree view - Collections
2 way: Create a separate table in the database and output from it. Each line is a product.
Which of the methods is preferable?
How to implement a catalog update: import of new positions, deletion of some, data change?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question