Changeset 3093985
- Timestamp:
- 05/28/2024 02:42:53 PM (22 months ago)
- Location:
- dhlpwc
- Files:
-
- 22 edited
- 1 copied
-
tags/2.1.2 (copied) (copied from dhlpwc/trunk)
-
tags/2.1.2/README.md (modified) (1 diff)
-
tags/2.1.2/assets/css/dhlpwc.admin.css (modified) (1 diff)
-
tags/2.1.2/assets/js/dhlpwc.settings.js (modified) (1 diff)
-
tags/2.1.2/dhlpwoocommerce.php (modified) (2 diffs)
-
tags/2.1.2/includes/controller/admin/class-dhlpwc-controller-admin-settings.php (modified) (2 diffs)
-
tags/2.1.2/includes/model/service/class-dhlpwc-model-service-shipping-preset.php (modified) (1 diff)
-
tags/2.1.2/includes/model/woocommerce/settings/class-dhlpwc-model-woocommerce-settings-shipping-method.php (modified) (4 diffs)
-
tags/2.1.2/languages/dhlpwc-nl_BE.po (modified) (4 diffs)
-
tags/2.1.2/languages/dhlpwc-nl_NL.po (modified) (4 diffs)
-
tags/2.1.2/languages/dhlpwc.pot (modified) (4 diffs)
-
tags/2.1.2/readme.txt (modified) (5 diffs)
-
trunk/README.md (modified) (1 diff)
-
trunk/assets/css/dhlpwc.admin.css (modified) (1 diff)
-
trunk/assets/js/dhlpwc.settings.js (modified) (1 diff)
-
trunk/dhlpwoocommerce.php (modified) (2 diffs)
-
trunk/includes/controller/admin/class-dhlpwc-controller-admin-settings.php (modified) (2 diffs)
-
trunk/includes/model/service/class-dhlpwc-model-service-shipping-preset.php (modified) (1 diff)
-
trunk/includes/model/woocommerce/settings/class-dhlpwc-model-woocommerce-settings-shipping-method.php (modified) (4 diffs)
-
trunk/languages/dhlpwc-nl_BE.po (modified) (4 diffs)
-
trunk/languages/dhlpwc-nl_NL.po (modified) (4 diffs)
-
trunk/languages/dhlpwc.pot (modified) (4 diffs)
-
trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dhlpwc/tags/2.1.2/README.md
r3073147 r3093985 1 # DHL eCommerce for WooCommerce 2 1 # DHL eCommerce (Benelux) for WooCommerce 2 3 v2.1.2 4 ## Changes 5 - Added a new fallback shipping method 6 - Updated support email address 7 - Updated the description to indicate this plugin is only for Benelux users 8 - Fixed long messages in label creation screen being cut off screen 9 3 10 v2.1.1 4 11 ## Changes -
dhlpwc/tags/2.1.2/assets/css/dhlpwc.admin.css
r3073094 r3093985 1 .dhlpwc_notice { color: #0a0; margin-bottom:0 }2 .dhlpwc_warning { color: #a00; margin-bottom:0 }3 .dhlpwc_error { color: #a00; margin-bottom:0 }1 .dhlpwc_notice { color: #0a0; margin-bottom:0; white-space: normal } 2 .dhlpwc_warning { color: #a00; margin-bottom:0; white-space: normal } 3 .dhlpwc_error { color: #a00; margin-bottom:0; white-space: normal } 4 4 5 5 .dhlpwc-meta-loader { -
dhlpwc/tags/2.1.2/assets/js/dhlpwc.settings.js
r3012853 r3093985 876 876 '<a href="#TB_inline?&width=800&height=150&inlineId=dhlpwc_no_neighbour_next_day_info" class="thickbox">🛈</a>' + 877 877 '<div id="dhlpwc_no_neighbour_next_day_info" style="display:none;"><p>' + dhlpwc_settings_object.no_neighbour_next_day_info + '</p></div>' 878 ); 879 880 $('tr#dhlpwc-option-group-mirror-fallback').find('label:first-child').append( 881 '<a href="#TB_inline?&width=800&height=150&inlineId=dhlpwc_fallback_info" class="thickbox">🛈</a>' + 882 '<div id="dhlpwc_fallback_info" style="display:none;"><p>' + dhlpwc_settings_object.fallback_info + '</p></div>' 878 883 ); 879 884 -
dhlpwc/tags/2.1.2/dhlpwoocommerce.php
r3073147 r3093985 3 3 * Plugin Name: DHL eCommerce for WooCommmerce 4 4 * Plugin URI: https://www.dhlparcel.nl 5 * Description: This is the official DHL eCommerce for WooCommerce plugin.5 * Description: This is the official DHL eCommerce (Benelux) for WooCommerce plugin. 6 6 * Author: DHL eCommerce 7 * Version: 2.1. 17 * Version: 2.1.2 8 8 * Requires at least: 4.7.16 9 9 * Tested up to: 6.3 … … 52 52 53 53 // Set constants 54 $this->define('DHLPWC_PLUGIN_VERSION', '2.1. 1');54 $this->define('DHLPWC_PLUGIN_VERSION', '2.1.2'); 55 55 $this->define('DHLPWC_PLUGIN_FILE', __FILE__); 56 56 $this->define('DHLPWC_PLUGIN_BASENAME', plugin_basename(__FILE__)); -
dhlpwc/tags/2.1.2/includes/controller/admin/class-dhlpwc-controller-admin-settings.php
r3073094 r3093985 49 49 add_submenu_page( 50 50 'woocommerce', 51 __('DHL eCommerce for WooCommerce', 'dhlpwc'),52 __('DHL eCommerce for WooCommerce', 'dhlpwc'),51 __('DHL eCommerce (Benelux) for WooCommerce', 'dhlpwc'), 52 __('DHL eCommerce (Benelux) for WooCommerce', 'dhlpwc'), 53 53 'manage_options', 54 54 'dhlpwc-menu-link', … … 169 169 'no_neighbour_same_day_info' => DHLPWC_Model_Service_Shipping_Preset::instance()->find_preset('no_neighbour_same_day')->information, 170 170 'no_neighbour_next_day_info' => DHLPWC_Model_Service_Shipping_Preset::instance()->find_preset('no_neighbour_next_day')->information, 171 'fallback_info' => DHLPWC_Model_Service_Shipping_Preset::instance()->find_preset('fallback')->information, 171 172 'condition_templates' => $condition_templates, 172 173 'currency_symbol' => get_woocommerce_currency_symbol(), -
dhlpwc/tags/2.1.2/includes/model/service/class-dhlpwc-model-service-shipping-preset.php
r2974250 r3093985 164 164 ), 165 165 'information' => '', 166 ), 167 array( 168 'frontend_id' => 'fallback', 169 'setting_id' => 'fallback', 170 'title' => __('Standard delivery', 'dhlpwc'), 171 'options' => array( 172 DHLPWC_Model_Meta_Order_Option_Preference::OPTION_DOOR, 173 ), 174 'information' => 'Allow DHL eCommerce to show a fallback when there\'s an invalid configuration or when the DHL eCommerce API is unreachable.', 166 175 ), 167 176 ); -
dhlpwc/tags/2.1.2/includes/model/woocommerce/settings/class-dhlpwc-model-woocommerce-settings-shipping-method.php
r3035206 r3093985 37 37 38 38 $this->id = 'dhlpwc'; 39 $this->method_title = __('DHL eCommerce for WooCommerce', 'dhlpwc');39 $this->method_title = __('DHL eCommerce (Benelux) for WooCommerce', 'dhlpwc'); 40 40 $this->method_description = __('This is the official DHL Plugin for WooCommerce in WordPress. Do you have a WooCommerce webshop and are you looking for an easy way to process shipments within the Netherlands and abroad? This plugin offers you many options. You can easily create shipping labels and offer multiple delivery options in your webshop. Set up your account below.', 'dhlpwc'); 41 41 $this->instance_id = absint( $instance_id ); … … 1087 1087 } 1088 1088 1089 $added_rate = false; 1090 $fallbackPreset = false; 1089 1091 foreach ($presets as $data) { 1090 1091 1092 $preset = new DHLPWC_Model_Meta_Shipping_Preset($data); 1093 if ($data['frontend_id'] === 'fallback') { 1094 $fallbackPreset = $preset; 1095 continue; 1096 } 1092 1097 1093 1098 $check_allowed_options = true; … … 1149 1154 1150 1155 if (!$this->disable_condition($preset->setting_id, $package)) { 1156 $added_rate = true; 1151 1157 $this->add_rate(array( 1152 1158 'id' => 'dhlpwc-' . $preset->frontend_id, … … 1156 1162 )); 1157 1163 } 1158 1159 1164 } 1165 } 1166 1167 if (!$added_rate && $fallbackPreset) { 1168 $meta_data = array(); 1169 if ($sort_position = $this->get_option('sort_position_' . $preset->setting_id)) { 1170 $meta_data = array('sort_position' => $sort_position); 1171 } 1172 1173 $this->add_rate(array( 1174 'id' => 'dhlpwc-' . $fallbackPreset->frontend_id, 1175 'label' => __($fallbackPreset->title, 'dhlpwc'), 1176 'cost' => $this->calculate_cost($package, $preset->setting_id), 1177 'meta_data' => $meta_data, 1178 )); 1160 1179 } 1161 1180 } -
dhlpwc/tags/2.1.2/languages/dhlpwc-nl_BE.po
r2995038 r3093985 180 180 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:54 181 181 #: includes/model/woocommerce/settings/class-dhlpwc-model-woocommerce-settings-shipping-method.php:39 182 msgid "DHL eCommerce for WooCommerce"183 msgstr "DHL eCommerce in WooCommerce"182 msgid "DHL eCommerce (Benelux) for WooCommerce" 183 msgstr "DHL eCommerce (Benelux) in WooCommerce" 184 184 185 185 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:53 … … 299 299 300 300 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:305 301 msgid "View DHL eCommerce for WooCommerce settings"302 msgstr "DHL eCommerce in WooCommerce informatie"301 msgid "View DHL eCommerce (Benelux) for WooCommerce settings" 302 msgstr "DHL eCommerce (Benelux) in WooCommerce informatie" 303 303 304 304 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:305 … … 1560 1560 1561 1561 #: includes/view/admin/migrate.php:10 1562 msgid "DHL eCommerce for WooCommerce notice"1563 msgstr "DHL eCommerce in WooCommerce informatie"1562 msgid "DHL eCommerce (Benelux) for WooCommerce notice" 1563 msgstr "DHL eCommerce (Benelux) in WooCommerce informatie" 1564 1564 1565 1565 #: includes/view/admin/migrate.php:12 … … 1632 1632 1633 1633 #: includes/view/admin/migrate.php:39 1634 msgid "Click here to install DHL eCommerce for WooCommerce."1635 msgstr "Klik hier om DHL eCommerce for WooCommerce te installeren."1634 msgid "Click here to install DHL eCommerce (Benelux) for WooCommerce." 1635 msgstr "Klik hier om DHL eCommerce (Benelux) for WooCommerce te installeren." 1636 1636 1637 1637 #: includes/view/admin/migrate.php:42 -
dhlpwc/tags/2.1.2/languages/dhlpwc-nl_NL.po
r2995038 r3093985 180 180 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:54 181 181 #: includes/model/woocommerce/settings/class-dhlpwc-model-woocommerce-settings-shipping-method.php:39 182 msgid "DHL eCommerce for WooCommerce"183 msgstr "DHL eCommerce in WooCommerce"182 msgid "DHL eCommerce (Benelux) for WooCommerce" 183 msgstr "DHL eCommerce (Benelux) in WooCommerce" 184 184 185 185 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:53 … … 299 299 300 300 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:305 301 msgid "View DHL eCommerce for WooCommerce settings"302 msgstr "DHL eCommerce in WooCommerce informatie"301 msgid "View DHL eCommerce (Benelux) for WooCommerce settings" 302 msgstr "DHL eCommerce (Benelux) in WooCommerce informatie" 303 303 304 304 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:305 … … 1560 1560 1561 1561 #: includes/view/admin/migrate.php:10 1562 msgid "DHL eCommerce for WooCommerce notice"1563 msgstr "DHL eCommerce in WooCommerce informatie"1562 msgid "DHL eCommerce (Benelux) for WooCommerce notice" 1563 msgstr "DHL eCommerce (Benelux) in WooCommerce informatie" 1564 1564 1565 1565 #: includes/view/admin/migrate.php:12 … … 1632 1632 1633 1633 #: includes/view/admin/migrate.php:39 1634 msgid "Click here to install DHL eCommerce for WooCommerce."1635 msgstr "Klik hier om DHL eCommerce for WooCommerce te installeren."1634 msgid "Click here to install DHL eCommerce (Benelux) for WooCommerce." 1635 msgstr "Klik hier om DHL eCommerce (Benelux) for WooCommerce te installeren." 1636 1636 1637 1637 #: includes/view/admin/migrate.php:42 -
dhlpwc/tags/2.1.2/languages/dhlpwc.pot
r2995038 r3093985 180 180 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:54 181 181 #: includes/model/woocommerce/settings/class-dhlpwc-model-woocommerce-settings-shipping-method.php:39 182 msgid "DHL eCommerce for WooCommerce"182 msgid "DHL eCommerce (Benelux) for WooCommerce" 183 183 msgstr "" 184 184 … … 298 298 299 299 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:305 300 msgid "View DHL eCommerce for WooCommerce settings"300 msgid "View DHL eCommerce (Benelux) for WooCommerce settings" 301 301 msgstr "" 302 302 … … 1472 1472 1473 1473 #: includes/view/admin/migrate.php:10 1474 msgid "DHL eCommerce for WooCommerce notice"1474 msgid "DHL eCommerce (Benelux) for WooCommerce notice" 1475 1475 msgstr "" 1476 1476 … … 1537 1537 1538 1538 #: includes/view/admin/migrate.php:39 1539 msgid "Click here to install DHL eCommerce for WooCommerce."1539 msgid "Click here to install DHL eCommerce (Benelux) for WooCommerce." 1540 1540 msgstr "" 1541 1541 -
dhlpwc/tags/2.1.2/readme.txt
r3073147 r3093985 1 === DHL eCommerce for WooCommerce ===1 === DHL eCommerce (Benelux) for WooCommerce === 2 2 Contributors: dhlparcel, dhlsupport, shindhl, ronoerlemans, dennisdhl 3 Tags: DHL, DHL Parcel, DHL Parcel for WooCommerce, DHLParcel, DHL Parcel NL, DHL Parcel Benelux, WooCommerce, Shipping, Shipping labels, Shipping rates, DHL eCommerce, DHL eCommerce for WooCommerce, DHLeCommerce, DHL eCommerce NL, DHL eCommerce Benelux3 Tags: DHL, DHL eCommerce, WooCommerce, Shipping, Shipping rates 4 4 Requires at least: 4.7.16 5 5 Requires PHP: 5.6 6 Tested up to: 6. 27 Stable tag: 2.1. 16 Tested up to: 6.5.2 7 Stable tag: 2.1.2 8 8 WC requires at least: 3.0.0 9 WC tested up to: 8. 5.29 WC tested up to: 8.6.1 10 10 License: GPL v3 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 15 15 == Description == 16 16 17 Use the free official DHL eCommerce for WooCommerce plugin to professionalize your online store frontstage and behind the scenes. Manage your shipments easily. Offer visitors a unique experience by tailoring services to your business. Whether you process orders individually or a hundred at a time: you always have the right labels ready as soon as you want them. 18 19 *Please note that this plug-in can be used by online stores that ship orders from the Benelux region.* 17 Use the free official DHL eCommerce (Benelux) for WooCommerce plugin to professionalize your online store frontstage and behind the scenes. Manage your shipments easily. Offer visitors a unique experience by tailoring services to your business. Whether you process orders individually or a hundred at a time: you always have the right labels ready as soon as you want them. 18 19 *Please note that this plug-in can only be used by online stores that ship orders from the following regions:* 20 * Netherlands 21 * Belgium 22 * Luxembourg 20 23 21 24 = Benefits & Features = … … 54 57 == Changelog == 55 58 59 = 2.1.2 = 60 - Added a new fallback shipping method 61 - Updated support email address 62 - Updated the description to indicate this plugin is only for Benelux users 63 - Fixed long messages in label creation screen being cut off screen 64 56 65 = 2.1.1 = 57 66 - This release has no code changes except for an updated version number to reflect Gutenberg changes … … 408 417 == Frequently Asked Questions == 409 418 410 Do you have any questions about our WooCommerce plug-in? We are ready to assist you and we will try to provide you with an answer as soon as possible. In need of a quick solution? See if your question is in the shortlist below or check our [manual](https://www.dhlparcel.nl/sites/default/files/content/PDF/Manual_WooCommerce_plug-in_EN.pdf). If you didn’t find what you were looking for, we will gladly assist you if you send us an [e-mail](mailto: cas.parcel@dhl.com).419 Do you have any questions about our WooCommerce plug-in? We are ready to assist you and we will try to provide you with an answer as soon as possible. In need of a quick solution? See if your question is in the shortlist below or check our [manual](https://www.dhlparcel.nl/sites/default/files/content/PDF/Manual_WooCommerce_plug-in_EN.pdf). If you didn’t find what you were looking for, we will gladly assist you if you send us an [e-mail](mailto:it.cas@dhl.com). 411 420 412 421 = How to get started = … … 446 455 = Migrating from DHL for WooCommerce = 447 456 448 If you were using DHL for WooCommerce plugin previously, this plugin will continue using the same settings. No additional configuration is required, but we do recommend disabling the original DHL for WooCommerce plugin after verifying everything works with DHL eCommerce for WooCommerce.457 If you were using DHL for WooCommerce plugin previously, this plugin will continue using the same settings. No additional configuration is required, but we do recommend disabling the original DHL for WooCommerce plugin after verifying everything works with DHL eCommerce (Benelux) for WooCommerce. 449 458 450 459 == Upgrade Notice == -
dhlpwc/trunk/README.md
r3073147 r3093985 1 # DHL eCommerce for WooCommerce 2 1 # DHL eCommerce (Benelux) for WooCommerce 2 3 v2.1.2 4 ## Changes 5 - Added a new fallback shipping method 6 - Updated support email address 7 - Updated the description to indicate this plugin is only for Benelux users 8 - Fixed long messages in label creation screen being cut off screen 9 3 10 v2.1.1 4 11 ## Changes -
dhlpwc/trunk/assets/css/dhlpwc.admin.css
r3073094 r3093985 1 .dhlpwc_notice { color: #0a0; margin-bottom:0 }2 .dhlpwc_warning { color: #a00; margin-bottom:0 }3 .dhlpwc_error { color: #a00; margin-bottom:0 }1 .dhlpwc_notice { color: #0a0; margin-bottom:0; white-space: normal } 2 .dhlpwc_warning { color: #a00; margin-bottom:0; white-space: normal } 3 .dhlpwc_error { color: #a00; margin-bottom:0; white-space: normal } 4 4 5 5 .dhlpwc-meta-loader { -
dhlpwc/trunk/assets/js/dhlpwc.settings.js
r3012853 r3093985 876 876 '<a href="#TB_inline?&width=800&height=150&inlineId=dhlpwc_no_neighbour_next_day_info" class="thickbox">🛈</a>' + 877 877 '<div id="dhlpwc_no_neighbour_next_day_info" style="display:none;"><p>' + dhlpwc_settings_object.no_neighbour_next_day_info + '</p></div>' 878 ); 879 880 $('tr#dhlpwc-option-group-mirror-fallback').find('label:first-child').append( 881 '<a href="#TB_inline?&width=800&height=150&inlineId=dhlpwc_fallback_info" class="thickbox">🛈</a>' + 882 '<div id="dhlpwc_fallback_info" style="display:none;"><p>' + dhlpwc_settings_object.fallback_info + '</p></div>' 878 883 ); 879 884 -
dhlpwc/trunk/dhlpwoocommerce.php
r3073147 r3093985 3 3 * Plugin Name: DHL eCommerce for WooCommmerce 4 4 * Plugin URI: https://www.dhlparcel.nl 5 * Description: This is the official DHL eCommerce for WooCommerce plugin.5 * Description: This is the official DHL eCommerce (Benelux) for WooCommerce plugin. 6 6 * Author: DHL eCommerce 7 * Version: 2.1. 17 * Version: 2.1.2 8 8 * Requires at least: 4.7.16 9 9 * Tested up to: 6.3 … … 52 52 53 53 // Set constants 54 $this->define('DHLPWC_PLUGIN_VERSION', '2.1. 1');54 $this->define('DHLPWC_PLUGIN_VERSION', '2.1.2'); 55 55 $this->define('DHLPWC_PLUGIN_FILE', __FILE__); 56 56 $this->define('DHLPWC_PLUGIN_BASENAME', plugin_basename(__FILE__)); -
dhlpwc/trunk/includes/controller/admin/class-dhlpwc-controller-admin-settings.php
r3073094 r3093985 49 49 add_submenu_page( 50 50 'woocommerce', 51 __('DHL eCommerce for WooCommerce', 'dhlpwc'),52 __('DHL eCommerce for WooCommerce', 'dhlpwc'),51 __('DHL eCommerce (Benelux) for WooCommerce', 'dhlpwc'), 52 __('DHL eCommerce (Benelux) for WooCommerce', 'dhlpwc'), 53 53 'manage_options', 54 54 'dhlpwc-menu-link', … … 169 169 'no_neighbour_same_day_info' => DHLPWC_Model_Service_Shipping_Preset::instance()->find_preset('no_neighbour_same_day')->information, 170 170 'no_neighbour_next_day_info' => DHLPWC_Model_Service_Shipping_Preset::instance()->find_preset('no_neighbour_next_day')->information, 171 'fallback_info' => DHLPWC_Model_Service_Shipping_Preset::instance()->find_preset('fallback')->information, 171 172 'condition_templates' => $condition_templates, 172 173 'currency_symbol' => get_woocommerce_currency_symbol(), -
dhlpwc/trunk/includes/model/service/class-dhlpwc-model-service-shipping-preset.php
r2974250 r3093985 164 164 ), 165 165 'information' => '', 166 ), 167 array( 168 'frontend_id' => 'fallback', 169 'setting_id' => 'fallback', 170 'title' => __('Standard delivery', 'dhlpwc'), 171 'options' => array( 172 DHLPWC_Model_Meta_Order_Option_Preference::OPTION_DOOR, 173 ), 174 'information' => 'Allow DHL eCommerce to show a fallback when there\'s an invalid configuration or when the DHL eCommerce API is unreachable.', 166 175 ), 167 176 ); -
dhlpwc/trunk/includes/model/woocommerce/settings/class-dhlpwc-model-woocommerce-settings-shipping-method.php
r3035206 r3093985 37 37 38 38 $this->id = 'dhlpwc'; 39 $this->method_title = __('DHL eCommerce for WooCommerce', 'dhlpwc');39 $this->method_title = __('DHL eCommerce (Benelux) for WooCommerce', 'dhlpwc'); 40 40 $this->method_description = __('This is the official DHL Plugin for WooCommerce in WordPress. Do you have a WooCommerce webshop and are you looking for an easy way to process shipments within the Netherlands and abroad? This plugin offers you many options. You can easily create shipping labels and offer multiple delivery options in your webshop. Set up your account below.', 'dhlpwc'); 41 41 $this->instance_id = absint( $instance_id ); … … 1087 1087 } 1088 1088 1089 $added_rate = false; 1090 $fallbackPreset = false; 1089 1091 foreach ($presets as $data) { 1090 1091 1092 $preset = new DHLPWC_Model_Meta_Shipping_Preset($data); 1093 if ($data['frontend_id'] === 'fallback') { 1094 $fallbackPreset = $preset; 1095 continue; 1096 } 1092 1097 1093 1098 $check_allowed_options = true; … … 1149 1154 1150 1155 if (!$this->disable_condition($preset->setting_id, $package)) { 1156 $added_rate = true; 1151 1157 $this->add_rate(array( 1152 1158 'id' => 'dhlpwc-' . $preset->frontend_id, … … 1156 1162 )); 1157 1163 } 1158 1159 1164 } 1165 } 1166 1167 if (!$added_rate && $fallbackPreset) { 1168 $meta_data = array(); 1169 if ($sort_position = $this->get_option('sort_position_' . $preset->setting_id)) { 1170 $meta_data = array('sort_position' => $sort_position); 1171 } 1172 1173 $this->add_rate(array( 1174 'id' => 'dhlpwc-' . $fallbackPreset->frontend_id, 1175 'label' => __($fallbackPreset->title, 'dhlpwc'), 1176 'cost' => $this->calculate_cost($package, $preset->setting_id), 1177 'meta_data' => $meta_data, 1178 )); 1160 1179 } 1161 1180 } -
dhlpwc/trunk/languages/dhlpwc-nl_BE.po
r2995038 r3093985 180 180 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:54 181 181 #: includes/model/woocommerce/settings/class-dhlpwc-model-woocommerce-settings-shipping-method.php:39 182 msgid "DHL eCommerce for WooCommerce"183 msgstr "DHL eCommerce in WooCommerce"182 msgid "DHL eCommerce (Benelux) for WooCommerce" 183 msgstr "DHL eCommerce (Benelux) in WooCommerce" 184 184 185 185 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:53 … … 299 299 300 300 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:305 301 msgid "View DHL eCommerce for WooCommerce settings"302 msgstr "DHL eCommerce in WooCommerce informatie"301 msgid "View DHL eCommerce (Benelux) for WooCommerce settings" 302 msgstr "DHL eCommerce (Benelux) in WooCommerce informatie" 303 303 304 304 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:305 … … 1560 1560 1561 1561 #: includes/view/admin/migrate.php:10 1562 msgid "DHL eCommerce for WooCommerce notice"1563 msgstr "DHL eCommerce in WooCommerce informatie"1562 msgid "DHL eCommerce (Benelux) for WooCommerce notice" 1563 msgstr "DHL eCommerce (Benelux) in WooCommerce informatie" 1564 1564 1565 1565 #: includes/view/admin/migrate.php:12 … … 1632 1632 1633 1633 #: includes/view/admin/migrate.php:39 1634 msgid "Click here to install DHL eCommerce for WooCommerce."1635 msgstr "Klik hier om DHL eCommerce for WooCommerce te installeren."1634 msgid "Click here to install DHL eCommerce (Benelux) for WooCommerce." 1635 msgstr "Klik hier om DHL eCommerce (Benelux) for WooCommerce te installeren." 1636 1636 1637 1637 #: includes/view/admin/migrate.php:42 -
dhlpwc/trunk/languages/dhlpwc-nl_NL.po
r2995038 r3093985 180 180 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:54 181 181 #: includes/model/woocommerce/settings/class-dhlpwc-model-woocommerce-settings-shipping-method.php:39 182 msgid "DHL eCommerce for WooCommerce"183 msgstr "DHL eCommerce in WooCommerce"182 msgid "DHL eCommerce (Benelux) for WooCommerce" 183 msgstr "DHL eCommerce (Benelux) in WooCommerce" 184 184 185 185 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:53 … … 299 299 300 300 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:305 301 msgid "View DHL eCommerce for WooCommerce settings"302 msgstr "DHL eCommerce in WooCommerce informatie"301 msgid "View DHL eCommerce (Benelux) for WooCommerce settings" 302 msgstr "DHL eCommerce (Benelux) in WooCommerce informatie" 303 303 304 304 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:305 … … 1560 1560 1561 1561 #: includes/view/admin/migrate.php:10 1562 msgid "DHL eCommerce for WooCommerce notice"1563 msgstr "DHL eCommerce in WooCommerce informatie"1562 msgid "DHL eCommerce (Benelux) for WooCommerce notice" 1563 msgstr "DHL eCommerce (Benelux) in WooCommerce informatie" 1564 1564 1565 1565 #: includes/view/admin/migrate.php:12 … … 1632 1632 1633 1633 #: includes/view/admin/migrate.php:39 1634 msgid "Click here to install DHL eCommerce for WooCommerce."1635 msgstr "Klik hier om DHL eCommerce for WooCommerce te installeren."1634 msgid "Click here to install DHL eCommerce (Benelux) for WooCommerce." 1635 msgstr "Klik hier om DHL eCommerce (Benelux) for WooCommerce te installeren." 1636 1636 1637 1637 #: includes/view/admin/migrate.php:42 -
dhlpwc/trunk/languages/dhlpwc.pot
r2995038 r3093985 180 180 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:54 181 181 #: includes/model/woocommerce/settings/class-dhlpwc-model-woocommerce-settings-shipping-method.php:39 182 msgid "DHL eCommerce for WooCommerce"182 msgid "DHL eCommerce (Benelux) for WooCommerce" 183 183 msgstr "" 184 184 … … 298 298 299 299 #: includes/controller/admin/class-dhlpwc-controller-admin-settings.php:305 300 msgid "View DHL eCommerce for WooCommerce settings"300 msgid "View DHL eCommerce (Benelux) for WooCommerce settings" 301 301 msgstr "" 302 302 … … 1472 1472 1473 1473 #: includes/view/admin/migrate.php:10 1474 msgid "DHL eCommerce for WooCommerce notice"1474 msgid "DHL eCommerce (Benelux) for WooCommerce notice" 1475 1475 msgstr "" 1476 1476 … … 1537 1537 1538 1538 #: includes/view/admin/migrate.php:39 1539 msgid "Click here to install DHL eCommerce for WooCommerce."1539 msgid "Click here to install DHL eCommerce (Benelux) for WooCommerce." 1540 1540 msgstr "" 1541 1541 -
dhlpwc/trunk/readme.txt
r3073147 r3093985 1 === DHL eCommerce for WooCommerce ===1 === DHL eCommerce (Benelux) for WooCommerce === 2 2 Contributors: dhlparcel, dhlsupport, shindhl, ronoerlemans, dennisdhl 3 Tags: DHL, DHL Parcel, DHL Parcel for WooCommerce, DHLParcel, DHL Parcel NL, DHL Parcel Benelux, WooCommerce, Shipping, Shipping labels, Shipping rates, DHL eCommerce, DHL eCommerce for WooCommerce, DHLeCommerce, DHL eCommerce NL, DHL eCommerce Benelux3 Tags: DHL, DHL eCommerce, WooCommerce, Shipping, Shipping rates 4 4 Requires at least: 4.7.16 5 5 Requires PHP: 5.6 6 Tested up to: 6. 27 Stable tag: 2.1. 16 Tested up to: 6.5.2 7 Stable tag: 2.1.2 8 8 WC requires at least: 3.0.0 9 WC tested up to: 8. 5.29 WC tested up to: 8.6.1 10 10 License: GPL v3 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 15 15 == Description == 16 16 17 Use the free official DHL eCommerce for WooCommerce plugin to professionalize your online store frontstage and behind the scenes. Manage your shipments easily. Offer visitors a unique experience by tailoring services to your business. Whether you process orders individually or a hundred at a time: you always have the right labels ready as soon as you want them. 18 19 *Please note that this plug-in can be used by online stores that ship orders from the Benelux region.* 17 Use the free official DHL eCommerce (Benelux) for WooCommerce plugin to professionalize your online store frontstage and behind the scenes. Manage your shipments easily. Offer visitors a unique experience by tailoring services to your business. Whether you process orders individually or a hundred at a time: you always have the right labels ready as soon as you want them. 18 19 *Please note that this plug-in can only be used by online stores that ship orders from the following regions:* 20 * Netherlands 21 * Belgium 22 * Luxembourg 20 23 21 24 = Benefits & Features = … … 54 57 == Changelog == 55 58 59 = 2.1.2 = 60 - Added a new fallback shipping method 61 - Updated support email address 62 - Updated the description to indicate this plugin is only for Benelux users 63 - Fixed long messages in label creation screen being cut off screen 64 56 65 = 2.1.1 = 57 66 - This release has no code changes except for an updated version number to reflect Gutenberg changes … … 408 417 == Frequently Asked Questions == 409 418 410 Do you have any questions about our WooCommerce plug-in? We are ready to assist you and we will try to provide you with an answer as soon as possible. In need of a quick solution? See if your question is in the shortlist below or check our [manual](https://www.dhlparcel.nl/sites/default/files/content/PDF/Manual_WooCommerce_plug-in_EN.pdf). If you didn’t find what you were looking for, we will gladly assist you if you send us an [e-mail](mailto: cas.parcel@dhl.com).419 Do you have any questions about our WooCommerce plug-in? We are ready to assist you and we will try to provide you with an answer as soon as possible. In need of a quick solution? See if your question is in the shortlist below or check our [manual](https://www.dhlparcel.nl/sites/default/files/content/PDF/Manual_WooCommerce_plug-in_EN.pdf). If you didn’t find what you were looking for, we will gladly assist you if you send us an [e-mail](mailto:it.cas@dhl.com). 411 420 412 421 = How to get started = … … 446 455 = Migrating from DHL for WooCommerce = 447 456 448 If you were using DHL for WooCommerce plugin previously, this plugin will continue using the same settings. No additional configuration is required, but we do recommend disabling the original DHL for WooCommerce plugin after verifying everything works with DHL eCommerce for WooCommerce.457 If you were using DHL for WooCommerce plugin previously, this plugin will continue using the same settings. No additional configuration is required, but we do recommend disabling the original DHL for WooCommerce plugin after verifying everything works with DHL eCommerce (Benelux) for WooCommerce. 449 458 450 459 == Upgrade Notice ==
Note: See TracChangeset
for help on using the changeset viewer.