Categories

Featured templates

PrestaShop 1.6.x. How to display prices in Catalog mode

Mia Cox January 22, 2015
Rating: 5.0/5. From 1 vote.
Please wait...

Good news for all on-line store keepers! In our new tutorial we will teach you how to make products prices appear on your site even when Catalog mode is enabled.

PrestaShop 1.6.x. How to display prices in Catalog mode

As you know, Catalog mode is used when merchants want to show their products online but not allow online purchases. This means that all the products are displayed on the site but prices. The Shopping cart feature is also disabled in this mode:

prestashop_1.6.x_how_to_show_prices_in_catalog_mode-1

Let us show you the trick how to make product price appear at the front-end even if Catalog mode is enabled and there is no Shopping cart button:

  1. On your FTP or using the hosting cpanel File Manager tool, go to themes\themeXXX\ (where themeXXX is the name of your theme).

  2. Open product-list.tpl file:

    prestashop_1.6.x_how_to_show_prices_in_catalog_mode-2

  3. Look for the following code (in our case it is on line 63, that depends on a template you have):

      	 {if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
      
  4. Now delete text !$PS_CATALOG_MODE AND from this part of the code. Your new code will look like this:

      	 {if ( ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
      
  5. Save the changes:

    prestashop_1.6.x_how_to_show_prices_in_catalog_mode-3

  6. Now open product.tpl file in the same themes\themeXXX\ folder:

    prestashop_1.6.x_how_to_show_prices_in_catalog_mode-4

  7. Look for the following code (in our case it is on line 254):

      	 {if $product->show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE }
      
  8. Now delete text && !$PS_CATALOG_MODE from this part of the code. Your new code will look like this:

      	 {if $product->show_price && !isset($restricted_country_mode)  }
      
  9. Save the changes:

    prestashop_1.6.x_how_to_show_prices_in_catalog_mode-5

  10. Refresh the front-end of your site to see the changes:

    prestashop_1.6.x_how_to_show_prices_in_catalog_mode-6

That’s it! Now prices are shown at the front-end despite of the enabled Catalog mode.

Feel free to check the detailed video tutorial below:

PrestaShop 1.6.x. How to display prices in Catalog mode

Prestashop Themes
This entry was posted in PrestaShop Tutorials and tagged catalog, mode, Prestashop, price. 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