title: Display "Show more" button to product list in prestashop
body: <p>Currently the code below in the product-list.tpl enables the "add to cart" button when the products don't have attributes and hides the button when the option "Display the add to cart button when a product has attributes" is set to off in the BO. 
  My question is how do I need to change this code in order to display the "show details" button. (A button that goes to the product page)</p>
  
  <pre><code>&lt;div class="button-container"&gt;
  {if ($product.id_product_attribute == 0 || (isset($add_prod_display) &amp;&amp; ($add_prod_display == 1))) &amp;&amp; $product.available_for_order &amp;&amp; !isset($restricted_country_mode) &amp;&amp; $product.customizable != 2 &amp;&amp; !$PS_CATALOG_MODE}
  {if (!isset($product.customization_required) || !$product.customization_required) &amp;&amp; ($product.allow_oosp || $product.quantity &gt; 0)}
  {capture}add=1&amp;amp;id_product={$product.id_product|intval}{if isset($product.id_product_attribute) &amp;&amp; $product.id_product_attribute}&amp;amp;ipa={$product.id_product_attribute|intval}{/if}{if isset($static_token)}&amp;amp;token={$static_token}{/if}{/capture}
  &lt;a class="button ajax_add_to_cart_button btn btn-default" href="{$link-&gt;getPageLink('cart', true, NULL, $smarty.capture.default, false)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Add to cart'}" data-id-product-attribute="{$product.id_product_attribute|intval}" data-id-product="{$product.id_product|intval}" data-minimal_quantity="{if isset($product.product_attribute_minimal_quantity) &amp;&amp; $product.product_attribute_minimal_quantity &gt;= 1}{$product.product_attribute_minimal_quantity|intval}{else}{$product.minimal_quantity|intval}{/if}"&gt;
  &lt;span&gt;{l s='Add to cart'}&lt;/span&gt;
  &lt;/a&gt;
  {else}
  &lt;span class="button ajax_add_to_cart_button btn btn-default disabled"&gt;
  &lt;span&gt;{l s='Add to cart'}&lt;/span&gt;
  &lt;/span&gt;
  {/if}
  {/if}
  &lt;a class="button lnk_view btn btn-default" href="{$product.link|escape:'html':'UTF-8'}" title="{l s='View'}"&gt;
  &lt;span&gt;{if (isset($product.customization_required) &amp;&amp; $product.customization_required)}{l s='Customize'}{else}{l s='More'}{/if}&lt;/span&gt;
  &lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Thank in advance</p>