1

I want to display custom attribute brand value on custom phtml file.

I tried Below code in phtml file but not working

<?php echo $_product->getResource()->getAttribute('brand')->getFrontend()->getValue($_product);?>

Is there any solution please share it.

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.