Categories

Featured templates

Opencart. How to remove “Add To Compare” from the product page

Daniel Morales April 9, 2015
Rating: 3.0/5. From 2 votes.
Please wait...

Opencart. How to remove “Add To Compare” from the product page

This tutorial will show you how to remove ‘Add To Compare’ button from the product page in your OpenCart store:

How_to_remove_Add_To_Compare_from_the_product_page_1

  1. Access your server using any ftp software. Open the file catalog/view/theme/themeXXX/template/product/product.tpl.

  2. Back up this file:

    How_to_remove_Add_To_Compare_from_the_product_page_3

  3. Remove the following code from product.tpl file:

    <li>
    	<button class="btn btn-icon" type="button" data-toggle="tooltip"
    	title="<?php echo $button_compare; ?>"
    	onclick="compare.add('<?php echo $product['product_id']; ?>');">
    	<span><?php echo $button_compare; ?></span></button>
    </li>
  4. Save the changes. Clear your browser cache and check your website:

    How_to_remove_Add_To_Compare_from_the_product_page_2

We’ve successfully removed ‘Add To Compare’ button from the product page.

Feel free to check the detailed video tutorial below:

Opencart. How to remove “Add To Compare” from the product page

Best OpenCart Themes
This entry was posted in OpenCart Tutorials and tagged compare, opencart, product. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket