diff --git a/includes/wcwuunder-create.php b/includes/wcwuunder-create.php index 76e1d62..f5bf848 100644 --- a/includes/wcwuunder-create.php +++ b/includes/wcwuunder-create.php @@ -13,7 +13,7 @@ public function __construct() $this->version_obj = array( "product" => "Woocommerce extension", "version" => array( - "build" => "2.4.5", + "build" => "2.4.6", "plugin" => "2.0"), "platform" => array( "name" => "Woocommerce", @@ -241,6 +241,7 @@ public function get_company_address() $pickupAddress->setZipCode(get_option('wc_wuunder_company_postode')); $pickupAddress->setPhoneNumber(get_option('wc_wuunder_company_phone')); $pickupAddress->setCountry(get_option('wc_wuunder_company_country')); + $pickupAddress->setBusiness(get_option('wc_wuunder_company_name')); if ($pickupAddress->validate()) { return $pickupAddress; } else { diff --git a/woocommerce-wuunder.php b/woocommerce-wuunder.php index b831cc5..eee2bf4 100644 --- a/woocommerce-wuunder.php +++ b/woocommerce-wuunder.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce Wuunder * Plugin URI: http://wearewuunder.com * Description: Wuunder shipping plugin - * Version: 2.4.5 + * Version: 2.4.6 * Author: Wuunder * Author URI: http://wearewuunder.com */ @@ -51,7 +51,7 @@ class Woocommerce_Wuunder public static $plugin_path; public static $plugin_basename; - const VERSION = '2.4.5'; + const VERSION = '2.4.6'; public function __construct() {