{"id":38690,"date":"2015-01-22T07:42:22","date_gmt":"2015-01-22T12:42:22","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=38690"},"modified":"2016-03-16T06:19:42","modified_gmt":"2016-03-16T10:19:42","slug":"prestashop-1-6-x-display-prices-catalog-mode","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/prestashop-1-6-x-display-prices-catalog-mode.html","title":{"rendered":"PrestaShop 1.6.x. How to display prices in Catalog mode"},"content":{"rendered":"<p><\/p>\r\n<p>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 <strong>Catalog mode<\/strong>  is enabled.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=MeeVuvOPHZg?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to display prices in Catalog mode<\/a><\/p>\r\n<p>As you know, <strong>Catalog mode<\/strong> 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 <strong>Shopping cart<\/strong> feature is also disabled in this mode: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-1-300x155.png\" alt=\"prestashop_1.6.x_how_to_show_prices_in_catalog_mode-1\" width=\"300\" height=\"155\" class=\"aligncenter size-medium wp-image-38692\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-1-300x155.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-1-150x77.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-1.png 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Let us show you the trick how to make product price appear at the front-end even if <strong>Catalog mode<\/strong> is enabled and there is no <strong>Shopping cart<\/strong> button:<\/p>\r\n<ol>\r\n<li>\r\n<p>On your FTP or using the hosting cpanel File Manager tool, go to <strong>themes\\themeXXX\\<\/strong> (where <strong>themeXXX<\/strong> is the name of your theme). <\/p>\r\n<\/li>\r\n<li>\r\n<p>Open <strong>product-list.tpl<\/strong> file: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-2-300x143.png\" alt=\"prestashop_1.6.x_how_to_show_prices_in_catalog_mode-2\" width=\"300\" height=\"143\" class=\"aligncenter size-medium wp-image-38693\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-2-300x143.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-2-150x71.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-2.png 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Look for the following code (in our case it is on line 63, that depends on a template you have):<\/p>\r\n<pre class=\"brush:php\">\r\n  \t {if (!$PS_CATALOG_MODE AND ((isset($product.show_price) &#038;& $product.show_price) || (isset($product.available_for_order) &#038;& $product.available_for_order)))}\r\n  <\/pre>\r\n<\/li>\r\n<li>\r\n<p>Now delete text <strong>!$PS_CATALOG_MODE AND<\/strong> from this part of the code. Your new code will look like this:<\/p>\r\n<pre class=\"brush:php\">\r\n  \t {if ( ((isset($product.show_price) &#038;& $product.show_price) || (isset($product.available_for_order) &#038;& $product.available_for_order)))}\r\n  <\/pre>\r\n<\/li>\r\n<li>\r\n<p><strong>Save<\/strong> the changes: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-3-300x124.png\" alt=\"prestashop_1.6.x_how_to_show_prices_in_catalog_mode-3\" width=\"300\" height=\"124\" class=\"aligncenter size-medium wp-image-38694\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-3-300x124.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-3-150x62.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-3.png 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Now open <strong>product.tpl<\/strong> file in the same <strong>themes\\themeXXX\\<\/strong> folder: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-4-300x138.png\" alt=\"prestashop_1.6.x_how_to_show_prices_in_catalog_mode-4\" width=\"300\" height=\"138\" class=\"aligncenter size-medium wp-image-38695\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-4-300x138.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-4-150x69.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-4.png 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Look for the following code (in our case it is on line 254):<\/p>\r\n<pre class=\"brush:php\">\r\n  \t {if $product->show_price &#038;& !isset($restricted_country_mode) &#038;& !$PS_CATALOG_MODE }\r\n  <\/pre>\r\n<\/li>\r\n<li>\r\n<p>Now delete text <strong>&#038;&#038; !$PS_CATALOG_MODE<\/strong> from this part of the code. Your new code will look like this:<\/p>\r\n<pre class=\"brush:php\">\r\n  \t {if $product->show_price &#038;& !isset($restricted_country_mode)  }\r\n  <\/pre>\r\n<\/li>\r\n<li>\r\n<p><strong>Save<\/strong> the changes: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-5-300x122.png\" alt=\"prestashop_1.6.x_how_to_show_prices_in_catalog_mode-5\" width=\"300\" height=\"122\" class=\"aligncenter size-medium wp-image-38696\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-5-300x122.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-5-150x61.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-5.png 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Refresh the front-end of your site to see the changes: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-6.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-6-300x170.png\" alt=\"prestashop_1.6.x_how_to_show_prices_in_catalog_mode-6\" width=\"300\" height=\"170\" class=\"aligncenter size-medium wp-image-38697\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-6-300x170.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-6-150x85.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/prestashop_1.6.x_how_to_show_prices_in_catalog_mode-6.png 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>That&#8217;s it! Now prices are shown at the front-end despite of the enabled Catalog mode.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=MeeVuvOPHZg?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to display prices in Catalog mode<\/a><br \/>\r\n<\/p>","protected":false},"excerpt":{"rendered":"<p>In our new tutorial we will teach you how to make products prices appear on your site even when Catalog mode is enabled.<\/p>\n","protected":false},"author":72,"featured_media":43096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[732],"tags":[695,1168,552,544],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/38690"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/72"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=38690"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/38690\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/43096"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=38690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=38690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=38690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}