Linux 软件免费装

RY City Select for WooCommerce

开发者 fantasyworld
更新时间 2024年3月2日 12:37
捐献地址: 去捐款
PHP版本: 8.0 及以上
WordPress版本: 6.4
版权: GPLv3
版权网址: 版权信息

标签

woocommerce select city dropdown

下载

1.0.10 1.1.0 1.1.1 1.1.2 1.1.3 2.1.0 2.0.1 1.0.1 1.0.8 1.0.9 1.0.12 1.0.2 1.0.3 1.0.4 1.0.5 1.0.7 1.0.0 1.0.13 1.0.14 1.0.6 1.0.15 1.0.11 1.1.3.1 2.0.0

详情介绍:

This plubin is based on WC City Select WooCommerce uses a text input for the customers to enter the city or town. With this plugin you can provide a list of cities to be shown as a select dropdown. This will be shown in checkout pages, edit addresses pages and shipping calculator if it's configured that way. After selected the city or town, auto set the postcode number if is defined. How to add cities A list of cities can be added in your theme functions.php file. Use ry_wc_city_select_cities filter to load your cities. This is done similarly to Add/Modify States. It should be added on your functions.php or a custom plugin. ` add_filter( 'ry_wc_city_select_cities', 'my_cities' ); /**

安装:

Minimum Requirements

常见问题:

Where can I contribute the cities list of my country?

Please use GitHub repository. Use issuu give me the list, or use pull requests the file change. If your country don't have states list in woocommerce (see file /woocommerce/i18n/states.php). You also need contribute the states list. The sample file is cities/TW.php and states/TW.php

Where can I report bugs or contribute to the project?

Report bugs on the GitHub repository, or my person website page.

All cities list from http://geonames.org/

From the RY-WC-City-Select-cities-files You can add almost main states and cities list in the world. But some state or city may use different name with the official name. To enable geonames.org data, add code into you theme functions.php. Or use Code Snippets[https://wordpress.org/plugins/code-snippets/] to add code. add_filter('ry_wcs_load_geonames_org', '__return_true');

更新日志:

2.1.0 - 2024/03/022 2.0.1 - 2023/08/26 2.0.0 - 2023/04/23 1.1.3.1 - 2023/03/30 1.1.3 - 2023/02/13 1.1.2 - 2022/07/16 1.1.1 - 2022/06-03 1.1.0 - 2022/04/04 1.0.0 - 2019/12/07