Trying to hide a block on certain tagged product pages

Hi there - I have a question for the community.

I have form on my product page that allows people to request customization of a product. See dropdown form circled in yellow here:

Here is the URL: https://www.edelweissjewelry.com/products/custom-emerald-dome-ring

I would like to hide this form block on all products tagged with “custom.” Can someone help me with the code I need to add to product-template to achieve this?

Here is the code for showing the form in my product-template:

{% form 'product', product, class: 'product-form', data-product-id: product.id, data-ajax-add: settings.enable_ajax_cart %} {% unless product.has_only_default_variant %} {% for option in product.options_with_values %}
{{ option.name }}

{% if settings.variant_style == ‘listed’ and settings.swatch_enabled and option.name == settings.swatch_option_name %}
{% capture variant_option_title %}option{{ forloop.index }}{% endcapture %}
{{ current_variant[variant_option_title] }}
{% endif %}

<select
id=“SingleOptionSelector-{{ forloop.index0 }}”
data-single-option-selector
data-index=“option{{ option.position }}”
{% if settings.variant_style == ‘listed’ %}data-listed{% endif %}
{% if settings.swatch_enabled and option.name == settings.swatch_option_name %}data-colour-swatch=“true”{% endif %}>
{% for value in option.values %}

{{ value }} {% endfor %}
{% endfor %} {% endunless %}

@ryankarolak

Thanks for post

your code is missing but can you please try this code if you have hide

  1. Go to Online Store->Theme->Edit code
  2. Asset->/styles.css.liquid->paste below code at the bottom of the file.
.product-tabs {display: none;}

@ryankarolak - your task will need a little code tweak, we will need to put form via if else condition , can you add me to staff? I can do it