How to hide Route Shipping Protection from Product Recommendations

I’ve followed Route’s instructions to hide the product from collections and email flows however, it is still appearing in the Product Reommendations or You May Also Like sections on the website.

Can anyone provide guidance on how to remove this on the Pipeline theme?

Hi @mj2023 ,

To remove Route Shipping Protection from Product Recommendations you can follow bellow steps.

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find product-grid.liquid file

  4. Add the following code at the start of the file.

{% if product.title contains "Route" %}
{% continue %}
{% endif %}

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

Best Regards,
Makka

Hi @mj2023 , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks

Hi @mj2023

Would you mind sharing store link and store entry password privately wit use so we can investigate it further?

Looking forward to hearing from you soon. Thank you!

Best,

Daisy - Avada Support Team.

Thanks for sharing. I attempted to update the code as suggested however, the product still appears.

Sorry, I added it to the wrong file. The file which it was added to is called: product-grid-item.liquid

It removed the product however it now leaves an empty space: https://www.awesomescreenshot.com/image/51988095?key=9b30f0170364eb05758fb41ee6a2ab69

Hi @mj2023

Not sure if you received my message? Would you mind sharing the store link then we can provide you with a suitable solution?

Looking forward to hearing from you soon. Thank you!

Best,

Daisy - Avada Support Team.

Hi @mj2023 ,

Can you provide link to the store? I can provide you with the CSS as per your theme.

I fixed this in the Pipeline theme by replace the code in the product-recommendations.liquid file to this:

{%- if recommendations.performed -%}
{%- if recommendations.products_count > 0 -%}

{% for product in recommendations.products %} {% unless product.tags contains 'shipping-insurance' %}
{% render 'product-grid-item', product: product %}
{% endunless %} {% endfor %}
{%- endif -%} {%- else -%}
{%- endif -%}