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


Where $product is the current product you are viewing.

  • Thanks, works great! – n00bly Jul 17 at 8:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.