Jump to content

Get price including taxes


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...