Target
Develop an online catalog of Lego analogues on the Drupal Commerce 2 (Core) platform with automatic display of categories based on product availability.
Project work process
To create online stores and online catalogs, we recommend using the Commerce module, as it can be quickly scaled and improved by connecting various types of products, ranging from physical to virtual goods.
For the site, we have developed several types of dynamic blocks that automate the work of promotional materials:
- Block slider
- CTA block for promotional materials
- Basic block for arbitrary content
For the main content, we have developed 3 types of material:
- Base material. Used for static pages, contact pages.
- News. Working with news and promotions.
- Slider. To display full-size banners on the main page.
All product pages are based on products from Drupal Commerce without the use of variations. Each product corresponds to certain fields-characteristics, as well as taxonomy terms. Voting is based on the Voting API.
For the categories, we used the Views and Facet APIs to set up the filters to work and display the structure of the main directory at the same time. If there are no products in the category, then empty terms in the menu are automatically hidden here.
Модули, используемые при разработке:
Results
The project turned out to be fully automated, all management is carried out by the Customer without the involvement of additional specialists.