How to Exclude Knowledge from Your Shopify Chatbot

Learn how to exclude content from your Shopify chatbot. Discover how to use HTML comments or the flyweight-ignore tag to remove knowledge from your Flyweight AI Chat Assistant and Agent.

Matthias Frisch profile pictureBy

In our previous article, we showed you how to add additional knowledge to your AI Chatbot for Shopify. Now we'll show you the opposite: How to exclude content from your Flyweight AI Assistant.

For your Shopify Chatbot to use only relevant information, you sometimes need to consciously exclude certain content. In this article, we'll show you two effective ways to remove content from Flyweight AI's knowledge base.

The key tools at a glance:

  • <!--flyweight:ignore--> → HTML comment for pages, blogs, FAQs
  • flyweight-ignore → Tag for products

This is particularly important when certain content:

  • is not intended for customers
  • is outdated
  • is no longer actively sold
  • should deliberately not be used by the AI agent


How Flyweight AI Processes Content

Flyweight AI automatically reads all public content from your Shopify store:

  • Product pages
  • Pages
  • FAQs
  • Blog articles
  • Other HTML content

All data is refreshed every 24 hours.

This means: Changes — whether adding or removing content — always take effect with the next 24-hour refresh.


1. Exclude Content via HTML Comment

The most flexible method is the Flyweight Ignore HTML comment:

<!--flyweight:ignore-->

Simply add this comment at the very top of a page's HTML code — done.

This solution works for all HTML-based content:

  • Product pages
  • Pages (FAQ etc.)
  • Blog articles

How to Do It

  1. Open the desired page (e.g., an FAQ page)
  2. Click on "Show HTML"
  3. Add the following comment at the very top of the code:
<!--flyweight:ignore-->

Set the flyweight ignore tab on Shopify html content

  1. Save the page

At the next 24-hour refresh, this page will be completely removed from the AI backend. The AI chatbot will no longer use this content for answers or recommendations.


When Is This Method Useful?

  • When an entire page should not be considered
  • When content should be temporarily disabled
  • When internal information was accidentally made public
  • When you want to remove seasonal content from the AI chat

👉 This method gives you maximum control at the HTML level.


2. Exclude Products via Tag (ideal for many products)

For products, there's an even simpler solution: The flyweight-ignore tag.

Simply add the flyweight-ignore tag to the product — done.

This method is particularly efficient when you:

  • want to exclude many products at once
  • work with CSV uploads
  • set tags automatically

How to Do It

  1. Open the desired product in Shopify
  2. Go to the Tags section
  3. Add the following tag: flyweight-ignore
  4. Save the product

flyweight-ignore tag to exclude shopify products for the ai chatbot

The flyweight-ignore tag has the same effect as the HTML comment <!--flyweight:ignore-->.

At the next refresh cycle, the product will be:

  • No longer recommended in chat
  • No longer used as a knowledge source
  • Removed from the AI backend

Important: Changes Don't Take Effect Immediately

As with adding knowledge, the same applies here:

All changes are applied during the next 24-hour refresh.

This means:

  • Content is not excluded immediately
  • After a maximum of 24 hours, the change is active

Pro Tip

When creating a new product that should never be used by the AI chat:

  1. Set the flyweight-ignore tag directly when creating
  2. Or add the <!--flyweight:ignore--> comment immediately

This way, the content never enters the AI system in the first place.


Best Practices for Clean AI Content Management

A high-performing Shopify AI chatbot needs clear structures.

Recommendations:

  • Consistently remove outdated content
  • Exclude test products with flyweight-ignore
  • Use tags for bulk changes
  • Use <!--flyweight:ignore--> for precise control at the page level
  • Regularly check which content is publicly available

This ensures that your Flyweight AI Assistant only works with relevant information.


Conclusion

With Flyweight AI, you have complete control over what knowledge your Shopify chatbot uses.

Summary of methods:

  • Pages, blogs, FAQs<!--flyweight:ignore--> in HTML
  • Productsflyweight-ignore tag

A well-maintained content base means:

  • More precise answers
  • Better product recommendations
  • Fewer misunderstandings in chat
  • Higher conversion rates

If you have any questions or need support, feel free to reach out to us anytime.

We're happy to help you optimize your AI Assistant 🚀

Get Started Today

Try your own AI chatbot for free and see how it grows your business. 7 days free, no limits on traffic or AI chats.

Click "Install" to add the "Flyweight AI" app to your Shopify® store. No credit card needed, no signup required.

Built for Shopify

What Our Customers Say

4.8 out of 5 based on 106 reviews on the Shopify App Store

Maître Philippe & Filles

I just started using this app and it's fantastic. No need to feed it with questions and answers, the app learn everything alone and give very inteligent responses. Perfect and professional. Thank you.

PD Customs

An incredibly effective app that is both simple to use and remarkably smart straight from the get-go. Unlike other AI chat apps that I've tested it pretty much provides the perfect answer 100% of the time. Tweaking custom answers is super easy and never fails. I'm loving it so far!

Zero Trace Tours

Honestly, I just installed this, super easy. Did my first search, amazing response! I could never provide the service this thing will for me. Epic find

Optimize GmbH

Easy Setup und direkt gut eingerichtet! Die KI antwortet super auf Kundenanfragen und ist dabei fachlich sehr gut (hängt natürlich von der Webseite ab). Der Support ist Hammer, antwortet in wenigen Stunden und immer fachlich kompetent. Sollte öfters geben.

Venen Engel Shop

Das Setup von Fly ist äußerst unkompliziert, und das Ergebnis überzeugt auf ganzer Linie. Alle wichtigen Designs können individuell angepasst werden, wodurch unsere Kunden bereits ab dem ersten Tag von der Live-Chat-Funktion profitieren. Darüber hinaus bietet Flyweight einen erstklassigen Kundenservice, der bei der Implementierung von Custom Routings oder anderen maßgeschneiderten Lösungen unterstützt. Vielen Dank für eure großartige Unterstützung!

VEYNOU

I’m super impressed by this AI chatbot! It acts as our 24/7 concierge for selling jewelry, offering the most natural conversations I’ve ever experienced from an AI. Setting it up was easy, just one click, with many design options to seamlessly integrate it with our Shopify store. I have to give a shout-out to the Flyweight support team too - I had some extra design requests, and they were fulfilled within 24 hours. Can totally recommend it!