Prestashop, always show product availability
<p>I set up my store to allow order also for products that quantity is &lt;=0.
So, in Product configuration setted to show product quantities in the product page and allowed orders for out of stock products. Maybe I have a problem with my template but I can see availability of products only when are >0. I need to always show availability(2 available, 0 available, -2 available).</p>

<p>This is my FO product page(this size not available):
<a href="https://i.stack.imgur.com/ySThf.png" rel="nofollow noreferrer">FO product, size not available</a></p>

<p>This is my FO product page(size available):
[FO product, size available][3]</p>

<p>If I set in BO to not allow orders for out of stock products I can see the text that I want to see also if I allow orders for out of stock products.</p>

<p>As you can see, only when the product is >0 the availability is shown. I just want to ALWAYS show availability because I need to allow orders for out of stock products.</p>

<p>I think that I need to edit this part of product.tpl</p>

<pre><code>{if ($display_qties == 1 &amp;&amp; !$PS_CATALOG_MODE &amp;&amp; $PS_STOCK_MANAGEMENT &amp;&amp; $product-&gt;available_for_order)}
&lt;!-- number of item in stock --&gt;
&lt;p id="pQuantityAvailable"{if $product-&gt;quantity &lt;= 0} style="display: none;"{/if}&gt;
&lt;span id="quantityAvailable"&gt;{$product-&gt;quantity|intval}&lt;/span&gt;
&lt;span {if $product-&gt;quantity &gt; 1} style="display: none;"{/if} id="quantityAvailableTxt"&gt;{l s='Item'}&lt;/span&gt;
&lt;span {if $product-&gt;quantity == 1} style="display: none;"{/if} id="quantityAvailableTxtMultiple"&gt;{l s='Items'}&lt;/span&gt;
&lt;/p&gt;
{/if}
{if $PS_STOCK_MANAGEMENT}
&lt;!-- availability --&gt;
&lt;p id="availability_statut"{if ($product-&gt;quantity &lt;= 0 &amp;&amp; !$product-&gt;available_later &amp;&amp; $allow_oosp) || ($product-&gt;quantity &gt; 0 &amp;&amp; !$product-&gt;available_now) || !$product-&gt;available_for_order || $PS_CATALOG_MODE}{/if}&gt;
{*&lt;span id="availability_label"&gt;{l s='Availability:'}&lt;/span&gt;*}
&lt;span id="availability_value"{if $product-&gt;quantity &lt;= 0 &amp;&amp; !$allow_oosp} class="warning_inline"{/if}&gt;{if $product-&gt;quantity &lt;= 0}{if $allow_oosp}{$product-&gt;available_later}{else}{l s='This product is no longer in stock'}{/if}{else}{$product-&gt;available_now}{/if}&lt;/span&gt;
&lt;/p&gt;
{hook h="displayProductDeliveryTime" product=$product}
&lt;p class="warning_inline" id="last_quantities"{if ($product-&gt;quantity &gt; $last_qties || $product-&gt;quantity &lt;= 0) || $allow_oosp || !$product-&gt;available_for_order || $PS_CATALOG_MODE}{/if} &gt;{l s='Warning: Last items in stock!'}&lt;/p&gt;
{/if}
&lt;p id="availability_date"{if ($product-&gt;quantity &gt; 0) || !$product-&gt;available_for_order || $PS_CATALOG_MODE || !isset($product-&gt;available_date) || $product-&gt;available_date &lt; $smarty.now|date_format:'%Y-%m-%d'}{/if}&gt;
&lt;span id="availability_date_label"&gt;{l s='Availability date:'}&lt;/span&gt;
&lt;span id="availability_date_value"&gt;{dateFormat date=$product-&gt;available_date full=false}&lt;/span&gt;
&lt;/p&gt;
&lt;!-- Out of stock hook --&gt;
&lt;div id="oosHook"{if $product-&gt;quantity &gt; 0} style="display: none;"{/if}&gt;
{$HOOK_PRODUCT_OOS}
&lt;/div&gt;
</code></pre>

<p>tried different things removing some of</p>

<pre><code>style="display: none;"
</code></pre>

<p>with no success.</p>

<p>I will appreciate your help.
Thank you in advance.</p>