Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Want to disable shipping tax for a payment method.


Tzig

Recommended Posts

Hi all!!

I have enabled 2 payment methods: PayPal and "banking transfer " (i.e. for italian people "Bonifico Bancario"). Now I want to disable the shipping tax only for people who pay with Bonifico Bancario. Any idea how can I do this?

Thank you!!

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!

Link to comment
Share on other sites

Unfortunately, it will require some custom coding to do what you need. You'll need to modify either the ot_shipping or ot_tax (whichever handles shipping tax, I forget) modules to not include the shipping tax if that payment module is used.

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

Unfortunately, it will require some custom coding to do what you need. You'll need to modify either the ot_shipping or ot_tax (whichever handles shipping tax, I forget) modules to not include the shipping tax if that payment module is used.

 

Thanks for your response!

But can you be a little more specific? What do I have to change? I found the ot_shipping file in catalog/includes/modules/ot_shipping.php but I don't have php knowledge but I am learning fast! So if you can give me a little help I will really appreciate!

I found this piece of code:

function ot_shipping() {
  $this->code = 'ot_shipping';
  $this->title = MODULE_ORDER_TOTAL_SHIPPING_TITLE;
  $this->description = MODULE_ORDER_TOTAL_SHIPPING_DESCRIPTION;
  $this->enabled = ((MODULE_ORDER_TOTAL_SHIPPING_STATUS == 'true') ? true : false);
  $this->sort_order = MODULE_ORDER_TOTAL_SHIPPING_SORT_ORDER;

but don't know where to install this module.

I have installed the flat rate module if this helps any way.

 

I can't believe it isn't any contribution for this problem!

I can't believe I am the only one with this problem! :huh:

Anyway... I hope someone can help me and maybe other people too.

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...