M2 - Use price for calculation
Pregunta
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
Solución
$product->getFinalPrice();
Where $product
is the current product you are viewing.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange