Jump to content

Tax inclusive or exclusive


genny3021

Recommended Posts

Hello, I have a custom function, i want to retrieve the accurate shipping cost as will be displayed in the invoice based on if the tax inclusive was checked in the BO. I checked the ps_orders table, i found various values for shipping. Here's what i want my if statement to do:

 

if (price is tax inclusive){

 

retrieve shipping_cost_tax_incl

}

else

{

retrieve shipping_cost_tax_excl

 

}

 

I dont know where the settings for the price is stored in the database so i can select its value.

 

 

Any clue will be appreciated.

Edited by genny3021 (see edit history)
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...