Tzig Posted October 25, 2006 Posted October 25, 2006 Hi, I have installed two payment methods: PayPal and banking transfer (i.e. for italian people bonifico bancario). What I want to do is, if the customer choose the banking transfer method, to disable the shipping tax, this way the shipping tax isn't included into the total amount he has to pay. Do you have any ideas?, or do you know any contribution that can do this, I've searched but didn't found anything. Maybe I didn't know what to look for. Thanks! Contributions used: italian payment - Bonifico Bancario; Dynamic Meta Tags 1.0; Italian language for 2.2MS2; PayPal IPN Module v1.0; Purchase Without Account; Register Globals; Back buttons Do you recommend me any other contribution? Here is My Store, tell me how can I improve it!
Tzig Posted October 26, 2006 Author Posted October 26, 2006 Hi,I have installed two payment methods: PayPal and banking transfer (i.e. for italian people bonifico bancario). What I want to do is, if the customer choose the banking transfer method, to disable the shipping tax, this way the shipping tax isn't included into the total amount he has to pay. Do you have any ideas?, or do you know any contribution that can do this, I've searched but didn't found anything. Maybe I didn't know what to look for. Thanks! I think it has something to do with this file: catalog/includes/modules/ot_shipping.php but I'm not sure what I have to modify there to get it working as I don't have php knowledge. :blink: Is there anyone that can help me? Contributions used: italian payment - Bonifico Bancario; Dynamic Meta Tags 1.0; Italian language for 2.2MS2; PayPal IPN Module v1.0; Purchase Without Account; Register Globals; Back buttons Do you recommend me any other contribution? Here is My Store, tell me how can I improve it!
♥Monika in Germany Posted October 26, 2006 Posted October 26, 2006 you would have to custom code this. it's really open heart surgery, as normally payment comes AFTER shipping. You will have to furt turn the order around, so payment is selected before shipping. then add 2 new input fields to your shipping module, one for a comma separated list of payment modules that use the tax and one for a list of modules that do not use the tax. in the shipping module file, you then check the payment module condition before you decide whether tax or no tax will be applied. :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
Tzig Posted October 26, 2006 Author Posted October 26, 2006 you would have to custom code this. it's really open heart surgery, as normally payment comes AFTER shipping. You will have to furt turn the order around, so payment is selected before shipping. then add 2 new input fields to your shipping module, one for a comma separated list of payment modules that use the tax and one for a list of modules that do not use the tax. in the shipping module file, you then check the payment module condition before you decide whether tax or no tax will be applied. Thanks for the reply Monika. As always you find the answers for the difficult questions. But if you say it's so complicating I'm thinking to let go this option. Like I've told, I don't have php knowledge and I don't want to do something wrong. I am surprised that it isn't any contribution to do this, I don't think I am the only one that needs such a thing, but anyway.... thanks again!! Contributions used: italian payment - Bonifico Bancario; Dynamic Meta Tags 1.0; Italian language for 2.2MS2; PayPal IPN Module v1.0; Purchase Without Account; Register Globals; Back buttons Do you recommend me any other contribution? Here is My Store, tell me how can I improve it!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.