Currently working on a Magento 2 build, and I've been stumped by something I guess is probably pretty simple.
As it stands, product pages are pretty much default, and product attributes are shown in the 'More Information' tab at the bottom.
What I'm attempting to do is echo an attribute's value elsewhere on the product page.
Since by default it seems to pass all the values to the page, I'm guessing there's simply a piece of syntax I'm missing for calling it in one of the product page view files.
I've tried a few things, such as:
$_product->getAttributeText('discount_banner');
But they seem to be the syntax for Magento pre-2.0.
If anyone can help out with what I'm doing wrong, I'd be incredibly appreciative.