I have created
is_freeshipping attribute it's a
Yes/No), and it's showing while product editing in Admin Panel.
And I am getting its value successfully on the Product page, But Category page returning
false (No) even though it is
I tried to get this value by below code.
<?php $isFreeShipping = $_product->getResource()->getAttribute('is_freeshipping')->getFrontend()->getValue($_product); ?>
Is it the correct procedure? Please suggest me how to get the value of a custom attribute in Category Page?