Show countries for delivery process forms. Refactor countries.

This commit is contained in:
Almira Krdzic
2018-11-27 00:57:35 +01:00
parent 61ff7dbc60
commit 798ad20534
18 changed files with 1035 additions and 74 deletions

View File

@@ -45,6 +45,15 @@ function wiaas_db_update_add_product_properties_ui_fields() {
_wiaas_import_field_group($ui_json);
}
function wiaas_db_update_add_country_settings_ui_fields() {
$ui_json = file_get_contents( dirname( __FILE__ ) . '/data/wiaas-ui-field-country-settings.json' );
$ui_json = json_decode( $ui_json, true );
_wiaas_import_field_group($ui_json);
}
// private helper function