Showing content based on Advanced Custom Fields checkbox being checked

Hi,

I use ACF which I have a checkbox configured at collection level which I use to specify if the products in that range are made of a certain type of steel.

If the box is checked, we show a notice about it on each product in the collection. This all works fine and no problems. I’d like to tweak it to add an extra piece of content that only shows if that checkbox hasn’t been selected but I cannot for the life of me figure out the liquid loop to do it, is anyone able to help?

This is my current code if the checkbox is ticked:

{% comment %}Render this if carbon steel checkbox is selected{% endcomment %}
      {% if collection.metafields.custom_fields["care_instructions"] == 1 %}
      - {% if collection.metafields.custom_fields["care_instructions"] == 1 %}
            

                  This knife is made from a reactive carbon steel which is not stainless and therefore has some special care instructions and properties.

  Read the carbon steel care guide
            
  

            {% else %}
            {% endif %}
      

      {% endif %}       
      {% comment %}Render this if carbon steel checkbox is selected{% endcomment %}

If it’s not selected I’d like to render a similar message but about the other type of steel (which would be the default I guess - so render that and replace it with the above if the checkbox is selected)

Thanks for any ideas!

Scratch this, found an article on the custom fields app that does exactly what I need above so solved.

https://custom-fields.docs.bonify.io/article/209-displaying-text-based-on-a-checkbox-value