in the code below, I would like to run the first part of the code, the script between the green comments that show New Product, only if the check box is ticked. If not it would ignore the code and continue to run.
{%- if block.settings.new-vendor != blank -%}
{%-elsif-%}
{%- endif -%}
this is the schema, incase y’all need to see it
{
"type": "checkbox",
"id": "new-vendor",
"label": "New Product",
"default": false
},