title: How to use operator in Shopify Liquid to hide button with unique product ID
body: <p>I'm trying to hide the remove button from a product with certain id but kinda confuse, I have tried using {% if %} until it hits {% endif %} but still it doesn't want to hide it. For example I have tried to hide a button with class= &quot;ajaxcart__qty-adjust ajaxcart__qty--delete icon-fallback-text&quot; in product id 2423924.</p>
  <pre><code> {{#items}}
      &lt;div class=&quot;ajaxcart__product&quot;&gt;
        &lt;div class=&quot;ajaxcart__row&quot; data-line=&quot;{{line}}&quot;&gt;
          &lt;div class=&quot;row&quot;&gt;
            &lt;div class=&quot;col-xs-4 col-md-3 col-img-left&quot;&gt;
              &lt;a href=&quot;{{url}}&quot; class=&quot;ajaxcart__product-image&quot;&gt;&lt;img src=&quot;{{img}}&quot; alt=&quot;&quot;&gt;&lt;/a&gt;
              
            &lt;/div&gt;
            &lt;div class=&quot;col-xs-8 col-md-9&quot;&gt;
              &lt;p&gt;
                &lt;a href=&quot;{{url}}&quot; class=&quot;ajaxcart__product-name&quot;&gt;{{name}}&lt;/a&gt;
                {{#if variation}}
                  &lt;span class=&quot;ajaxcart__product-meta&quot;&gt;{{variation}}&lt;/span&gt;
                {{/if}}
                {{#properties}}
                  {{#each this}}
                    {{#if this}}
                      &lt;span class=&quot;ajaxcart__product-meta&quot;&gt;{{@key}}: {{this}}&lt;/span&gt;
                    {{/if}}
                  {{/each}}
                {{/properties}}
                {% endraw %}{% if settings.cart_vendor_enable %}{% raw %}
                  &lt;span class=&quot;ajaxcart__product-meta&quot;&gt;{{ vendor }}&lt;/span&gt;
                {% endraw %}{% endif %}{% raw %}
                &lt;button type=&quot;button&quot; class=&quot;ajaxcart__qty-adjust ajaxcart__qty--detete icon-fallback-text&quot; data-id=&quot;{{key}}&quot; data-line=&quot;{{line}}&quot; data-qty=&quot;0&quot;&gt;
                &lt;span class=&quot;fallback-text&quot; aria-hidden=&quot;true&quot;&gt;x&lt;/span&gt;
                &lt;span class=&quot;visually-hidden&quot;&gt;{% endraw %}{{ 'cart.general.remove' | t }}{% raw %}&lt;/span&gt;
              &lt;/button&gt;
              &lt;/p&gt;
  
              &lt;div class=&quot;row display-table&quot;&gt;
                &lt;div class=&quot;col-xs-5 display-table-cell &quot;&gt;
                  &lt;div class=&quot;ajaxcart__qty&quot;&gt;
                    &lt;button type=&quot;button&quot; class=&quot;ajaxcart__qty-adjust ajaxcart__qty--minus icon-fallback-text&quot; data-id=&quot;{{key}}&quot; data-qty=&quot;{{itemMinus}}&quot; data-line=&quot;{{line}}&quot;&gt;
         
                      &lt;span class=&quot;fallback-text&quot; aria-hidden=&quot;true&quot;&gt;&amp;minus;&lt;/span&gt;
                      &lt;span class=&quot;visually-hidden&quot;&gt;{% endraw %}{{ 'cart.general.reduce_quantity' | t }}{% raw %}&lt;/span&gt;
                    &lt;/button&gt;
                    &lt;input type=&quot;text&quot; name=&quot;updates[]&quot; class=&quot;ajaxcart__qty-num&quot; value=&quot;{{itemQty}}&quot; min=&quot;0&quot; data-id=&quot;{{key}}&quot; data-line=&quot;{{line}}&quot; aria-label=&quot;quantity&quot; pattern=&quot;[0-9]*&quot;&gt;
                    &lt;button type=&quot;button&quot; class=&quot;ajaxcart__qty-adjust ajaxcart__qty--plus icon-fallback-text&quot; data-id=&quot;{{key}}&quot; data-line=&quot;{{line}}&quot; data-qty=&quot;{{itemAdd}}&quot;&gt;
  
                      &lt;span class=&quot;fallback-text&quot; aria-hidden=&quot;true&quot;&gt;+&lt;/span&gt;
                      &lt;span class=&quot;visually-hidden&quot;&gt;{% endraw %}{{ 'cart.general.increase_quantity' | t }}{% raw %}&lt;/span&gt;
                    &lt;/button&gt;
                    
                    
                    
                  &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class=&quot;ajax_cart_money col-xs-7 display-table-cell text-left&quot;&gt;
                  {{#if discountsApplied}}
                    &lt;small class=&quot;ajaxcart-item__price-strikethrough&quot;&gt;&lt;s&gt;{{{originalLinePrice}}}&lt;/s&gt;&lt;/small&gt;
                    &lt;br&gt;&lt;span&gt;{{{linePrice}}}&lt;/span&gt;
                  {{else}}
                    &lt;div&gt;x &lt;span class=&quot;money&quot;&gt;{{{price}}}&lt;/span&gt; = &lt;span class=&quot;money money-total&quot;&gt;{{{linePrice}}}&lt;/span&gt;&lt;/div&gt;
                  {{/if}}
                  &lt;/div&gt;
                &lt;/div&gt;
                {{#if discountsApplied}}
                  &lt;div class=&quot;row display-table&quot;&gt;
                    &lt;div class=&quot;col-xs-12 text-right&quot;&gt;
                      {{#each discounts}}
                        &lt;small class=&quot;ajaxcart-item__discount&quot;&gt;{{ this.title }}&lt;/small&gt;&lt;br&gt;
                      {{/each}}
                    &lt;/div&gt;
                  &lt;/div&gt;
                {{/if}}
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
      {{/items}}
  </code></pre>