Skip to content

How can I get if is in this table ‘catalog_product_entity_text’ Use Default value on product Magento 2

In database, I find data like this

SELECT * FROM catalog_product_entity_text where entity_id = 70430 AND attribute_id = 76 AND store_id = 5;

How can I do it programmatically?

I need info if it is checked Use Default Value on store view for the product.

enter image description here

This gives me if is the default store view or not.

$isOverriden = $this->scopeOverriddenValue->containsValue(
                MagentoCatalogApiDataProductInterface::class,
                $product,
                'name', 
                $store_id                   
            );