I have this attribute
[![enter image description here][1]][1]

**CODE PHP:**

      $attributeCode = 'product_text';
    
                    if ($_product->getData($attributeCode) !== null){
                        echo $_product->getAttributeText($attributeCode);
                    }else{
                        echo 'Is NULL';
                    }




The problem is I get NULL for each product and I can not display the value of the attribute.

What is wrong?

Thanks in advance![![enter image description here][2]][2]


  [1]: https://i.sstatic.net/YKbgk.png
  [2]: https://i.sstatic.net/wcLyC.png