logo

Extra Block Types (EBT) - New Layout Builder experience❗

Extra Block Types (EBT) - styled, customizable block types: Slideshows, Tabs, Cards, Accordions and many others. Built-in settings for background, DOM Box, javascript plugins. Experience the future of layout building today.

Demo EBT modules Download EBT modules

❗Extra Paragraph Types (EPT) - New Paragraphs experience

Extra Paragraph Types (EPT) - analogical paragraph based set of modules.

Demo EPT modules Download EPT modules

Scroll

Help remove duplicates in Views

22/02/2025, by Anonymous (not verified)

I'm creating an online store using Drupal Commerce. To allow customers to choose the memory size when purchasing a phone, I'm using Variations (just like in Kickstart). Everything displays perfectly on the product page - there's a dropdown list of options, and the price updates accordingly. However, I've encountered a problem with the category page - for displaying products, I'm using Views (outputting a ready-made entity), but products that have multiple Variations are displayed as duplicates, all showing the same price. Can you advise me on how to remove these duplicates and ensure that only one product is displayed?

What I've tried that didn't work:

  • enabling aggregation,
  • turning on uniqueness in "query settings",
  • adding a filter by term and checking the box for unique values,
  • grouping in various ways, but nothing seems to work...
I would greatly appreciate any advice!