Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <?php
  2. $attributes = $objectManager->create('MagentoCatalogModelResourceModelCollectionFactory');
  3. $attributes = $productCollection->create()->addAttributeToSelect('*')->load();
  4. foreach ($collection as $product){
  5. echo 'Name = '.$product->getName().' - Price = '.$product->getPrice(). '<br>';
  6. }
  7. ?>`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement