Get price of a magento product with options -
i price of product without adding cart, have array like
(option_id => option_value,option_id => option_value)
i need price of product options, try using "addcustomoption"
$product->addcustomoption($option->getcode(), $option->getvalue());
but when use
$product->getfinalprice()
he still returning original price.please me !
thanks
i solve problem, discovering "final price" calculated when call "mage::getmodel('catalog/product')", if change option have reset "final price" data null, , when you're calling
$product->getfinalprice()
magento re-calculate nice price
Comments
Post a Comment