Pass Argument To App Blocks (Theme App Extension)

Hi,

I would like to know if is possible to pass arguments to an app blocks.

For example, I have below snippet in one of my theme’s section:

{%- for block in section.blocks -%}
  {%- case block.type -%}
    {%- when '@app' -%}
      {% render block, product: product %}
  {%- endcase -%}
{%- endfor -%}

My app block is being rendered, but it doesn’t receive the “product” variable, I am sure the “product” variable exists in the theme’s section.

Thank you.

I don’t “believe” this is possible, BUT, you can definitely access global variables from within app theme extensions, so you will be able to access product and variant on a PDP page for example