Categories

Featured templates

PrestaShop 1.6.x. How to remove Print button on product page

Andre Flores February 11, 2015
Rating: 5.0/5. From 1 vote.
Please wait...


PrestaShop 1.6.x. How to remove Print button on product page

Hello! This video tutorial shows how to remove Print button on product page in PrestaShop templates:

how_to_remove_print_button_on_product_page_1

  1. Open any product page and use Firebug extension/Inspect Element browser feature to find out what class is assigned to the Print button:

    how_to_remove_print_button_on_product_page_2

  2. You can see the Print button class name is “print”. Use “Search” tool in your FTP software (FileZilla, Total Commander, etc.) to find which file contains the class you are looking for.

The file you were looking for is “product.tpl” located in the \themes\themeXXXX\ directory (where XXXX is your theme number) of your PrestaShop installation.

  1. Open the file using any text editor, e.g. Adobe Dreamweaver, Notepad++ etc.

  2. Locate the following code in the opened file:

    <li class="print">
    <a href="javascript:print();">
    {l s='Print'}
    </a>
    </li>
    

    how_to_remove_print_button_on_product_page_3

  3. Just comment out the whole “print” class, so that the code looks as follows:

    <!-- <li class="print">
    <a href="javascript:print();">
    {l s='Print'}
    </a>
    </li> -->

    how_to_remove_print_button_on_product_page_4

  4. Save the edited file and overwrite the existing one on your server.

  5. Now, open the product page and refresh it to see changes:

    how_to_remove_print_button_on_product_page_5

Changes are successfully applied to the product page.

This is the end of the tutorial, you have learnt how to remove Print button on product page in your PrestaShop store.

Feel free to check the detailed video tutorial below:

PrestaShop 1.6.x. How to remove Print button on product page

Premium Prestashop Templates
This entry was posted in PrestaShop Tutorials and tagged button, Prestashop, print, remove. 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