My Country States For WooCommerce

Опис

My Country States For WooCommerce, the ultimate solution to a common WooCommerce limitation. As any international e-commerce store owner knows, providing a smooth and efficient checkout process is crucial. However, WooCommerce doesn’t include states or provinces for all countries by default, leading to frustrating manual entry for customers.

Ми прийняли цей виклик і з гордістю представляємо багатофункціональне рішення. Наш плагін додає підтримку понад 160 країн, гарантуючи, що коли клієнт обирає свою країну, відповідні штати або провінції будуть автоматично заповнені. Більше ніякого нудного набору тексту, ніяких помилок у назвах штатів – лише безпроблемний процес оформлення замовлення, який підвищує задоволеність користувачів і довіру до вашого інтернет-магазину.

Незалежно від того, чи маєте ви справу з замовленнями від Афганістану до Зімбабве, наш плагін допоможе вам. Він не просто економить час, він підвищує точність. Тарифи на доставку і податкові розрахунки будуть точними, створюючи більш надійний досвід покупок для ваших клієнтів.

Ключові особливості

  • Support for 160+ countries: No more missing states or provinces.
  • Automatic population: States are populated based on the selected country.
  • Error reduction: Eliminate mistakes from manual entry.
  • Seamless integration: Easy setup with no coding required. No admin settings as well. Just install, activate, and enjoy.
  • Works out of the box: A hassle-free enhancement to your WooCommerce store.

Оновіть свій магазин WooCommerce вже сьогодні за допомогою “Мої країни для WooCommerce”. Покращуйте користувацький досвід, підвищуйте операційну ефективність і піднімайте рівень задоволеності клієнтів на нові висоти. Ваші клієнти з усього світу не заслуговують на менше.

Скріншоти

  • List of Sweden States.
  • List of Belgium States.
  • List of France States.
  • List of Tajikistan States.

Встановлення

Requieres WooCommerce

У цьому розділі описується, як встановити плагін та змусити його працювати.

З WordPress

  1. Відвідайте Плагіни > Додайте новий
  2. Шукайте Мої країни для WooCommerce
  3. Встановіть та активуйте My Country States For WooCommerce для WordPress з меню Плагіни у WordPress.

Вручну

  1. Завантажте плагін.
  2. Розархівуйте файл.
  3. Завантажте папку my-country-states-for-woocommerce/ в каталог /wp-content/plugins/ за допомогою cPanel або SFTP/FTP.
  4. Активуйте плагін через меню Плагіни в WordPress.

Часті питання

How do I set up the plugin?

No configuration required. All states are automatically for countries whose states are not implemeted in the WooCommerce.

How can I customize the list of states for a country implemented by this plugin?

You can customize the list of states for any country by using the mcsfwc_states_of_{TWO_CHARACTER_COUNTRY_CODE_IN_LOWER_CASE} filter hook provided by the plugin. For example, if you want to override the states for Afghanistan, use mcsfwc_states_of_af filter hook, for Singapore use mcsfwc_states_of_sg filter hook

How can I customize the list of states for Afghanistan?

The mcsfwc_states_of_af filter hook allows you to customize the list of states for Afghanistan in your WooCommerce checkout or other parts of your site where states are listed.

Here is an example of how to use the filter in your theme’s functions.php file:

<?php
function custom_afghanistan_states( $states ) {
    $states = array(
        'BDS' => 'Badakhshan',
        'BGL' => 'Baghlan',
        'BAL' => 'Balkh',
        // Add your custom states here
        'KAB' => 'Kabul',  // Example: Adding a custom state
    );
    return $states;
}
add_filter( 'mcsfwc_states_of_af', 'custom_afghanistan_states' );
?>

Is there any interface in Admin panel where I can customize the States listing?

No, currently you can customize the states list using the avaibale filter hooks. We are planning to implemente this feature in the next paid version.

Відгуки

Для цього плагіна немає відгуків.

Учасники та розробники

“My Country States For WooCommerce” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

“My Country States For WooCommerce” було перекладено на 1 локалізацію. Дякуємо перекладачам за їх роботу.

Перекладіть “My Country States For WooCommerce” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.1.0

  • Update: Check for compatibility with WC 9.0.1 and WordPress 6.6.1
  • New: Add support for the WooCommerce Cart and Checkout Blocks
  • Improvement: Code readability

1.0

  • Перша версія.