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
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; }
Thanks Wingly.
That seems to work.
Do you think hiding ".add-to-links " has effects in other sections or pages?
I did not notice that, but in case it does, it will be easy to rectify;