Page 1 of 4 123 ... LastLast
Results 1 to 10 of 345

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    Malmö, Sweden
    Posts
    120
    Plugin Contributions
    4

    VAT-mod for European companies

    We have made two mods, one for 1.2.7d and one for 1.3.0.1. Read Install in English for more info about the mod and how to install it.

    What does this mod do?
    This mod checks customer's VAT (Value Added Tax) number regarding his country and displays VAT on invoice and packingslip as well as removes tax when shipping to companies in countries within the EU.

    - Add a text field during account registration and modification...
    - Add shop VAT number on invoice and packing slip
    - Add customer VAT number on invoice
    - Removes tax in checkout (if configured correctly) if customer has entered VAT number and is in a country within EU but is in a country other than the Store.
    - Check VAT number for registering companies (if implemented in admin) according to their country.
    - Control of the VAT number is done in admin (for both customers and shop number)
    - Enable/disable server verification in configuration (in admin).

    This is a remake of the old VAT INTRACOM by Jean Gourdon. Read the old thread at http://www.zen-cart.com/forum/showthread.php?t=9620

    We have put our new functions in order.php (catalog/includes/classes/order.php). Mainly because we didn't know where they "should" go :-)

    If you have any comments, questions or suggestions - Feel free to let us know!

    //Beez & vike
    Focus dammit, I'm trying to focus!
    ---
    SweetFabrik - True believer of Zen Cart!
    --
    http://www.last.fm/user/beez/

  2. #2
    Join Date
    Sep 2005
    Location
    Malmö, Sweden
    Posts
    120
    Plugin Contributions
    4

    The packages and install files

    The files were to big to post here, but you can download them from:
    http://www.sweetfabrik.se/ZC/VAT-mod_127.zip (version 1.2.7d)
    http://www.sweetfabrik.se/ZC/VAT-mod_130.zip (version 1.3.0.1)

    I'm sorry but I can't post the install files here either, so get the package :-)
    Focus dammit, I'm trying to focus!
    ---
    SweetFabrik - True believer of Zen Cart!
    --
    http://www.last.fm/user/beez/

  3. #3
    Join Date
    May 2006
    Location
    Göteborg
    Posts
    17
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    hello world
    finally also im able to post.. had some trouble with activation-mail being caught in the filter treated as junk :/ heh

    but so, i am the other developer of this re-mod.. and to underline it once more but from me; feel free to comment, suggest or ask :)

    i have yet only advertised this mod in the wiki under 3rd_party_contributions but if you feel it could need an own page feel free to let us know or start build one yourself :)
    but for the time i surely think this thread could be sufficient
    peace. vike

  4. #4
    Join Date
    Oct 2004
    Location
    England
    Posts
    114
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    I am getting the following error when I set the option to check for valid VAT number.

    Fatal error: Call to undefined function: zen_db_query() in /data01/fetters/public_html/shop/admin/customers.php on line 130

    I get this error when I log into the admin, view the customers and try and update the details. The customer was entered before the check for VAT was turned on.

    Is this just my error or can anyone else recreate this problem?

  5. #5
    Join Date
    Sep 2005
    Location
    Malmö, Sweden
    Posts
    120
    Plugin Contributions
    4

    Fixes in VAT-mod

    There was a problem in the admin/costumers.php file. That have now been fixed! It should work now and your problem should have been fixed.

    Download the package again and look in the Install_130.txt file for the new code. The changes is in the code chunk that begins on line 119 in the modded file (after 112). You can of course take the file itself too...

    The same problem were in the 1.2.7 package and have also been fixed.
    Focus dammit, I'm trying to focus!
    ---
    SweetFabrik - True believer of Zen Cart!
    --
    http://www.last.fm/user/beez/

  6. #6
    Join Date
    Mar 2006
    Posts
    205
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    Hello Beez,

    thank you for the fine, essential mod.
    I'm using it in 1.3.0.1

    When trying to verify Greek Vat ID, it does not recognize the valid tax ID entered as ELXXXXXXXXX (EL+9 nummerics)
    When adding a space between EL & numbers (what a customer could do...), the whole css style gets messed up, displaying the login site with overlarged fonts!

    Any idea how to fixe that?

    Dimi
    ZC 1.3.7
    VPS Windows 2003 /IIS 6.0
    PHP 4.3.2
    MySQL 4.1.12
    SAFE_MODE (off)

  7. #7
    Join Date
    Aug 2006
    Location
    Istanbul
    Posts
    31
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies_PROBLEM

    High,
    I have a problem. By check-out, I want change my adress . In the new form the VAT field is too small. Where can I change the the size of the VAT box for entry VAT number? The filed in the create account is OK. Only by changing / editing the adress, the new box is small!
    Thanks

  8. #8
    Join Date
    Aug 2006
    Location
    Istanbul
    Posts
    31
    Plugin Contributions
    0

    Re: VAT-mod for European companies_PROBLEM

    Quote Originally Posted by Remzi
    High,
    I have a problem. By check-out, I want change my adress . In the new form the VAT field is too small. Where can I change the the size of the VAT box for entry VAT number? The filed in the create account is OK. Only by changing / editing the adress, the new box is small!
    Thanks
    I added a picture . The same problem occures also by changing the invoice adress !
    Attached Images Attached Images  

  9. #9
    Join Date
    Sep 2005
    Location
    Malmö, Sweden
    Posts
    120
    Plugin Contributions
    4

    Default Re: VAT-mod for European companies_PROBLEM

    Quote Originally Posted by Remzi
    I added a picture . The same problem occures also by changing the invoice adress !
    Sorry for the delay!

    If, you havn't fixed it... On line 44 it should read:
    Code:
    <?php echo zen_draw_input_field('tva_intracom', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_tva_intracom', '40') . ' id="tva_intracom"') . '&nbsp;' . (zen_not_null(ENTRY_TVA_INTRACOM_TEXT) ? '<span class="alert">' . ENTRY_TVA_INTRACOM_TEXT . '</span>': ''); ?>
    Focus dammit, I'm trying to focus!
    ---
    SweetFabrik - True believer of Zen Cart!
    --
    http://www.last.fm/user/beez/

  10. #10
    Join Date
    Mar 2006
    Posts
    205
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    Hi Beez,

    it worked before...it was not possible to create an account with different country the VAT number belongs to. An alert returned to the customer. Was OK then..
    I realized that since my upgrade to 1.3.02
    Don't know if it is related to the upgrade....
    ZC 1.3.7
    VPS Windows 2003 /IIS 6.0
    PHP 4.3.2
    MySQL 4.1.12
    SAFE_MODE (off)

 

 
Page 1 of 4 123 ... LastLast

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
  •