How can I implement a product comparison with the Drupal Commerce module?

For example, if there is a list of products, will the user be able to click on checkbox of 3 products, and click the "Compare" button to see a table where products, features, and prices are compared?


I think that this page could be useful for you: Product comparison in Drupal. This tutorial explains how to to implement a node comparison with Flag and Views modules: in short creating an Include in comparison per-user node flag, which users will use to mark the interesting nodes. Then, creating a table view with the nodes previously marked.

| improve this answer | |
  • there's nothing here mentioned about drupal commerce, but I suppose this will work, right? – john Oct 7 '11 at 22:20
  • hello john, Is a detailed recomendation about experience of a Drupal developer (jan tomka). sorry but it is not my experience, is a suggestion. – cigotete Oct 7 '11 at 22:30
  • This is a great explanation and does what it says. – stefgosselin Dec 3 '11 at 4:21
  • 2
    You should write a summary of what reported in that article, in your answer. Answers that just contain a link are not much helpful. – kiamlaluno Mar 25 '12 at 14:59

There's this interesting module, the Properties module, which allows you to do comparisons, but it hasn't anything to do with Drupal Commerce. You could have these properties in any Drupal entity.

Provides a dynamic properties field that allows to store product properties or similarly structured information. A property consists of an attribute, the name of the property and a value. It belongs to a category.

Properties are stored in a structured way so that they can be compared, indexed, processed and displayed in different ways. By default, a table and a definition list formatter is provided.

| improve this answer | |
  • thanks for your answer. I see that the development of this module has stopped since May. – john Oct 23 '11 at 21:30

There is module for that

Commerce Comparer


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.