Question

On the product detail page I need to use the price for calculation. How can I get the price and use it for calculation?

For example; $product_price / 12 = $outcome

Était-ce utile?

La solution

$product->getFinalPrice();

Where $product is the current product you are viewing.

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top