Pregunta

I have an order with bundles ordered. Each bundle has several items.

How can I retrieve if the bundle has fixed price or dynamic price? (this is defined by configuration when you create a product)

¿Fue útil?

Solución

$product->getPriceType()

this will return

Mage_Bundle_Model_Product_Price::PRICE_TYPE_FIXED

or

Mage_Bundle_Model_Product_Price::PRICE_TYPE_DYNAMIC
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top