- Issue created by @horekrishan
This case study details the systematic procedure to construct a block displaying related products on an eCommerce website. The approach utilizes Drupal's Views module and incorporates custom PHP code to effectively filter and display products based on taxonomy terms associated with a specific product. The steps encompass creating a View with a block display, establishing product display relationships, configuring display fields, implementing a contextual filter based on taxonomy terms, and incorporating a PHP-based filter to omit the currently viewed product from the related products list. This comprehensive methodology facilitates an organized and efficient approach to presenting related products within an eCommerce site.
Needs work
1.0
Code