Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $attributes = $objectManager->create('MagentoCatalogModelResourceModelCollectionFactory');
- $attributes = $productCollection->create()->addAttributeToSelect('*')->load();
- foreach ($collection as $product){
- echo 'Name = '.$product->getName().' - Price = '.$product->getPrice(). '<br>';
- }
- ?>`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement