Hello,

I was trying to find module that will allow me to have product comparison in some kind of a table. I need to enter lots of different products and to compare them on some criteria. I'm not sure this could be accomplished using views.
I couldn't find anything... Does anyone have any hints? :-D

Thanks!

Comments

zilla’s picture

sounds like you'll need to use cck fields of assorted types and then write a page snippet for the actual table output depending on what you're trying to do, number of variables for comparison and all of that.

neo11yu’s picture

Huh, any further info on that? What are assorted types? What is page snippet? How do I do that?

thanks!

zilla’s picture

what i mean is take your 'content type' (lets call it a 'page' in admin/content types) and then with the cck module enabled, you can add fields to a page for text or numbers, images, etc...you can also create a vocabulary of terms that apply to any such page (foods: fruit, meat etc) - within the 'documentation' link up above in drupal.org you'll see a huge section on "php snippets" for pages and blocks - you need to go to modules, enable the "php module" and then when you cut and paste those snippets into a page or block to 'display information from those content types' you've modified with cck or whatever, you'll simply select 'php input' instead of default html filter

joodas’s picture

Read this blog post: http://jan.tomka.name/blog/product-comparison-drupal
Attached to it a module implementing the functionality.

WorldFallz’s picture

Please stop spamming your link all over drupal.org. One post is enough. Thanks.

joodas’s picture

Please, look up the definition of spamming and advise which of the forum guidelines have been broken. In case you are interested in the product comparison functionality, I hope the article and the attached module have helped to solve your problem.

alexmoreno’s picture

i've been working in this functionality, and my code is nearly ready to be stable enough:

http://drupal.org/sandbox/programadoresweb/1880298

hope it helps someone.

Best regards.

polishyourimage’s picture