Call by page name instead of ID

You are looking to display content on all product pages belonging to a particular unique category.

I thought I would use the approach of the parent identifiers.
Here are some of the following channels that I tried unsuccessfully.

— (26 is the name of the category) —

{if isset ($ parent.id) AND $ parent.id ==> 26 & # 39;
The content of the product pages is presented here
{/if}

{if isset ($ parent.pagename) AND $ parent.pagename == & # 39; Category name & # 39;}
The content of the product pages is presented here
{/if}

{if isset ($ thisproduct.parent.id) AND $ thisproduct.parent.id ==> 26 & # 39;
The content of the product pages is presented here
{/if}

{if isset ($ product.parent) AND $ product.parent ==> 26 & # 39;
The content of the product pages is presented here
{/if}

Thanks in advance! ;)