We have a template and
echoing prices of products. The products are of differenct kind. Simple product, bundle product, etc.
To get the price of a simple product you just call
When you call this method on a bundle product, it returns 0.00. So how to get the price of a bundle product? Simply call
To be honest I'm not sure, what price this is. We misuse bundle products as grouped products, that means we group products. No option to change the quantity or the "content" of the product. Because of this, our bundle product has only one price, not many ones, depending on the combination of the options.
One small note on this: There is a attribute on the bundle product object. It was something like
calculated_price. I can't remember the name and didn't find it fast to double check.