Skip to content

Commit

Permalink
v3.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
algoritmika committed Dec 27, 2024
1 parent 3d8a6ad commit 03935a0
Show file tree
Hide file tree
Showing 16 changed files with 331 additions and 187 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"wpfactory/wpfactory-admin-menu": "*"
},
"config": {
"preferred-install": "dist"
"preferred-install": "dist",
"autoloader-suffix": "WPFactoryEUVATForWooCommerce"
}
}
9 changes: 5 additions & 4 deletions eu-vat-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
Plugin Name: EU/UK VAT Validation Manager for WooCommerce
Plugin URI: https://wpfactory.com/item/eu-vat-for-woocommerce/
Description: Manage EU VAT in WooCommerce. Beautifully.
Version: 3.1.5
Version: 3.1.6
Author: WPFactory
Author URI: https://wpfactory.com/
Text Domain: eu-vat-for-woocommerce
Domain Path: /langs
WC tested up to: 9.4
WC tested up to: 9.5
Requires Plugins: woocommerce
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Expand All @@ -21,9 +21,10 @@
/**
* Main Alg_WC_EU_VAT Class
*
* @class Alg_WC_EU_VAT
* @version 3.1.1
* @since 1.0.0
*
* @class Alg_WC_EU_VAT
*/
final class Alg_WC_EU_VAT {

Expand All @@ -33,7 +34,7 @@ final class Alg_WC_EU_VAT {
* @var string
* @since 1.0.0
*/
public $version = '3.1.5';
public $version = '3.1.6';

/**
* core object.
Expand Down
8 changes: 4 additions & 4 deletions includes/settings/class-alg-wc-eu-vat-settings-general.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ function get_settings() {
'type' => 'select',
'class' => 'wc-enhanced-select',
'options' => array(
'no' => __( 'Optional', 'eu-vat-for-woocommerce' ),
'yes' => __( 'Required', 'eu-vat-for-woocommerce' ),
'yes_for_countries' => __( 'Required in the following countries', 'eu-vat-for-woocommerce' ),
'no' => __( 'Optional', 'eu-vat-for-woocommerce' ),
'yes' => __( 'Required', 'eu-vat-for-woocommerce' ),
'yes_for_countries' => __( 'Required in the following countries', 'eu-vat-for-woocommerce' ),
'no_for_countries' => __( 'Required in all countries except following countries', 'eu-vat-for-woocommerce' ),
'yes_for_company' => __( 'Required if customer fills the company field', 'eu-vat-for-woocommerce' ),
'yes_for_company' => __( 'Required if customer fills the company field', 'eu-vat-for-woocommerce' ),
),
),
array(
Expand Down
3 changes: 0 additions & 3 deletions includes/settings/class-alg-wc-eu-vat-settings-validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ function get_settings() {
'id' => 'alg_wc_eu_vat_not_valid_message',
'default' => __( '<strong>EU VAT Number</strong> is not valid.', 'eu-vat-for-woocommerce' ),
'type' => 'textarea',
// 'css' => 'width:100%;',
'alg_wc_eu_vat_raw' => true,
),

Expand Down Expand Up @@ -128,11 +127,9 @@ function get_settings() {
'id' => 'alg_wc_eu_vat_preserve_in_base_country_locations',
'default' => '',
'type' => 'text',
// 'css' => 'width:100%;',
'custom_attributes' => '',
),


array(
'title' => __( 'Check country by IP', 'eu-vat-for-woocommerce' ),
'desc_tip' => __( 'This will check if customer\'s country (located by customer\'s IP) matches the country in entered VAT number.', 'eu-vat-for-woocommerce' ) .
Expand Down
Loading

0 comments on commit 03935a0

Please sign in to comment.