How can i get the Bundle Product Price Dynamic model for multiple stores and websites programmatically or any custom module.
Trying below but not working as expected.
foreach ($stores as $store) {
$obj = MagentoFrameworkAppObjectManager::getInstance();
$obj->get('MagentoStoreModelStore')->setCurrentStore($store->getStoreId());
$product = $obj->get('MagentoCatalogModelProduct')->load('Bundle_ID');
$bundlePro=$product->getPriceInfo()->getPrice('final_price');
// For min price
$minPrice = $bundlePro->getMinimalPrice()->getValue();
// for max price
$maxPrice = $bundlePro->getMaximalPrice()->getValue();
}
Any suggestions? I’m using Magento 2.3