Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: VAT mod for european companies on ZC 1.5

    posting the code here is not workable. When the mod is fished I will pack it up and add it to the downloads, but for now, it is untested and this is not the place to place untested code.
    The git repo can be found here . Code suggestions are welcome

  2. #12
    Join Date
    Dec 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: VAT mod for european companies on ZC 1.5

    Thank you very much! I will install it on my test server and let you know. I forked the Git as KopjeKoffie.

  3. #13

    Default Re: VAT mod for european companies on ZC 1.5

    Anyone a working version of the module available?

  4. #14
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: VAT mod for european companies on ZC 1.5

    Quote Originally Posted by manage-it View Post
    Anyone a working version of the module available?

    did you try post # 11 ?

  5. #15
    Join Date
    Mar 2015
    Posts
    28
    Plugin Contributions
    0

    Default Re: VAT mod for european companies on ZC 1.5

    I tried using the code from the git repo on a test site, togetheer with a slightly adjusted payment module fee.
    Here's what I have found and remembered to write down:

    When using an account where the user is in another country and using a European Tax number, if I try to checkout, store pickup and pay using paypal (this is where the extra fee comes into play), then the taxes calculated do include the taxes over the paypal fee. These taxes are included in the total price.

    If I use some of the old code from this mod, where there is an adjustment made to /includes/functions/functions_taxes.php, then the unwanted taxes that were calculated over the paypal fee are no longer included in the total price.


    When having an address in Belgium, no VAT number, then there were no taxes calculated. Added in /includes/functions/extra_functions/functions_vatmod.php at the last part of the file
    changed:
    Code:
    if ($tva_intracom->fields['country_id'] === $store_country->fields['store_country']) {
            return false;
        } else {
            return true;
        }
    to:
    Code:
    if ($tva_intracom->fields['country_id'] === $store_country->fields['store_country']) {
            return false;
    	} elseif ($tva_intracom->fields['tva_intracom'] === '') {
    		return false;
        } else {
            return true;
        }
    I think that's the changes I have had to make, and so far it's looking good.
    I'm glad someone is still working on this mod.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. VAT-mod for European companies
    By Beez in forum All Other Contributions/Addons
    Replies: 361
    Last Post: 31 Jan 2022, 10:51 PM
  2. VAT MOD for EU Countries Support
    By jinglezdj in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Oct 2009, 09:38 AM
  3. Is it possible to have tax exemption with VAT-mod for European companies?
    By stomm in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 16 Jun 2009, 04:39 PM
  4. "VAT for companies" mode with checkout without account mode
    By sagivle1 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 15 Jan 2008, 05:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR