francesco.venica Posted September 14, 2016 Share Posted September 14, 2016 Hi at all, I have some problem getting the correct price of a product, I can retrive only price without tax, how can I get price with tax? I get the product with $prod = new Product(id) and then I get the price with $prod->price I'm working with in php, not tpl. thank you Francesco Link to comment Share on other sites More sharing options...
rocky Posted September 15, 2016 Share Posted September 15, 2016 You should call a function to calculate the price with tax. For example: $price = $product->getPrice(); By default, it will get the price with tax. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now