Version Description
- 2022-09-19 = Fixed group methods in WooCommerce 6.9.2
Download this release
Release Info
Developer | octolize |
Plugin | Flexible Shipping for WooCommerce |
Version | 4.14.1 |
Comparing to | |
See all releases |
Code changes from version 4.14.0 to 4.14.1
- classes/table-rate/shipping-method.php +8 -0
- classes/table-rate/views/html-shipping-method-settings.php +230 -0
- flexible-shipping.php +2 -2
- lang/flexible-shipping.pot +82 -34
- readme.txt +4 -1
- vendor_prefixed/wpdesk/wp-wpdesk-tracker-deactivation/src/WPDesk/Tracker/Deactivation/views/scripts.php +1 -1
classes/table-rate/shipping-method.php
CHANGED
@@ -218,6 +218,14 @@ class WPDesk_Flexible_Shipping extends WC_Shipping_Method {
|
|
218 |
return $this->plugin_id . $this->id . '_' . $key;
|
219 |
}
|
220 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
public function get_shipping_methods( $enabled = false ) {
|
222 |
$shipping_methods = $this->get_option_shipping_methods();
|
223 |
$shipping_method_order = get_option( $this->shipping_method_order_option, array() );
|
218 |
return $this->plugin_id . $this->id . '_' . $key;
|
219 |
}
|
220 |
|
221 |
+
public function generate_shipping_methods_html( $key, $data ) {
|
222 |
+
$shipping_methods = $this->get_shipping_methods();
|
223 |
+
$shipping_method_order = $this->get_shipping_method_order();
|
224 |
+
ob_start();
|
225 |
+
include __DIR__ . '/views/html-shipping-method-settings.php';
|
226 |
+
return ob_get_clean();
|
227 |
+
}
|
228 |
+
|
229 |
public function get_shipping_methods( $enabled = false ) {
|
230 |
$shipping_methods = $this->get_option_shipping_methods();
|
231 |
$shipping_method_order = get_option( $this->shipping_method_order_option, array() );
|
classes/table-rate/views/html-shipping-method-settings.php
ADDED
@@ -0,0 +1,230 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php if ( ! defined( 'ABSPATH' ) ) {
|
2 |
+
exit;
|
3 |
+
} ?>
|
4 |
+
<tr valign="top">
|
5 |
+
<td class="forminp" style="padding-left:0;padding-right:0;">
|
6 |
+
<fieldset>
|
7 |
+
<legend class="screen-reader-text"><span><?php echo wp_kses_post( $data['title'] ); ?></span></legend>
|
8 |
+
|
9 |
+
<table class="flexible_shipping_methods wc_shipping widefat wp-list-table" cellspacing="0">
|
10 |
+
<thead>
|
11 |
+
<tr>
|
12 |
+
<th class="sort"> </th>
|
13 |
+
<th class="title"><?php esc_html_e( 'Title', 'flexible-shipping' ); ?></th>
|
14 |
+
<th class="status"><?php esc_html_e( 'Enabled', 'flexible-shipping' ); ?></th>
|
15 |
+
<th class="visibility"><?php esc_html_e( 'Visibility', 'flexible-shipping' ); ?></th>
|
16 |
+
<th class="default"><?php esc_html_e( 'Default', 'flexible-shipping' ); ?></th>
|
17 |
+
<th class="integration"><?php esc_html_e( 'Integration', 'flexible-shipping' ); ?></th>
|
18 |
+
<th class="select check-column"><input type="checkbox" class="tips checkbox-select-all"
|
19 |
+
value="1"
|
20 |
+
data-tip="<?php esc_attr_e( 'Select all', 'flexible-shipping' ); ?>"/>
|
21 |
+
</th>
|
22 |
+
</tr>
|
23 |
+
</thead>
|
24 |
+
<tbody>
|
25 |
+
<?php if ( isset( $shipping_method_order ) && is_array( $shipping_method_order ) ) : ?>
|
26 |
+
<?php foreach ( $shipping_method_order as $shipping_method_id ) : ?>
|
27 |
+
<?php $shipping_method = $shipping_methods[ $shipping_method_id ]; ?>
|
28 |
+
<?php $tr_class = ''; ?>
|
29 |
+
<?php
|
30 |
+
if ( isset( $_GET['added'] ) && sanitize_key( $_GET['added'] ) == $shipping_method_id ) {
|
31 |
+
$tr_class = 'highlight';
|
32 |
+
}
|
33 |
+
if ( isset( $_GET['updated'] ) && sanitize_key( $_GET['updated'] ) == $shipping_method_id ) {
|
34 |
+
$tr_class = 'highlight';
|
35 |
+
}
|
36 |
+
?>
|
37 |
+
<tr id="method_<?php echo esc_attr( $shipping_method_id ); ?>" class="<?php echo esc_attr( $tr_class ); ?>">
|
38 |
+
<td width="1%" class="sort">
|
39 |
+
<input type="hidden"
|
40 |
+
name="method_order[<?php echo esc_attr( $shipping_method['id'] ); ?>]"
|
41 |
+
value="<?php echo esc_attr( $shipping_method['id'] ); ?>"/>
|
42 |
+
</td>
|
43 |
+
<td class="title">
|
44 |
+
<a data-qa-id="shipping-method-<?php echo esc_attr( $shipping_method['method_title'] ); ?>"
|
45 |
+
href="<?php echo esc_url( add_query_arg( 'method_id', $shipping_method_id, add_query_arg( 'action', 'edit' ) ) ); ?>">
|
46 |
+
<strong><?php echo esc_html( $shipping_method['method_title'] ); ?></strong>
|
47 |
+
</a>
|
48 |
+
<?php if ( isset( $shipping_method['method_description'] ) && $shipping_method['method_description'] != '' ) : ?>
|
49 |
+
(<?php echo esc_html( $shipping_method['method_description'] ); ?>)
|
50 |
+
<?php endif; ?>
|
51 |
+
</td>
|
52 |
+
<td width="1%" class="status">
|
53 |
+
<?php if ( isset( $shipping_method['method_enabled'] ) && 'yes' === $shipping_method['method_enabled'] ) : ?>
|
54 |
+
<span class="status-enabled tips"
|
55 |
+
data-tip="<?php esc_attr_e( 'yes', 'flexible-shipping' ); ?>"><?php esc_html_e( 'yes', 'flexible-shipping' ); ?></span>
|
56 |
+
<?php else : ?>
|
57 |
+
<span class="na">-</span>
|
58 |
+
<?php endif; ?>
|
59 |
+
</td>
|
60 |
+
<td width="1%" class="default visibility">
|
61 |
+
<?php if ( isset( $shipping_method['method_visibility'] ) && 'yes' === $shipping_method['method_visibility'] ) : ?>
|
62 |
+
<span class="status-enabled tips"
|
63 |
+
data-tip="<?php esc_attr_e( 'Show only for logged in users', 'flexible-shipping' ); ?>"><?php esc_html_e( 'yes', 'flexible-shipping' ); ?></span>
|
64 |
+
<?php else : ?>
|
65 |
+
<span class="na tips"
|
66 |
+
data-tip="<?php esc_attr_e( 'Show for all users', 'flexible-shipping' ); ?>">-</span>
|
67 |
+
<?php endif; ?>
|
68 |
+
</td>
|
69 |
+
<td width="1%" class="default">
|
70 |
+
<?php if ( 'yes' === $shipping_method['method_default'] ) : ?>
|
71 |
+
<span class="status-enabled tips"
|
72 |
+
data-tip="<?php esc_attr_e( 'yes', 'flexible-shipping' ); ?>"><?php esc_html_e( 'yes', 'flexible-shipping' ); ?></span>
|
73 |
+
<?php else : ?>
|
74 |
+
<span class="na">-</span>
|
75 |
+
<?php endif; ?>
|
76 |
+
</td>
|
77 |
+
<?php echo wp_kses_post( apply_filters( 'flexible_shipping_method_integration_col', '<td width="1%" class="integration default">-</td>', $shipping_method ) ); ?>
|
78 |
+
<td width="1%" class="select check-column" nowrap>
|
79 |
+
<input type="checkbox" class="tips checkbox-select"
|
80 |
+
value="<?php echo esc_attr( $shipping_method['id'] ); ?>"
|
81 |
+
data-tip="<?php echo esc_html( $shipping_method['method_title'] ); ?>"/>
|
82 |
+
</td>
|
83 |
+
</tr>
|
84 |
+
<?php endforeach; ?>
|
85 |
+
<?php endif; ?>
|
86 |
+
</tbody>
|
87 |
+
<tfoot>
|
88 |
+
<tr>
|
89 |
+
<th> </th>
|
90 |
+
<th colspan="8"><span
|
91 |
+
class="description"><?php esc_html_e( 'Drag and drop the above shipment methods to control their display order. Confirm by clicking Save changes button below.', 'flexible-shipping' ); ?></span>
|
92 |
+
</th>
|
93 |
+
</tr>
|
94 |
+
<tr>
|
95 |
+
<th> </th>
|
96 |
+
<th colspan="8">
|
97 |
+
<button id="flexible_shipping_remove_selected" class="button"
|
98 |
+
disabled><?php esc_html_e( 'Remove selected', 'flexible-shipping' ); ?></button>
|
99 |
+
<div class="flexilble_shipping_export_import">
|
100 |
+
<input id="flexible_shipping_import_file" type="file" name="import_file"
|
101 |
+
style="display:none;" accept=".csv,.json"/>
|
102 |
+
<input id="flexible_shipping_import_action" type="hidden" name="import_action"
|
103 |
+
value="0"/>
|
104 |
+
<button id="flexible_shipping_import_cancel" class="button"
|
105 |
+
style="display:none;"><?php esc_html_e( 'Cancel import', 'flexible-shipping' ); ?></button>
|
106 |
+
<input id="flexible_shipping_do_import" style="display:none;"
|
107 |
+
class="button button-primary"
|
108 |
+
data-instance-id="<?php echo esc_attr( isset( $_GET['instance_id'] ) ? sanitize_key( $_GET['instance_id'] ) : '1' ); ?>"
|
109 |
+
data-nonce="<?php echo esc_attr( wp_create_nonce( 'flexible_shipping' ) ); ?>" type="submit"
|
110 |
+
value="<?php esc_attr_e( 'Import', 'flexible-shipping' ); ?>"/>
|
111 |
+
<button id="flexible_shipping_import" class="button"
|
112 |
+
data-instance-id="<?php isset( $_GET['instance_id'] ) ? sanitize_key( $_GET['instance_id'] ) : '1'; ?>"
|
113 |
+
data-nonce="<?php echo esc_attr( wp_create_nonce( 'flexible_shipping' ) ); ?>"><?php esc_html_e( 'Import', 'flexible-shipping' ); ?></button>
|
114 |
+
<?php do_action( 'flexible_shipping_actions_row' ); ?>
|
115 |
+
</div>
|
116 |
+
<div style="clear:both;"></div>
|
117 |
+
</th>
|
118 |
+
</tr>
|
119 |
+
</tfoot>
|
120 |
+
</table>
|
121 |
+
|
122 |
+
<?php echo wp_kses_post( $this->get_description_html( $data ) ); ?>
|
123 |
+
</fieldset>
|
124 |
+
</td>
|
125 |
+
</tr>
|
126 |
+
<script type="text/javascript">
|
127 |
+
<?php
|
128 |
+
if ( version_compare( WC()->version, '2.6.0', '>=' ) ) :
|
129 |
+
$zone = WC_Shipping_Zones::get_zone_by( 'instance_id', sanitize_key( $_GET['instance_id'] ) );
|
130 |
+
$shipping_method_woo = WC_Shipping_Zones::get_shipping_method( sanitize_key( $_GET['instance_id'] ) );
|
131 |
+
$content = '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=shipping' ) . '">' . __( 'Shipping Zones', 'flexible-shipping' ) . '</a> > ';
|
132 |
+
$content .= '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=shipping&zone_id=' . absint( $zone->get_id() ) ) . '">' . esc_html( $zone->get_zone_name() ) . '</a> >';
|
133 |
+
$content .= esc_html( $shipping_method_woo->get_title() );
|
134 |
+
?>
|
135 |
+
jQuery('#mainform h2').first().replaceWith('<h2>' + '<?php echo wp_kses_post( $content ); ?>' + '</h2>');
|
136 |
+
|
137 |
+
<?php
|
138 |
+
global $wp;
|
139 |
+
$current_url = 'admin.php?page=wc-settings&tab=shipping&instance_id=' . sanitize_key( $_GET['instance_id'] );
|
140 |
+
?>
|
141 |
+
|
142 |
+
jQuery('#mainform').attr('action', '<?php echo esc_url( $current_url ); ?>');
|
143 |
+
<?php
|
144 |
+
endif;
|
145 |
+
?>
|
146 |
+
|
147 |
+
jQuery("input.checkbox-select-all").click(function () {
|
148 |
+
if (jQuery(this).is(':checked')) {
|
149 |
+
jQuery('input.checkbox-select').prop('checked', true);
|
150 |
+
} else {
|
151 |
+
jQuery('input.checkbox-select').prop('checked', false);
|
152 |
+
}
|
153 |
+
})
|
154 |
+
|
155 |
+
/**
|
156 |
+
* Enable Bulk Action Buttons when at least one Shipping Method is selected
|
157 |
+
*
|
158 |
+
*/
|
159 |
+
jQuery('.flexible_shipping_methods input[type="checkbox"]').click(function () {
|
160 |
+
jQuery('#flexible_shipping_export_selected, #flexible_shipping_remove_selected').attr('disabled', !jQuery('.flexible_shipping_methods td input[type="checkbox"]').is(':checked'));
|
161 |
+
});
|
162 |
+
|
163 |
+
jQuery('#flexible_shipping_remove_selected').click(function () {
|
164 |
+
var empty_url = '<?php echo add_query_arg( 'methods_id', '', add_query_arg( 'action', 'delete', admin_url( 'admin.php?page=wc-settings&tab=shipping&instance_id=' . sanitize_key( $_GET['instance_id'] ) ) ) ); // phpcs:ignore ?>';
|
165 |
+
var url = empty_url;
|
166 |
+
var first = true;
|
167 |
+
jQuery('input.checkbox-select').each(function () {
|
168 |
+
if (jQuery(this).is(':checked')) {
|
169 |
+
if (!first) {
|
170 |
+
url = url + ',';
|
171 |
+
} else {
|
172 |
+
url = url + '=';
|
173 |
+
}
|
174 |
+
url = url + jQuery(this).val();
|
175 |
+
first = false;
|
176 |
+
}
|
177 |
+
})
|
178 |
+
if (first) {
|
179 |
+
alert('<?php esc_attr_e( 'Please select shipment methods to remove', 'flexible-shipping' ); ?>');
|
180 |
+
return false;
|
181 |
+
}
|
182 |
+
if (url !== empty_url) {
|
183 |
+
jQuery('#flexible_shipping_remove_selected').prop('disabled', true);
|
184 |
+
jQuery('.woocommerce-save-button').prop('disabled', true);
|
185 |
+
|
186 |
+
window.location.href = url;
|
187 |
+
}
|
188 |
+
return false;
|
189 |
+
})
|
190 |
+
|
191 |
+
jQuery('#flexible_shipping_import').click(function () {
|
192 |
+
jQuery(this).hide();
|
193 |
+
jQuery('#flexible_shipping_do_import').show();
|
194 |
+
jQuery('#flexible_shipping_import_file').show();
|
195 |
+
jQuery('#flexible_shipping_import_cancel').show();
|
196 |
+
jQuery('input[name=save]').prop('disabled', true);
|
197 |
+
return false;
|
198 |
+
})
|
199 |
+
|
200 |
+
jQuery('#flexible_shipping_import_cancel').click(function () {
|
201 |
+
jQuery(this).hide();
|
202 |
+
jQuery('#flexible_shipping_do_import').hide();
|
203 |
+
jQuery('#flexible_shipping_import_file').hide();
|
204 |
+
jQuery('#flexible_shipping_import_cancel').hide();
|
205 |
+
jQuery('#flexible_shipping_import').show();
|
206 |
+
jQuery('input[name=save]').prop('disabled', false);
|
207 |
+
return false;
|
208 |
+
})
|
209 |
+
|
210 |
+
jQuery('#flexible_shipping_do_import').click(function () {
|
211 |
+
if (jQuery('#flexible_shipping_import_file').val() == '') {
|
212 |
+
alert('<?php esc_attr_e( 'Select file to import', 'flexible-shipping' ); ?>');
|
213 |
+
return false;
|
214 |
+
}
|
215 |
+
jQuery('#flexible_shipping_import_action').val('1');
|
216 |
+
jQuery('input[name=save]').prop('disabled', false);
|
217 |
+
jQuery('.woocommerce-save-button').click();
|
218 |
+
return false;
|
219 |
+
})
|
220 |
+
|
221 |
+
<?php
|
222 |
+
if ( isset( $_POST['import_action'] ) && sanitize_key( $_POST['import_action'] ) == '1' ) { // phpcs:ignore
|
223 |
+
?>
|
224 |
+
jQuery('.updated.inline:lt(1)').hide();
|
225 |
+
jQuery('.updated.inline:lt(2)').hide();
|
226 |
+
<?php
|
227 |
+
}
|
228 |
+
?>
|
229 |
+
</script>
|
230 |
+
<?php
|
flexible-shipping.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Flexible Shipping
|
4 |
* Plugin URI: https://wordpress.org/plugins/flexible-shipping/
|
5 |
* Description: Create additional shipment methods in WooCommerce and enable pricing based on cart weight or total.
|
6 |
-
* Version: 4.14.
|
7 |
* Author: Octolize
|
8 |
* Author URI: https://octol.io/fs-author
|
9 |
* Text Domain: flexible-shipping
|
@@ -38,7 +38,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
38 |
} // Exit if accessed directly
|
39 |
|
40 |
/* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
|
41 |
-
$plugin_version = '4.14.
|
42 |
|
43 |
$plugin_name = 'Flexible Shipping';
|
44 |
$product_id = 'Flexible Shipping';
|
3 |
* Plugin Name: Flexible Shipping
|
4 |
* Plugin URI: https://wordpress.org/plugins/flexible-shipping/
|
5 |
* Description: Create additional shipment methods in WooCommerce and enable pricing based on cart weight or total.
|
6 |
+
* Version: 4.14.1
|
7 |
* Author: Octolize
|
8 |
* Author URI: https://octol.io/fs-author
|
9 |
* Text Domain: flexible-shipping
|
38 |
} // Exit if accessed directly
|
39 |
|
40 |
/* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
|
41 |
+
$plugin_version = '4.14.1';
|
42 |
|
43 |
$plugin_name = 'Flexible Shipping';
|
44 |
$product_id = 'Flexible Shipping';
|
lang/flexible-shipping.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the Flexible Shipping plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Flexible Shipping 4.14.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexible-shipping\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2022-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: flexible-shipping\n"
|
@@ -299,36 +299,36 @@ msgstr ""
|
|
299 |
msgid "Add New"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: classes/table-rate/shipping-method.php:
|
303 |
msgid "Flexible Shipping: security check error. Shipping method order not saved!"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: classes/table-rate/shipping-method.php:
|
307 |
msgid "New Shipping Method"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: classes/table-rate/shipping-method.php:
|
311 |
msgid "Edit Shipping Method"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: classes/table-rate/shipping-method.php:
|
315 |
-
#: classes/table-rate/shipping-method.php:
|
316 |
msgid "Shipping method %s added."
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: classes/table-rate/shipping-method.php:
|
320 |
msgid "Shipping method %s deleted."
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: classes/table-rate/shipping-method.php:
|
324 |
msgid "Shipping method not found."
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: classes/table-rate/shipping-method.php:
|
328 |
msgid "Shipping method %s updated."
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: classes/table-rate/shipping-method.php:
|
332 |
#: src/WPDesk/FS/TableRate/ShippingMethodSingle.php:277
|
333 |
msgid "Shipping cost added."
|
334 |
msgstr ""
|
@@ -405,6 +405,7 @@ msgid "Name"
|
|
405 |
msgstr ""
|
406 |
|
407 |
#: classes/table-rate/views/html-custom-services.php:17
|
|
|
408 |
msgid "Enabled"
|
409 |
msgstr ""
|
410 |
|
@@ -418,6 +419,7 @@ msgid "All shippings"
|
|
418 |
msgstr ""
|
419 |
|
420 |
#: classes/table-rate/views/html-orders-filter-form.php:5
|
|
|
421 |
#: src/WPDesk/FS/TableRate/ShippingMethod/CommonMethodSettings.php:189
|
422 |
msgid "Integration"
|
423 |
msgstr ""
|
@@ -427,11 +429,78 @@ msgid "Shipment status"
|
|
427 |
msgstr ""
|
428 |
|
429 |
#: classes/table-rate/views/html-shipping-method-scripts.php:25
|
|
|
430 |
#: src/WPDesk/FS/Info/WooCommerceABC.php:33
|
431 |
#: src/WPDesk/FS/Info/WooCommerceABCPL.php:37
|
432 |
msgid "Shipping Zones"
|
433 |
msgstr ""
|
434 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
435 |
#: classes/table-rate/views/html-shipping-settings-advanced.php:20
|
436 |
msgid "How to use Flexible Shipping?"
|
437 |
msgstr ""
|
@@ -980,17 +1049,6 @@ msgstr ""
|
|
980 |
msgid " matched: %1$s"
|
981 |
msgstr ""
|
982 |
|
983 |
-
#. Translators: matched condition.
|
984 |
-
#. Translators: add method.
|
985 |
-
#. Translators: free shipping.
|
986 |
-
#: src/WPDesk/FS/TableRate/Rule/Condition/AbstractCondition.php:156
|
987 |
-
#: src/WPDesk/FS/TableRate/Rule/Condition/None.php:64
|
988 |
-
#: src/WPDesk/FS/TableRate/ShippingMethod/RateCalculator.php:252
|
989 |
-
#: src/WPDesk/FS/TableRate/ShippingMethod/RateCalculator.php:258
|
990 |
-
#: src/WPDesk/FS/TableRate/ShippingMethod/RateCalculator.php:269
|
991 |
-
msgid "yes"
|
992 |
-
msgstr ""
|
993 |
-
|
994 |
#. Translators: matched condition.
|
995 |
#. Translators: add method.
|
996 |
#. Translators: free shipping.
|
@@ -1284,6 +1342,7 @@ msgstr ""
|
|
1284 |
msgid " Matched items weight: %1$s"
|
1285 |
msgstr ""
|
1286 |
|
|
|
1287 |
#: src/WPDesk/FS/TableRate/Rule/Rule.php:159
|
1288 |
msgid "Rule costs:"
|
1289 |
msgstr ""
|
@@ -1295,6 +1354,7 @@ msgstr ""
|
|
1295 |
|
1296 |
#: src/WPDesk/FS/TableRate/Rule/SpecialAction/None.php:19
|
1297 |
#: src/WPDesk/FS/TableRate/ShippingMethod/CommonMethodSettings.php:181
|
|
|
1298 |
msgid "None"
|
1299 |
msgstr ""
|
1300 |
|
@@ -1367,18 +1427,6 @@ msgstr ""
|
|
1367 |
msgid "Choose Package value to exclude virtual products from rules calculation."
|
1368 |
msgstr ""
|
1369 |
|
1370 |
-
#: src/WPDesk/FS/TableRate/ShippingMethod/CommonMethodSettings.php:130
|
1371 |
-
msgid "Visibility"
|
1372 |
-
msgstr ""
|
1373 |
-
|
1374 |
-
#: src/WPDesk/FS/TableRate/ShippingMethod/CommonMethodSettings.php:133
|
1375 |
-
msgid "Show only for logged in users"
|
1376 |
-
msgstr ""
|
1377 |
-
|
1378 |
-
#: src/WPDesk/FS/TableRate/ShippingMethod/CommonMethodSettings.php:137
|
1379 |
-
msgid "Default"
|
1380 |
-
msgstr ""
|
1381 |
-
|
1382 |
#: src/WPDesk/FS/TableRate/ShippingMethod/CommonMethodSettings.php:140
|
1383 |
msgid "Check the box to set this option as the default selected choice on the cart page."
|
1384 |
msgstr ""
|
2 |
# This file is distributed under the same license as the Flexible Shipping plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Flexible Shipping 4.14.1\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexible-shipping\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2022-09-29T15:24:50+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: flexible-shipping\n"
|
299 |
msgid "Add New"
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: classes/table-rate/shipping-method.php:356
|
303 |
msgid "Flexible Shipping: security check error. Shipping method order not saved!"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: classes/table-rate/shipping-method.php:424
|
307 |
msgid "New Shipping Method"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: classes/table-rate/shipping-method.php:427
|
311 |
msgid "Edit Shipping Method"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: classes/table-rate/shipping-method.php:437
|
315 |
+
#: classes/table-rate/shipping-method.php:480
|
316 |
msgid "Shipping method %s added."
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: classes/table-rate/shipping-method.php:463
|
320 |
msgid "Shipping method %s deleted."
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: classes/table-rate/shipping-method.php:466
|
324 |
msgid "Shipping method not found."
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: classes/table-rate/shipping-method.php:492
|
328 |
msgid "Shipping method %s updated."
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: classes/table-rate/shipping-method.php:562
|
332 |
#: src/WPDesk/FS/TableRate/ShippingMethodSingle.php:277
|
333 |
msgid "Shipping cost added."
|
334 |
msgstr ""
|
405 |
msgstr ""
|
406 |
|
407 |
#: classes/table-rate/views/html-custom-services.php:17
|
408 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:14
|
409 |
msgid "Enabled"
|
410 |
msgstr ""
|
411 |
|
419 |
msgstr ""
|
420 |
|
421 |
#: classes/table-rate/views/html-orders-filter-form.php:5
|
422 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:17
|
423 |
#: src/WPDesk/FS/TableRate/ShippingMethod/CommonMethodSettings.php:189
|
424 |
msgid "Integration"
|
425 |
msgstr ""
|
429 |
msgstr ""
|
430 |
|
431 |
#: classes/table-rate/views/html-shipping-method-scripts.php:25
|
432 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:131
|
433 |
#: src/WPDesk/FS/Info/WooCommerceABC.php:33
|
434 |
#: src/WPDesk/FS/Info/WooCommerceABCPL.php:37
|
435 |
msgid "Shipping Zones"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:13
|
439 |
+
msgid "Title"
|
440 |
+
msgstr ""
|
441 |
+
|
442 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:15
|
443 |
+
#: src/WPDesk/FS/TableRate/ShippingMethod/CommonMethodSettings.php:130
|
444 |
+
msgid "Visibility"
|
445 |
+
msgstr ""
|
446 |
+
|
447 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:16
|
448 |
+
#: src/WPDesk/FS/TableRate/ShippingMethod/CommonMethodSettings.php:137
|
449 |
+
msgid "Default"
|
450 |
+
msgstr ""
|
451 |
+
|
452 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:20
|
453 |
+
msgid "Select all"
|
454 |
+
msgstr ""
|
455 |
+
|
456 |
+
#. Translators: matched condition.
|
457 |
+
#. Translators: add method.
|
458 |
+
#. Translators: free shipping.
|
459 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:55
|
460 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:63
|
461 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:72
|
462 |
+
#: src/WPDesk/FS/TableRate/Rule/Condition/AbstractCondition.php:156
|
463 |
+
#: src/WPDesk/FS/TableRate/Rule/Condition/None.php:64
|
464 |
+
#: src/WPDesk/FS/TableRate/ShippingMethod/RateCalculator.php:252
|
465 |
+
#: src/WPDesk/FS/TableRate/ShippingMethod/RateCalculator.php:258
|
466 |
+
#: src/WPDesk/FS/TableRate/ShippingMethod/RateCalculator.php:269
|
467 |
+
msgid "yes"
|
468 |
+
msgstr ""
|
469 |
+
|
470 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:63
|
471 |
+
#: src/WPDesk/FS/TableRate/ShippingMethod/CommonMethodSettings.php:133
|
472 |
+
msgid "Show only for logged in users"
|
473 |
+
msgstr ""
|
474 |
+
|
475 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:66
|
476 |
+
msgid "Show for all users"
|
477 |
+
msgstr ""
|
478 |
+
|
479 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:91
|
480 |
+
msgid "Drag and drop the above shipment methods to control their display order. Confirm by clicking Save changes button below."
|
481 |
+
msgstr ""
|
482 |
+
|
483 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:98
|
484 |
+
msgid "Remove selected"
|
485 |
+
msgstr ""
|
486 |
+
|
487 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:105
|
488 |
+
msgid "Cancel import"
|
489 |
+
msgstr ""
|
490 |
+
|
491 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:110
|
492 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:113
|
493 |
+
msgid "Import"
|
494 |
+
msgstr ""
|
495 |
+
|
496 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:179
|
497 |
+
msgid "Please select shipment methods to remove"
|
498 |
+
msgstr ""
|
499 |
+
|
500 |
+
#: classes/table-rate/views/html-shipping-method-settings.php:212
|
501 |
+
msgid "Select file to import"
|
502 |
+
msgstr ""
|
503 |
+
|
504 |
#: classes/table-rate/views/html-shipping-settings-advanced.php:20
|
505 |
msgid "How to use Flexible Shipping?"
|
506 |
msgstr ""
|
1049 |
msgid " matched: %1$s"
|
1050 |
msgstr ""
|
1051 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1052 |
#. Translators: matched condition.
|
1053 |
#. Translators: add method.
|
1054 |
#. Translators: free shipping.
|
1342 |
msgid " Matched items weight: %1$s"
|
1343 |
msgstr ""
|
1344 |
|
1345 |
+
#. Translators: items weight.
|
1346 |
#: src/WPDesk/FS/TableRate/Rule/Rule.php:159
|
1347 |
msgid "Rule costs:"
|
1348 |
msgstr ""
|
1354 |
|
1355 |
#: src/WPDesk/FS/TableRate/Rule/SpecialAction/None.php:19
|
1356 |
#: src/WPDesk/FS/TableRate/ShippingMethod/CommonMethodSettings.php:181
|
1357 |
+
#: vendor_prefixed/wpdesk/wp-wpdesk-fs-table-rate/src/Settings/IntegrationSettingsImplementation.php:40
|
1358 |
msgid "None"
|
1359 |
msgstr ""
|
1360 |
|
1427 |
msgid "Choose Package value to exclude virtual products from rules calculation."
|
1428 |
msgstr ""
|
1429 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1430 |
#: src/WPDesk/FS/TableRate/ShippingMethod/CommonMethodSettings.php:140
|
1431 |
msgid "Check the box to set this option as the default selected choice on the cart page."
|
1432 |
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://octol.io/fs-repo-up
|
|
4 |
Tags: table rate, table rate shipping, conditional shipping, free shipping, woocommerce shipping, woocommerce table rate shipping, cart based shipping, weight based shipping, totals based shipping, order based shipping, advanced shipping
|
5 |
Requires at least: 5.7
|
6 |
Tested up to: 6.0
|
7 |
-
Stable tag: 4.14.
|
8 |
Requires PHP: 7.0
|
9 |
License: GPLv3 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -216,6 +216,9 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
|
|
216 |
|
217 |
== Changelog ==
|
218 |
|
|
|
|
|
|
|
219 |
= 4.14.0 - 2022-08-29 =
|
220 |
Added free shipping notice filters: flexible_shipping_free_shipping_notice_text_message and flexible_shipping_free_shipping_notice_text_button_label
|
221 |
|
4 |
Tags: table rate, table rate shipping, conditional shipping, free shipping, woocommerce shipping, woocommerce table rate shipping, cart based shipping, weight based shipping, totals based shipping, order based shipping, advanced shipping
|
5 |
Requires at least: 5.7
|
6 |
Tested up to: 6.0
|
7 |
+
Stable tag: 4.14.1
|
8 |
Requires PHP: 7.0
|
9 |
License: GPLv3 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
216 |
|
217 |
== Changelog ==
|
218 |
|
219 |
+
= 4.14.1 - 2022-09-19 =
|
220 |
+
Fixed group methods in WooCommerce 6.9.2
|
221 |
+
|
222 |
= 4.14.0 - 2022-08-29 =
|
223 |
Added free shipping notice filters: flexible_shipping_free_shipping_notice_text_message and flexible_shipping_free_shipping_notice_text_button_label
|
224 |
|
vendor_prefixed/wpdesk/wp-wpdesk-tracker-deactivation/src/WPDesk/Tracker/Deactivation/views/scripts.php
CHANGED
@@ -32,7 +32,7 @@ if (!\defined('ABSPATH')) {
|
|
32 |
|
33 |
jQuery(document).ready(function(){
|
34 |
|
35 |
-
jQuery("span.deactivate a"
|
36 |
if ( jQuery(this).closest('tr').attr('data-plugin') === '<?php
|
37 |
echo $plugin_file;
|
38 |
?>' ) {
|
32 |
|
33 |
jQuery(document).ready(function(){
|
34 |
|
35 |
+
jQuery(document).on('click', "span.deactivate a", function(e){
|
36 |
if ( jQuery(this).closest('tr').attr('data-plugin') === '<?php
|
37 |
echo $plugin_file;
|
38 |
?>' ) {
|