title: Prestashop display content based on selected carrier ID
body: <p>My question is very similar to this already existing one:</p>
  
  <p><a href="https://stackoverflow.com/questions/15946376/prestashop-get-carrier-id">Prestashop get carrier id</a></p>
  
  <p>I'm trying to display a input form, depending on the selected carrier in prestashop 1.7's 'shipping method' step. </p>
  
  <p>I've tried the following:  </p>
  
  <pre><code>{if $cart-&gt;id_carrier == '25'}; 
  {if isset($cart-&gt;id_carrier) &amp;&amp; $cart-&gt;id_carrier == 25};
  {if $delivery_options item=carrier key=carrier_id == '25'};
  {if $carrier-&gt;id == '25'}
  {if $delivery_option == '25' and $carrier_id == '25'}
  {if $delivery_option == '25'}
  </code></pre>
  
  <p>None of which resulted in the form displaying. To clearify it again, I'm trying to display it in the same step, in which the customer is selecting the carrier option. </p>