vahid abdi Posted April 19, 2016 Share Posted April 19, 2016 (edited) 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 April 25, 2016 by grayhh (see edit history) Link to comment Share on other sites More sharing options...
vahid abdi Posted April 20, 2016 Author Share Posted April 20, 2016 no one? this is really important Link to comment Share on other sites More sharing options...
vahid abdi Posted April 20, 2016 Author Share Posted April 20, 2016 Hi, this is not that simple. I'm developping a module that will need this functionnality I will let you know. thanks i'd love to know about it 1 Link to comment Share on other sites More sharing options...
vahid abdi Posted April 24, 2016 Author Share Posted April 24, 2016 (edited) 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 April 25, 2016 by grayhh (see edit history) Link to comment Share on other sites More sharing options...
vahid abdi Posted April 25, 2016 Author Share Posted April 25, 2016 (edited) well i can't find exact codes in files.. could u show me? the thing i wanna do is clear but i don't know the solution.. it's that increasing shipping cost according to the quantity of products in each order Edited April 25, 2016 by grayhh (see edit history) 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