Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. $objectManager = MagentoFrameworkAppObjectManager::getInstance();
  2. $product = $objectManager->get('MagentoCatalogModelProduct')->load('YOUR PRODUCT ID');
  3. echo $product->getAttributeText('your_attribut');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement