M2 - Use price for calculation
Frage
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
Lösung
$product->getFinalPrice();
Where $product
is the current product you are viewing.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit magento.stackexchange