I want to get the original price of a Bundle product (Minimal/Maximal one). This needs to replicate what Magento is grabbing for the WAS price below so I can add a percentage off to product pages.
I can get the Special Price like below:
$bundleObj=$product->getPriceInfo()->getPrice('final_price');
echo $bundleObj->getMinimalPrice();// For min price
echo $bundleObj->getMaximalPrice(); // for max price
I've tried using the below but this just returns 0:
$_product->getPrice();
This also only has both with and without tax and the standalone tax:
print_r($_product->getPriceInfo()->getPrice('final_price')->getMinimalPrice());
Have also looked at:
$_product->getPriceModel()->getTotalPrices($_product,'min',1)
This seems to just be pulling similar data cannot get the original price.