Page 22 of 37 FirstFirst ... 12202122232432 ... LastLast
Results 211 to 220 of 362
  1. #211
    Join Date
    Nov 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    Is it me who cant configure this or is this a bug, but goddamit i cant get this to function correctly.
    I have zj_black template installed. Private persons gets taxfree when from another Eu country, pls check this out somebody.

  2. #212
    Join Date
    Sep 2006
    Location
    North Devon, England, UK
    Posts
    289
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    barkbit86 - i gave up trying to intstall this mod, has a few bugs in. i tried to get hold of the guys that developed it and asked if they would do, obvioulsy for payment, but had no reply from either of them.

    In the end I got these guys to sort: http://www.waveriderdesign.com/

    It is working now, although the VAT server is down a bit http://ec.europa.eu/taxation_customs/vies/vieshome.do and there is nothing that can be done about that - the module references the database on this site to validate VAT numbers

    when you download the latest module, the pack doesn't contain the template files, these need to be downloaded from an earlier download pack

    Apart from this it seems to work well, thanks to those who developed it.

  3. #213
    Join Date
    Nov 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    Thank you Mattys, well it seemsl il just have to wait for better times

  4. #214
    Join Date
    Jul 2005
    Posts
    17
    Plugin Contributions
    0

    red flag Re: VAT-mod for European companies

    Help me, please!
    I use VAT-mod_138a_v130 and this mod wrong verify VAT number (Poland).
    In my shop I need VAT number, but I don't verification it.

    In admin (VAT-Mod), in "Check the VAT number" set "false", but mod still verifing!?! Send red info about "wrong number"....

    How I close (blocked) this verification (on create, modify etc)?
    Please...

    Best Regards to ALL

  5. #215
    Join Date
    Mar 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    Quote Originally Posted by barkbit86 View Post
    Is it me who cant configure this or is this a bug, but goddamit i cant get this to function correctly.
    I have zj_black template installed. Private persons gets taxfree when from another Eu country, pls check this out somebody.
    I think that I have found the solution:
    Change the last lines of the file
    zen-cart-v1.3.8a\includes\functions\extra_functions\functions_vatmod.php

    from

    if ($tva_intracom->fields['country_id'] === $store_country->fields['store_country']) {
    return false;
    } else {
    return true;

    to

    if ($tva_intracom->fields['country_id'] === $store_country->fields['store_country']) {
    return false;
    } elseif ($tva_intracom->fields['tva_intracom'] === '') {
    return false;
    } else {
    return true;

  6. #216
    Join Date
    Nov 2008
    Posts
    14
    Plugin Contributions
    0

    red flag Re: VAT-mod for European companies

    Quote Originally Posted by Daniel21 View Post
    I think that I have found the solution:
    Change the last lines of the file
    zen-cart-v1.3.8a\includes\functions\extra_functions\functions_vatmod.php

    from

    if ($tva_intracom->fields['country_id'] === $store_country->fields['store_country']) {
    return false;
    } else {
    return true;

    to

    if ($tva_intracom->fields['country_id'] === $store_country->fields['store_country']) {
    return false;
    } elseif ($tva_intracom->fields['tva_intracom'] === '') {
    return false;
    } else {
    return true;

    Thank you so much, i hope this will fix this, unfortunately the server seems to be down right now, but il post as soon as i get this tested.

  7. #217
    Join Date
    Nov 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    Quote Originally Posted by Daniel21 View Post
    I think that I have found the solution:
    Change the last lines of the file
    zen-cart-v1.3.8a\includes\functions\extra_functions\functions_vatmod.php

    from

    if ($tva_intracom->fields['country_id'] === $store_country->fields['store_country']) {
    return false;
    } else {
    return true;

    to

    if ($tva_intracom->fields['country_id'] === $store_country->fields['store_country']) {
    return false;
    } elseif ($tva_intracom->fields['tva_intracom'] === '') {
    return false;
    } else {
    return true;
    Thank you Daniel21 This is tested and seems to be working now, thank you very much for this bugfix. This is a very good mod, excellent work by beez and vike

  8. #218
    Join Date
    Apr 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    Nice AddOn

    I want that customers which have an VAT-number can checkout with COD... All other customers without VAT-number can't

    So a step to do that is to add a condition into the includes/modules/payment/cod.php

    Something like this.

    Code:
    // disable the module if customers don't have an VAT-number
    $verify_entry_btw = $db->Execute("select entry_tva_intracom from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . $order_check->fields['customers_id']. "'");
          if ($this->enabled == true) {
    		if (zen_not_null($order_check->fields['billing_tva_intracom'])) {
             $this->enabled = false;
            }
          }
    But this isn't the right condition. Who can help me with the right condition?

  9. #219
    Join Date
    Apr 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    Solution is this:

    find
    Code:
    // disable the module if the order only contains virtual products
          if ($this->enabled == true) {
            if ($order->content_type != 'physical') {
              $this->enabled = false;
            }
          }

    and insert next code
    Code:
    // disable only when billingaddress has a correct VAT-Number
          $order_check = $db->Execute("select entry_tva_intracom
                                 from " . TABLE_ADDRESS_BOOK . "
                                 "); // TVA_INTRACOM
          if ($this->enabled == true) {
    if (zen_not_null($order_check->fields['entry_tva_intracom'])) {
              $this->enabled = true;}
    		  else {
    		  $this->enabled = false;
            }
          }
    So now people with a right VAT-Number in their Billing-Address can pay with COD, customers without a VAT-Number in their billing-address can't pay with COD.

  10. #220
    Join Date
    Feb 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    Please help.
    I am having a problem after installing Vat-Mod v.1.3.0 to zen-cart-v1.3.8a
    admin/includes/functions/extra_functions/functions_vatmod.php on line 133
    I have fixed line 130-132 easily. Problem is that I know nothing about programing.

 

 
Page 22 of 37 FirstFirst ... 12202122232432 ... LastLast

Similar Threads

  1. v138a VAT mod for european companies on ZC 1.5
    By hyperion12 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 14
    Last Post: 9 May 2016, 12:52 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