jsmit2 Posted January 20, 2015 Share Posted January 20, 2015 Does anyone know how I get the price including the TAX of a product in mymodule? Link to comment Share on other sites More sharing options...
jsmit2 Posted January 20, 2015 Author Share Posted January 20, 2015 Ah I found it myself. If you have the product element you need to set the employee (because the file executing it was not in the main module file a.k.a. seperate file. the code: $prod = new Product($product['id_product']); $context->employee = "-1"; $price = $prod->getPrice(true); 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