Remove "Add to Compare" in Category List View

When I go to a category page I see products in that category in Grid view.
If I click the "List" view….I see " [ADD TO CART] | ADD TO COMPARE ".

I need to remove both the [ADD TO CART] button and "ADD TO COMPARE" link.

What php or phtml or xml files do I need to make changes to?

I have successfully removed the Add to Compare on the product details page.

Thanks

3 answers

Profile photo of Alexandru Gorbenco 240.00 $tone May 18, 2014
Public

I would not recommend removing the php code as you might need it after words; I would suggest just not make them visible; In order to achieve that follow the step bellow:

Go to and open file /skin/frontend/default/jm_megamall/css/styles.css and on line 4397 find the following code:

Code:

.add-to-links {
	float: left;
	font-size: 12px !important;
	line-height: 1.25 !important;
	margin: 0;
	text-align: left !important
}

add there to the last line the display: none; property -- the result should look like this:

Code:

.add-to-links {
	float: left;
	font-size: 12px !important;
	line-height: 1.25 !important;
	margin: 0;
	text-align: left !important
        display: none;
}
#1

Please login or Register to Submit Answer

Written By

Comments