I have a website where I have products in 2 levels and I have run into performance issue so I need to do it in a different way to speed it up.
My structure is like this:
- Category
- - Subcategory - - - Products
I have subcategories as "Custom Elements" with Name and Alias (e.g. 01-01).
Products is a "Custom Elements" that has a "selectdb" with subcategories as the source and Alias as the ID.
I have a page for each Category. And each page list a headline for the subcategory and the belonging products.
Subcategory is made up of a headline and CustomCatalog-List module that list products with custom SQL condition of subcategory='01-01'.
The pages with many subcategories load quite slow at 7-9 seconds. Is there a suggestion for how and can construct this so it loads faster?
I started out with a more complex structure of categories -> subcategories -> products being in a tree but since it is all translated, that was quite unstable and hard to maintain. Also it is important that all products have a breadcrumb trail.
I've attached pictures of front end and backend
My structure is like this:
- Category
- - Subcategory - - - Products
I have subcategories as "Custom Elements" with Name and Alias (e.g. 01-01).
Products is a "Custom Elements" that has a "selectdb" with subcategories as the source and Alias as the ID.
I have a page for each Category. And each page list a headline for the subcategory and the belonging products.
Subcategory is made up of a headline and CustomCatalog-List module that list products with custom SQL condition of subcategory='01-01'.
The pages with many subcategories load quite slow at 7-9 seconds. Is there a suggestion for how and can construct this so it loads faster?
I started out with a more complex structure of categories -> subcategories -> products being in a tree but since it is all translated, that was quite unstable and hard to maintain. Also it is important that all products have a breadcrumb trail.
I've attached pictures of front end and backend
Kommentar