{"id":138091,"date":"2021-03-17T20:42:33","date_gmt":"2021-03-17T20:42:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/company-autocomplete-by-lei-register\/"},"modified":"2021-04-01T14:18:41","modified_gmt":"2021-04-01T14:18:41","slug":"company-autocomplete","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/company-autocomplete\/","author":18619738,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"5.6.17","requires":"4.7","requires_php":"5.6","requires_plugins":"","header_name":"Company Autocomplete by LEI Register","header_author":"LEI Register","header_description":"Company search autocomplete for WooCommerce using LEI data from GLEIF","assets_banners_color":"","last_updated":"2021-04-01 14:18:41","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.legalentityidentifier.co.uk\/","header_plugin_uri":"","header_author_uri":"https:\/\/www.legalentityidentifier.co.uk\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1060,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"leiregister","date":"2021-04-01 14:18:41"}},"upgrade_notice":{"1.0":"<p>Initial release<\/p>"},"ratings":[],"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":2498611,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2498273,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2498273,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"The user starts typing the company name and gets a list of matches.","2":"The fields are automatically filled after the user has clicked on the correct company name."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3513,3226,3517,888,944],"plugin_category":[45,49],"plugin_contributors":[197431],"plugin_business_model":[],"class_list":["post-138091","plugin","type-plugin","status-publish","hentry","plugin_tags-address","plugin_tags-autocomplete","plugin_tags-autofill","plugin_tags-e-commerce","plugin_tags-search","plugin_category-ecommerce","plugin_category-maps-and-location","plugin_contributors-leiregister","plugin_committers-leiregister"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/company-autocomplete\/assets\/icon.svg?rev=2498611","icon":"https:\/\/ps.w.org\/company-autocomplete\/assets\/icon.svg?rev=2498611","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/company-autocomplete\/assets\/screenshot-1.png?rev=2498273","caption":"The user starts typing the company name and gets a list of matches."},{"src":"https:\/\/ps.w.org\/company-autocomplete\/assets\/screenshot-2.png?rev=2498273","caption":"The fields are automatically filled after the user has clicked on the correct company name."}],"raw_content":"<!--section=description-->\n<p>Simply enabling this plugin will add autocomplete function to the company name field in your standard Woocommerce checkout form.\nThere are currently around <strong>2 million companies<\/strong> in the GLEIF database from all over the world, which are all searchable with this plugin.\nTyping in the company name field will automatically trigger a search with AJAX to the free to use GLEIF public database (<a href=\"https:\/\/www.gleif.org\/en\/meta\/lei-data-terms-of-use\/\">GLEIF LEI data terms of use<\/a>).\nIt will then use this data to show a list of matching companies to the keywords.\nWhen clicking on a specific company in the list, it will hide the list and prefill the correct data to the following fields:<\/p>\n\n<ul>\n<li>company name (completing the searchable field)<\/li>\n<li>address<\/li>\n<li>city<\/li>\n<li>postal code<\/li>\n<li>country<\/li>\n<\/ul>\n\n<p>Some variables are currently editable by modifying the beginning of the plugin JS file. The variables include:<\/p>\n\n<ul>\n<li>Custom field selectors for custom woocommerce implementations<\/li>\n<li>Keyup delay when triggering the search<\/li>\n<li>Minimum keyword length<\/li>\n<\/ul>\n\n<p>Currently there are no shown errors in case of no search results etc.\nThe 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.<\/p>\n\n<p>If you want to know more about LEI codes or help your customers obtain it, then we would recommend directing them to <a href=\"https:\/\/www.leinumber.com\/\">https:\/\/www.leinumber.com\/<\/a><\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20do%20i%20need%20to%20do%3F'><h3>What do I need to do?<\/h3><\/dt>\n<dd><p>Simply enable the plugin in Wordpress<\/p><\/dd>\n<dt id='does%20it%20work%20if%20i%20don%27t%20have%20woocommerce%3F'><h3>Does it work if I don't have Woocommerce?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='why%20is%20it%20not%20working%3F%20how%20to%20debug%3F'><h3>Why is it not working? How to debug?<\/h3><\/dt>\n<dd><ul>\n<li>Is the plugin enabled?<\/li>\n<li>Does the js\/company-autocomplete.js appear in the site head where scripts are included?<\/li>\n<li>Check if there are any errors in the \"console\" tab in the web browser element inspector.<\/li>\n<li>Check if there are any faulty requests in the \"network\" tab in the web browser element inspector.<\/li>\n<li>Are there any PHP errors shown on the site or in the error log?<\/li>\n<li>GLEIF might be temporarily unavailable or you are being rate limited to 60 requests per minute (enforced by the GLEIF API).<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Functional plugin with the company data autocomplete using GLEIF data<\/li>\n<\/ul>","raw_excerpt":"Company search autocomplete for WooCommerce using LEI data from GLEIF. Provided by LEI Register.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/138091","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=138091"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/leiregister"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=138091"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=138091"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=138091"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=138091"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=138091"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=138091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}