As we use in :
/opt/lampp/htdocs/magento_composer/vendor/magento/module-catalog/view/base/templates/product/price/tier_prices.phtml
How can i use getTierPriceList()
in my custom module's template file ?
also is it available in product collection ?
I tried a lot but is unable to load product collection as we used to do in magento 1.x.
Tried:
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$product = $objectManager->get('Magento\Catalog\Model\Product')->load(2);
in this
$product->getPrice();
is working but how can i get tierprice in template file? i.e. my main concern.