{"id":411210,"date":"2026-12-02T17:38:22","date_gmt":"2026-12-02T17:38:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/turkiye-adres-sistemi-for-woocommerce\/"},"modified":"2026-12-02T17:38:00","modified_gmt":"2026-12-02T17:38:00","slug":"3rkadir-turkish-address-checkout-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/3rkadir-turkish-address-checkout-for-woocommerce\/","author":23176871,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.7","stable_tag":"1.3.7","tested":"7.1.5","requires":"6.2","requires_php":"8.1","requires_plugins":null,"header_name":"T\u00fcrkiye \u0130l \u0130l\u00e7e Mahalle Eklentisi","header_author":"3rkadir","header_description":"T\u00fcrk\u00e7e: WooCommerce \u00f6deme sayfas\u0131na il, il\u00e7e, mahalle se\u00e7imi, T.C. Kimlik\/Vergi Kimlik No do\u011frulama ve otomatik vergi dairesi ekler. English: Turkish province, district and neighborhood selection, tax number validation and automatic tax office for the WooCommerce checkout.","last_updated":"2026-12-02 17:38:00","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":26,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.3.7":{"tag":"1.3.7","author":"3rkadir","date":"2026-12-02 17:38:00","revision":3840763}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3.7"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[3513,3148,226790,31053,286],"plugin_category":[45,49],"plugin_contributors":[294267],"plugin_business_model":[],"class_list":["post-411210","plugin","type-plugin","status-publish","hentry","plugin_tags-address","plugin_tags-checkout","plugin_tags-tax-number","plugin_tags-turkey","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_category-maps-and-location","plugin_contributors-3rkadir","plugin_committers-3rkadir"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/3rkadir-turkish-address-checkout-for-woocommerce.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<h4>T\u00fcrk\u00e7e<\/h4>\n\n<p>T\u00fcrkiye \u0130l \u0130l\u00e7e Mahalle Eklentisi, WooCommerce \u00f6deme sayfas\u0131ndaki varsay\u0131lan adres alanlar\u0131n\u0131 T\u00fcrkiye adres sistemiyle de\u011fi\u015ftirir. Eklentiyle birlikte 81 il, 973 il-il\u00e7e ili\u015fkisi ve 31.863 mahalle kayd\u0131 gelir; CSV y\u00fcklemeniz gerekmez.<\/p>\n\n<p><strong>\u00d6zellikler<\/strong><\/p>\n\n<ul>\n<li>Alan s\u0131ras\u0131: \u00dclke, \u0130l, \u0130l\u00e7e, Mahalle, A\u00e7\u0131k adres, (Posta kodu), Telefon.<\/li>\n<li>\u0130l\u00e7e ve mahalle listeleri AJAX ile y\u00fcklenir; sayfa yava\u015flamaz.<\/li>\n<li>Hem klasik \u00f6deme sayfas\u0131n\u0131 hem de WooCommerce blok tabanl\u0131 (Checkout Block) \u00f6deme sayfas\u0131n\u0131 destekler.<\/li>\n<li>Mahalle, <code>address_1<\/code> alan\u0131na yaz\u0131lmaz; sipari\u015f meta alanlar\u0131nda ayr\u0131 saklan\u0131r. <code>address_2<\/code> de\u011fi\u015ftirilmez.<\/li>\n<li>Otomatik posta kodu: mahalle se\u00e7ilince posta kodu otomatik doldurulur (mahallelerin yakla\u015f\u0131k %96's\u0131nda posta kodu vard\u0131r, m\u00fc\u015fteri de\u011fi\u015ftirebilir).<\/li>\n<li>Y\u00f6netim panelinde \"Posta Kodu Ekle \/ D\u00fczenle\" b\u00f6l\u00fcm\u00fc: posta kodu olmayan mahallelere kod girin veya mevcut kodu de\u011fi\u015ftirin.<\/li>\n<li>Y\u00f6netim panelinden yeni il, il\u00e7e ve mahalle ekleyebilirsiniz.<\/li>\n<li>Fatura bilgileri (iste\u011fe ba\u011fl\u0131, Ayarlar'dan a\u00e7\u0131l\u0131r): Bireysel i\u00e7in T.C. Kimlik No; Kurumsal i\u00e7in firma \u00fcnvan\u0131, vergi dairesi ve Vergi Kimlik No. Numaralar sa\u011flama basama\u011f\u0131na g\u00f6re hem taray\u0131c\u0131da hem sunucuda do\u011frulan\u0131r.<\/li>\n<li>Vergi dairesi, se\u00e7ilen il ve il\u00e7eye g\u00f6re G\u0130B'in resmi listesinden (860 daire, 18.06.2026) otomatik se\u00e7ilir; listeden de\u011fi\u015ftirilebilir, listede olmayan bir ad da yaz\u0131labilir.<\/li>\n<li>Blok \u00f6deme sayfas\u0131nda alanlar WooCommerce'in kendi alanlar\u0131yla ayn\u0131 yap\u0131dad\u0131r; tema ile uyumlu g\u00f6r\u00fcn\u00fcr.<\/li>\n<li>T.C. Kimlik No yaln\u0131zca sipari\u015fe yaz\u0131l\u0131r, m\u00fc\u015fteri profiline kaydedilmez, e-postalarda g\u00f6sterilmez; yaln\u0131zca y\u00f6neticiler g\u00f6r\u00fcr. Do\u011frulama sa\u011flama basama\u011f\u0131na dayan\u0131r, numaran\u0131n ki\u015fiye ait oldu\u011funu kan\u0131tlamaz.<\/li>\n<li>Ayarlar: il \/ il\u00e7e \/ mahalle zorunlulu\u011fu, il ve il\u00e7eyi yan yana g\u00f6sterme, posta kodunu g\u00f6sterme \/ gizleme, ikinci adres sat\u0131r\u0131n\u0131 g\u00f6sterme \/ gizleme, kargo eklentileri i\u00e7in \"Mahalle Mahallesi, a\u00e7\u0131k adres\" bi\u00e7imi.<\/li>\n<li>Sipari\u015f ekran\u0131nda, e-postalarda ve \"Hesab\u0131m &gt; Adresler\" sayfas\u0131nda mahalle bilgisi g\u00f6r\u00fcn\u00fcr.<\/li>\n<li>Giri\u015f yapm\u0131\u015f m\u00fc\u015fterinin kay\u0131tl\u0131 il \/ il\u00e7e \/ mahalle bilgisi \u00f6deme sayfas\u0131nda otomatik se\u00e7ilir.<\/li>\n<li>Y\u00fcksek Performansl\u0131 Sipari\u015f Depolama (HPOS) ve PHP 8.4 uyumlu.<\/li>\n<li>G\u00fcvenlik: yetki ve nonce kontrolleri, haz\u0131rlanm\u0131\u015f SQL sorgular\u0131, ka\u00e7\u0131\u015flanm\u0131\u015f \u00e7\u0131kt\u0131lar.<\/li>\n<li>Performans: il listesi \u00f6nbelle\u011fe al\u0131n\u0131r, il\u00e7e \/ mahalle yan\u0131tlar\u0131 taray\u0131c\u0131da saklan\u0131r, veri kurulumu toplu yaz\u0131l\u0131r.<\/li>\n<\/ul>\n\n<h4>English<\/h4>\n\n<p>T\u00fcrkiye \u0130l \u0130l\u00e7e Mahalle Eklentisi (Turkey Province District Neighborhood) replaces the default WooCommerce checkout address fields with the Turkish address system. 81 provinces, 973 province-district relations and 31,863 neighborhood records are bundled, so no CSV upload is needed.<\/p>\n\n<p><strong>Features<\/strong><\/p>\n\n<ul>\n<li>Field order: Country, Province, District, Neighborhood, Street address, (Postcode), Phone.<\/li>\n<li>District and neighborhood lists are loaded with AJAX, keeping pages fast.<\/li>\n<li>Works with both the classic checkout and the WooCommerce Checkout Block.<\/li>\n<li>The neighborhood is not written into <code>address_1<\/code>; it is stored separately in order meta. <code>address_2<\/code> is never modified.<\/li>\n<li>Automatic postcode: selecting a neighborhood fills in the postcode (about 96% of neighborhoods have one; customers can edit it).<\/li>\n<li>Admin section \"Posta Kodu Ekle \/ D\u00fczenle\": add or change the postcode of any neighborhood, optionally listing only those without one.<\/li>\n<li>Add provinces, districts and neighborhoods from the admin screen.<\/li>\n<li>Invoice details (optional, enabled in Settings): T.C. Kimlik No for individuals; company name, tax office and Vergi Kimlik No for companies. Numbers are checksum-validated in the browser and on the server.<\/li>\n<li>The tax office is selected automatically from the chosen province and district using the official G\u0130B list (860 offices, 2026-06-18); it can be changed, and a name not in the list may be typed.<\/li>\n<li>In the Checkout Block the fields use WooCommerce's own field markup and look identical to core fields.<\/li>\n<li>The T.C. Kimlik No is stored on the order only (not in the customer profile, not in emails, visible to admins). Validation is checksum-based and does not prove ownership.<\/li>\n<li>Settings: require province \/ district \/ neighborhood, show province and district side by side, show or hide the postcode, show or hide the second address line, optional \"Neighborhood Mahallesi, street address\" format for cargo plugins.<\/li>\n<li>The neighborhood is shown on the order screen, in emails and under My Account &gt; Addresses.<\/li>\n<li>The saved province \/ district \/ neighborhood of a returning customer is pre-selected at checkout.<\/li>\n<li>Compatible with High-Performance Order Storage (HPOS) and PHP 8.4.<\/li>\n<li>Security: capability and nonce checks, prepared SQL queries, escaped output.<\/li>\n<li>Performance: cached province list, browser-cached district \/ neighborhood responses, batched data import.<\/li>\n<\/ul>\n\n<p>Bundled data: 81 provinces, 973 province-district relations and 31,863 unique neighborhood records (data\/turkiye-il-ilce-mahalle.csv).<\/p>\n\n<h3>Support<\/h3>\n\n<p>Developer: 3rkadir \u2014 3rkadir@gmail.com<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the ZIP file at Plugins &gt; Add New &gt; Upload Plugin.<\/li>\n<li>Activate the plugin. WooCommerce must be active.<\/li>\n<li>Configure the plugin at WooCommerce &gt; T\u00fcrkiye \u0130l \u0130l\u00e7e Mahalle Eklentisi.<\/li>\n<\/ol>\n\n<p>If you are upgrading from the older \"WooCommerce T\u00fcrkiye Adres Sistemi\" (version 1.2.3 or earlier), deactivate and delete the old plugin first. Your settings and address data are kept.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"will%20my%20existing%20orders%20change%3F\"><h3>Will my existing orders change?<\/h3><\/dt>\n<dd><p>No. Addresses saved in older orders in the \"Neighborhood Mahallesi, address\" format are left as they are and are not merged again.<\/p><\/dd>\n<dt id=\"where%20can%20i%20read%20the%20neighborhood%3F\"><h3>Where can I read the neighborhood?<\/h3><\/dt>\n<dd><p>In the order meta fields <code>_billing_neighborhood<\/code> and <code>_shipping_neighborhood<\/code> (and the <code>_tr_*<\/code> copies). <code>get_billing_address_1()<\/code> returns only the street address.<\/p><\/dd>\n<dt id=\"is%20the%20data%20removed%20when%20the%20plugin%20is%20deleted%3F\"><h3>Is the data removed when the plugin is deleted?<\/h3><\/dt>\n<dd><p>No. Deleting the plugin removes only its settings. The province, district and neighborhood tables are kept.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.5<\/h4>\n\n<ul>\n<li>New: optional invoice details (T.C. Kimlik No, Vergi Kimlik No, company, tax office) with server and browser validation.<\/li>\n<li>New: tax office list from G\u0130B (860 offices) with automatic selection by province and district.<\/li>\n<li>Improved (Checkout Block): fields reuse WooCommerce's own markup for an identical look; selectors sit right above the street address field.<\/li>\n<li>Improved (classic): searchable province \/ district \/ neighborhood lists; bottom sheet on phones.<\/li>\n<li>Fix: README tag limit (5).<\/li>\n<\/ul>\n\n<h4>1.3.4<\/h4>\n\n<ul>\n<li>Plugin renamed to \"T\u00fcrkiye \u0130l \u0130l\u00e7e Mahalle Eklentisi\" (slug unchanged, settings and data are kept).<\/li>\n<li>Plugin Check: batched import query annotated (no behaviour change; all values are still passed through $wpdb-&gt;prepare()).<\/li>\n<li>README now in Turkish and English.<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li>Fix (Checkout Block): \"L\u00fctfen il se\u00e7iniz\" \/ \"L\u00fctfen mahalle se\u00e7iniz\" errors although province, district and neighborhood were selected. The selections now travel inside the order request itself (Store API checkout extension data) instead of the WooCommerce session, which concurrent cart requests could overwrite.<\/li>\n<li>Fix (Checkout Block): validation ran on every draft-order update while the customer was still filling in the form; it now runs only when the order is actually placed.<\/li>\n<li>Fix (Checkout Block): the Store API now uses the same Turkey locale as the block form, so WooCommerce's own \"state\" field is never demanded server-side.<\/li>\n<li>Fix (Checkout Block): saved address of a returning customer is pre-selected and its stored neighborhood is accepted; billing falls back to the shipping selection when \"use same address\" is on.<\/li>\n<li>Fix: a slow answer for an earlier province\/district can no longer overwrite the list of the current one (classic and block).<\/li>\n<li>Classic checkout: saved district and neighborhood of returning customers are restored.<\/li>\n<li>Checkout Block: plugin selectors are hidden and WooCommerce's own fields are shown again when a country other than T\u00fcrkiye is chosen.<\/li>\n<li>PHP 8.4: explicit CSV escape argument, typed static properties, no deprecated calls.<\/li>\n<li>Performance: province list cached (transient), settings memoised, district\/neighborhood lists cacheable by the browser for 10 minutes, bundled data imported in batches of 500 rows, and the import can no longer start from a customer's checkout AJAX request.<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Bundled data: 188 more neighborhoods now have a postcode (about 97% in total). Re-importing never overwrites a postcode that is already stored or was edited manually.<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>New admin section to add or edit the postcode of existing neighborhoods (province &gt; district &gt; neighborhood, optionally only those without a postcode).<\/li>\n<li>The \"add neighborhood\" form accepts an optional postcode.<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>New: automatic postcode. Selecting a neighborhood fills in the postcode (classic checkout and Checkout Block). Can be turned off in the settings.<\/li>\n<li>Bundled data now includes postcodes. Existing sites are upgraded automatically the first time an administrator opens the dashboard; stored data is kept.<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>Plugin renamed to \"T\u00fcrkiye Adres Sistemi for WooCommerce\" (slug: turkiye-adres-sistemi-for-woocommerce) to comply with the WordPress.org trademark rules.<\/li>\n<li>Database queries now use <code>%i<\/code> identifier placeholders with <code>$wpdb-&gt;prepare()<\/code> for table names (requires WordPress 6.2).<\/li>\n<li>AJAX endpoints verify the nonce with <code>check_ajax_referer()<\/code>.<\/li>\n<li>The settings array is sanitized with <code>map_deep()<\/code>.<\/li>\n<li>Removed the discouraged <code>load_plugin_textdomain()<\/code> call.<\/li>\n<li>Readme rewritten in English and \"Tested up to\" added.<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>New setting: pass the neighborhood to shipping integrations together with the address (off by default).<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Wider, 3-row street address field in the classic checkout; admin support info and settings shortcut; WordPress coding standards fixes.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fixed the district list not loading in the classic checkout; pinned the street address field name and order.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>New field order, separate neighborhood and street address storage, postcode and second address line settings, order\/email\/My Account display, rewritten Blocks adapter.<\/li>\n<\/ul>","raw_excerpt":"WooCommerce \u00f6deme sayfas\u0131nda il, il\u00e7e ve mahalle se\u00e7imi. \/ Province, district and neighborhood selection for the WooCommerce checkout.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/411210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=411210"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/3rkadir"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=411210"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=411210"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=411210"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=411210"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=411210"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=411210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}