> For the complete documentation index, see [llms.txt](https://script-and-theory.gitbook.io/order-armor-shipping-protection-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://script-and-theory.gitbook.io/order-armor-shipping-protection-docs/hide-shipping-protection-products-from-recommendations.md).

# Hide shipping protection products from recommendations

Before hiding the product

<div align="center"><figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcapNvnHR9BBtmBW5KsNtUw3p-hjP6UbMSEWz1jaJ81E-T2LflfxmapYYLQRZxdHaF5Jen8JGhLGqI_q3Zl_FlUz8dRrXNv8890tyIrj08JXMRUrdcLO9g7VD0xdIqEzfSmc-antWFzJYphSPAocqk?key=ZfZ1Ay9lY7bR7NxU0cJncZSI" alt=""><figcaption></figcaption></figure></div>

After hiding the product

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdW7TI0Xa_whPQjxLOkDDmIL_f1PJqILSjV6dVCeNMNyFI4AzpLtj_ztojJGTgmQI4DI2Vf5jGgdnUjpvl1U54_o3x-yPvAXYyY2sxMbJq439auTcgcZMHXiDuoao9U66A36J1qUBr7Ny_I0B4_Vj0?key=ZfZ1Ay9lY7bR7NxU0cJncZSI" alt=""><figcaption></figcaption></figure>

## **Tutorials**

Step 1: In Shopify admin, navigate to **Theme** > click **Customize**

<figure><img src="/files/EFIT0d84tv52POTpNQPM" alt=""><figcaption></figcaption></figure>

Step 2: Click the three dots beside the theme name, click **Edit code**

<figure><img src="/files/5sW2rC8WczxiuvmKeCmA" alt=""><figcaption></figcaption></figure>

Step 3: Search or select **related-products.liquid**

<figure><img src="/files/7KN0Cs0M65tt1dlQVSkN" alt=""><figcaption></figcaption></figure>

Step 4: Find the following codes and select them

<figure><img src="/files/nOq9nF62bidDEbAOD1aW" alt=""><figcaption></figcaption></figure>

Step 5: Replace them with the following new codes

```
<ul
  class="grid product-grid grid--{{ section.settings.columns_desktop }}-col-desktop grid--{{ section.settings.columns_mobile }}-col-tablet-down"
  role="list"
>
  {% for recommendation in recommendations.products %}
    {% if recommendation.vendor contains "OrderArmor" %}
     {% continue %}
     {% else %}
    <li class="grid__item">
      {% render 'card-product',
        card_product: recommendation,
        media_aspect_ratio: section.settings.image_ratio,
        image_shape: section.settings.image_shape,
        show_secondary_image: section.settings.show_secondary_image,
        show_vendor: section.settings.show_vendor,
        show_rating: section.settings.show_rating
      %}
    </li>
    {% endif %}
  {% endfor %}
</ul>
```

Step 6: All set, below are the targeted codes, don't forget to save and check it live!

<figure><img src="/files/hOz9Xjq7gQAljr7Yldk6" alt=""><figcaption></figcaption></figure>

<br>

<br>
