Thanks again John.
I appreciate your help and support.
I have edited the file and i am able to show the custom fields of product in compare table.But when i compare 3 products its showing only custom fields of latest product. i am not able now to show it in a loop.
I want to show same like how this Compare plugin show all the fields in a loop.
Need your help John.
Will be so thankful to you.