there! I've created new attribute called ean. I've added <meta itemprop="ean" content="<?php echo $_product->getEan() ?>" /> into price.phtml page, and see that this is working but I'm guessing I need to establish getEan with this: $value['ean'] = $this->escapeHtml($option->getEan()); but don't know where to do it. Used in Product Listing and Visible on Product View Page on Front-end are set to Yes. Thanks in advance.

  • $_product->getEan() should work. Have you cleared cache since update? – Dominic Xigen Nov 4 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.