Title: Company Autocomplete by LEI Register
Author: leiregister
Published: <strong>17. ožujka 2021.</strong>
Last modified: 01. travnja 2021.

---

Pretraga dodataka

Dodatak **nije testiran s zadnje 3 glavna izdanja WordPressa**. Možda ga se više
ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama
WordPressa.

![](https://ps.w.org/company-autocomplete/assets/icon.svg?rev=2498611)

# Company Autocomplete by LEI Register

 Od [leiregister](https://profiles.wordpress.org/leiregister/)

[Preuzmi](https://downloads.wordpress.org/plugin/company-autocomplete.1.0.zip)

 * [Detalji](https://hr.wordpress.org/plugins/company-autocomplete/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/company-autocomplete/#reviews)
 * [Razvoj](https://hr.wordpress.org/plugins/company-autocomplete/#developers)

 [Podrška](https://wordpress.org/support/plugin/company-autocomplete/)

## Opis

Simply enabling this plugin will add autocomplete function to the company name field
in your standard Woocommerce checkout form.
 There are currently around **2 million
companies** in the GLEIF database from all over the world, which are all searchable
with this plugin. Typing in the company name field will automatically trigger a 
search with AJAX to the free to use GLEIF public database ([GLEIF LEI data terms of use](https://www.gleif.org/en/meta/lei-data-terms-of-use/)).
It will then use this data to show a list of matching companies to the keywords.
When clicking on a specific company in the list, it will hide the list and prefill
the correct data to the following fields:

 * company name (completing the searchable field)
 * address
 * city
 * postal code
 * country

Some variables are currently editable by modifying the beginning of the plugin JS
file. The variables include:

 * Custom field selectors for custom woocommerce implementations
 * Keyup delay when triggering the search
 * Minimum keyword length

Currently there are no shown errors in case of no search results etc.
 The idea 
is that the plugin is minimal and doesn’t confuse the user in case there are no 
matches found for the inserted company name.

If you want to know more about LEI codes or help your customers obtain it, then 
we would recommend directing them to [https://www.leinumber.com/](https://www.leinumber.com/)

## Snimke zaslona

[⌊The user starts typing the company name and gets a list of matches.⌉⌊The user 
starts typing the company name and gets a list of matches.⌉[

The user starts typing the company name and gets a list of matches.

[⌊The fields are automatically filled after the user has clicked on the correct 
company name.⌉⌊The fields are automatically filled after the user has clicked on
the correct company name.⌉[

The fields are automatically filled after the user has clicked on the correct company
name.

## Pitanja i odgovori

### What do I need to do?

Simply enable the plugin in WordPress

### Does it work if I don’t have Woocommerce?

If you’re clever, you can edit field selectors in the plugins JS file to match with
the selectors on your custom WordPress form. There are plans to make these editable
in the WordPress admin.

### Why is it not working? How to debug?

 * Is the plugin enabled?
 * Does the js/company-autocomplete.js appear in the site head where scripts are
   included?
 * Check if there are any errors in the “console” tab in the web browser element
   inspector.
 * Check if there are any faulty requests in the “network” tab in the web browser
   element inspector.
 * Are there any PHP errors shown on the site or in the error log?
 * GLEIF might be temporarily unavailable or you are being rate limited to 60 requests
   per minute (enforced by the GLEIF API).

## Recenzije

Nema recenzija za ovaj dodatak.

## Suradnici i Programeri

“Company Autocomplete by LEI Register” je softver otvorenog koda. Sljedeće osobe
su doprinijele ovom dodatku.

Suradnici

 *   [ leiregister ](https://profiles.wordpress.org/leiregister/)

[Prevedite “Company Autocomplete by LEI Register” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/company-autocomplete)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/company-autocomplete/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/company-autocomplete/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/company-autocomplete/)
od [RSS](https://plugins.trac.wordpress.org/log/company-autocomplete/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 1.0

 * Functional plugin with the company data autocomplete using GLEIF data

## Meta

 *  Version **1.0**
 *  Zadnje ažuriranje **prije 6 godina**
 *  Aktivnih instalacija **Manje od 10**
 *  WordPress inačica ** 4.7 ili viša **
 *  Testirano do **5.6.23**
 *  PHP inačica ** 5.6 ili viša **
 *  Language
 * [English (US)](https://wordpress.org/plugins/company-autocomplete/)
 * Oznaka
 * [address](https://hr.wordpress.org/plugins/tags/address/)[autocomplete](https://hr.wordpress.org/plugins/tags/autocomplete/)
   [autofill](https://hr.wordpress.org/plugins/tags/autofill/)[e-commerce](https://hr.wordpress.org/plugins/tags/e-commerce/)
   [search](https://hr.wordpress.org/plugins/tags/search/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/company-autocomplete/advanced/)

## Ocjena

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/company-autocomplete/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/company-autocomplete/reviews/)

## Suradnici

 *   [ leiregister ](https://profiles.wordpress.org/leiregister/)

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/company-autocomplete/)

## Doniraj

Želite li podržati napredak ovog dodatka?

 [ Donirajte ovom dodatku ](https://www.legalentityidentifier.co.uk/)