Puma1140 Posted July 29, 2021 Share Posted July 29, 2021 Greetings, Is there a way to create a product with price tax included? Until now, I pass in the POST request the price without the tax and the ID of the tax rules group. Can I declare if the price includes the tax so that I can pass the final price? Following is a section of my code: // Prices if (!empty($product->price)) $resources->price = (float)$product->price; if (!empty($product->id_tax_rules_group)) $resources->id_tax_rules_group = (int)$product->id_tax_rules_group; Thank you in advance. 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