# Hide shipping protection products from recommendations

Before hiding the product

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

After hiding the product

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

### Tutorials

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

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

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

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

Step 3: Search or select **related-products.liquid**&#x20;

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

Step 4: Find the following codes and select them

<figure><img src="/files/gZR8K0u7qSt35zFfeIJz" 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 "ShipWill" %}
           {% 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/mdmExWjpTLuUOyRUnOFA" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.captaintop.com/hide-shipping-protection-products-from-recommendations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
