Here i am trying to get current products custom attribute value in
block(phtml) and after that i want to show these custom attributes
values in products details page using block,phtml file magento2.
How to Get Current Product’s Custom Attribute Value in Block (PHTML) in Magento 2
blockscustom-attributesmagento2product-view
Best Answer
You can get product from registry and then show it custom attribute value.
NOTE: ObjectManager is not recommended according to magento standard.