Jump to content

how to increase shipping tax or add amount of price to total price


vahid abdi

Recommended Posts

Hi

i wanted to add an extra cost to the total price of orders in some conditions like if their order includes alot of products or beyond a specified price... but it was hard because i had to change code in lots of files like in block-cart, invoice pdf, and in the profiles

so i decided to add that extra cash to shipping cost and just change the title of "shipping cost" to "shipping cost and something"

but still i have the problem with adding an if statement to all files that include shipping_price like in block-cart, invoice pdf, payment parts

 

 

so is there a way to solve this problem?

Thanks :)

Edited by grayhh (see edit history)
Link to comment
Share on other sites

well i decided to do it manually and not by a module.. cuz there's no module to do what i want and also i want to do it myself

so now i'm heading with this issues

i figured out that i have to change some codes or add some in these parts-> blockcart module, one page checkout, payment and inserting shipping cost to database

now i can change it in tpl files in both blockcart module and one page checkout.. but as u know they're ajax and i need to change the core of it.. like in php files.. so i'd like to know where can i change the php codes that include these files?

Edited by grayhh (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...