Comparison table plugin takes table of products from content article, dynamically creates table with checkboxes and allows to show/hide columns of that table.
SUPPORTS Joomla 3.0!
- Create new article.
- Insert tag {comparisontable} into article where product visibity selection checkboxes must appear.
- Create table with ID comparisontable into article. Table id can be changed using HTML view or with JCE editor: rightclick on table> Table Properties >Advanced >Id
- Add all products you want to compare into table side by side.
- First row in comparison table must contain product names
- First column in comparison table must contain product parameter values
- Download and install plugin. Download plugin here http://marguspala.com/joomla/comparisontable.zip
- Open: Extensions > Plug-in Manager > Content – Comparison Table. Set Plugin enabled. Choose max products to compare and columns in visible selection table.
Add your feedback here if plugin has some issues or needs new features/changes.






#1 by Ryan on November 20, 2011 - 11:59
Quote
Do you have a demo? I’d like to see it in action. Sounds like a fantastic extension for what I need.
#2 by smartman on November 20, 2011 - 12:24
Quote
I have developed it for http://eestielektriautod.eu/en/comparison-table
#3 by Eraser on November 22, 2011 - 16:57
Quote
Great Job.
Can you tell me how to change te code to show me first column by default.
In your demo example it vould be Renault Fluence Z.E checkbox=checked by default.
#4 by smartman on November 22, 2011 - 17:22
Quote
open js/compare.js for editing
add
show_hide_column(1, true);
selectiontable.getElementsByTagName(‘input’)[0].checked=true;
as last lines in function init_comparison_table()
This is also default behaviour from now on. You can update your plugin from update manager.
Please rate this plugin if you like it
#5 by Kos on December 8, 2011 - 16:03
Quote
is it possible to have more than one different tables ?
#6 by Nick on December 8, 2011 - 16:50
Quote
First of all, great plugin! I’m intending to use this for a client of mine for a comparison website. However, the layout would be more convenient for our purpose if it was possible to compare products one under the other in rows instead of in columns side-by-side. The page is only so wide of course
A suggestion which would make this plugin rise above all competition: a sort function. Lets say you compare 4 products and you want to rank them according to price or another feature. This would be amazing, though quite a daunting task to implement of course
Good luck and thanks again!
#7 by Daniel Barrós on December 10, 2011 - 17:10
Quote
Hello and thank you very much first for sharing your work with us.
I downloaded the plugin, I’ve installed and followed all the steps. However, when I give a preview, I see only one checkbox. I can be doing wrong.
thank you very much
#8 by smartman on December 10, 2011 - 21:10
Quote
Do you see any javascript errors with firebug? Table must have no merged cells.
#9 by smartman on December 10, 2011 - 21:11
Quote
I am considering to code support for multiple tables and sorting. Anyone needing same features please let us know to help prioritizing.
#10 by Daniel Barrós on December 12, 2011 - 14:34
Quote
Thank you so much smartman, finally got it working. But I have a doubt, would have a chance to do this using a dropdown menu instead of checkboxes?
#11 by danaos on December 17, 2011 - 18:31
Quote
Excellent plugin, congratulations
Would like have more than one column of products since I have a lot. I have done it but it shows irregular space between the product columns. The description columns are working fine.
Will you please let me know how can I fix it?
#12 by smartman on December 17, 2011 - 18:40
Quote
Hi Danaos. Try to check HTML source of your article. Most probably you have tags in your table cells. This makes cell size bigger than the ones that have just texts.
#13 by Danaos on December 20, 2011 - 13:34
Quote
Thank you so much smartman for your excellent work and also for your always prompt assist.
Plugin is working fine.
I will be very much obliged if you tell me how to increase columns of cols in selectiontable, now it shows 5, I want 7. At plugin parameters, cols in selectiontable, I change to 7, but nothing change at the article.
Products description is ok, it shows 5 selected each time.
Thanks in advance!
#14 by smartman on December 24, 2011 - 16:01
Quote
Sorry for late reply. There was defect that caused these effects. Now it is fixed and version 1.0.0 uploaded. Please reinstall or use updater in Joomla 1.6+.
I would also appreciate if you rate it in JED.
#15 by hai on December 27, 2011 - 11:21
Quote
Hello
How to make products checked by default ??? This feature will make the article more beautiful.
thanks
#16 by smartman on December 27, 2011 - 12:41
Quote
I will take into development queue feature where you can configure initial visible columns in plugin settings.
Until that you can do magic by in javascript files.
1. Find compare.js
2. Find function init_comparison_table() inside it
3. add to the end of this function 2 lines for each product visible by default. First line shows column, second line checks checkbox corresponding to it also:
show_hide_column(1, true);
selectiontable.getElementsByTagName(‘input’)[0].checked=true;
Make sure that column numbers start from 1 and selection table items start from index 0.
#17 by navibd on January 2, 2012 - 14:34
Quote
First of all thank you for this plug in
second:What are these parameter in plug-in?Does it mean we only can produce 5column tables or any number we add in plug in?
I mean If we add number for example “6″ for Cols in selectiontable ,we only can exactly use 6 parameter for our comparison?
or even in Max products to compare…
I think any limitation is not acceptable for clients who want to use this plug-in..
another point is documentation” in which it is not clear enough………………… please consider it a while and change the tutorial..
another point: can we use it for RTL languages?
I installed this plug-in and inserted {comparisontable} in the article and changed ID of table , but I still can not see a table with check box..
Is it possible to change it to a component ?
anyway, I appreciate your work..
#18 by navibd on January 2, 2012 - 14:44
Quote
OK! I can create table! it was my fault in some part.
But
1-can we add Border or not?
2-I want to have more than 1 table in my articles and one of them is 1*2 table and one of them is 20*9…
I stil have problem with plugin parameters..
what are those exactly ? can do limit me to create differently and freely tables or not ?
#19 by smartman on January 2, 2012 - 16:40
Quote
*You can have one comparison table per article.
*You can have different comparisons in different articles but settings will be same for all.
* In data source you can have unlimited number of columns. One parameter specifies how the table, where you select visible fields, will be created and how many columns it has. Second parameter selects how many products you can choose for comparison.
Pingback: Optimize website to AdSense performance « Margus Pala is fixing IT!
#20 by Dr. Michael Voursoukis on January 13, 2012 - 13:35
Quote
Dear Gentlemen/ Ladies,
I would appreciate it if you could briefly tell me how I can change any articles in Article Manager section in the second language i.e. German in Joomla?
Someone else has installed it but did not expalin to me how to make changes in the second language whereas I know how to do it in the first language i.e. English
Thanking you in advance,
Dr. Michael Voursoukis
My email is
PROFESSORANGEL7@YAHOO.GR
#21 by smartman on January 16, 2012 - 07:11
Quote
For translations exists plugin called Joomfish, see http://www.joomfish.net/
#22 by JULIUS on June 1, 2012 - 09:48
Quote
Im getting this error :
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /homepages/29/d333995236/htdocs/joomla/plugins/content/comparisontable.php on line 18
Please let me know what to do!!
#23 by JULIUS on June 1, 2012 - 09:53
Quote
My hosting provider is running PHP 4.4.9
Im using Joomla 1.5.18
#24 by Blok on June 12, 2012 - 21:13
Quote
Really nice plugin.
I do however have issues placing the ticboxes so they look good (like on your demo-site). Text is sometimes under the boxes. Can this be controlled?
Also, tickboxes with text does not follow the width of the table. Can this be controlled?
Finally, columns have different width, how do I specify the width of each column.
Thank you very much for much needed plugin
#25 by Tanya on July 3, 2012 - 16:35
Quote
Sorry, my mistake. Forget delete collspan
#26 by K2Joom on July 10, 2012 - 14:41
Quote
I just checked out this plugin and wanted say, it works!!
Also, it works in any content too, as I have been using this in K2.
I would like to see a version which allows sorting rows instead of columns.
#27 by Michael on July 25, 2012 - 13:14
Quote
Hi, thanks for this great plugin.
I am wondering can this work with Adsmanager’s ads. Or, if you developed a module for Adsmanager in future will be much appreciated.
Thank you!
#28 by Eddie Bower on October 10, 2012 - 12:10
Quote
How can I hide the first checked selection? I don’t want the users thinking I have already made a selection for them.
J1.5.26
#29 by Kinders on October 28, 2012 - 10:18
Quote
If its posible to compare only col 2 with col 5
and not 1 col
how to do it ?
#30 by Chad Criswell on November 3, 2012 - 06:12
Quote
I love the plugin as it is something I have been wanting to implement for a very long time. It seems to handle my big table well but has a few issues including large error messages at the bottom of the page saying to go to your site to report an error. The page in question is:
http://www.musicedmagic.com/music-technology/portable-digital-audio-recorder-buying-guide-with-reviews.html
Thanks for the great plugin. Any help on this error and the strange partial table column it is showing by default would be greatly appreciated.
#31 by smartman on November 4, 2012 - 12:40
Quote
Looks like problem is related to table structure and “Olympus LS-11″ . Please send me email margus.pala at gmail.com
#32 by Ryan on November 15, 2012 - 20:35
Quote
Is there a Joomla 3.0 compatible version of this plugin?
#33 by notverysmart on December 3, 2012 - 13:04
Quote
I was wonderign if this plugin/module could compare. i mean if you have 4 different lists with same items and different prices,(namely 4 shops), and then list the cheapest items from all those lists.
#34 by Jeanette on December 5, 2012 - 22:13
Quote
Is there a way, once you select your comparable items, to lock the first row of the displayed chart so when you scroll down to look at the various properties you still see the name/brand of the comparison item?
#35 by JanD on December 13, 2012 - 16:51
Quote
Not working in Joomla 3….Yet it has the Joomla 3.x badge in the extension directory at joomladotorg.
#36 by Shahida Umar on December 26, 2012 - 21:05
Quote
Please help me, i followed the user guide but check-boxes are not showing in my article and i cant understand what is “product parameter values” of my product.
#37 by priya on January 9, 2013 - 15:02
Quote
Comparison table plugin encountered error.
#38 by priya on January 10, 2013 - 13:23
Quote
hello,
I’m struggling with “Comparision table pugin encounted error”. Otherthan this error, this module is superb….
Can Anyone feed some suggestion about this issue….
#39 by Leandro on March 27, 2013 - 18:50
Quote
Hello, erro in my website. “Comparison table plugin encountered error. Please report it to http://marguspala.com/comparison-table-plugin-for-joomla”
thanks