Flexible Shipping for WooCommerce - Version 4.0.9

Version Description

  • 2021-02-03 =
  • Fixed debug input data for None rule
  • Added support for RTL in Table Rate interface
Download this release

Release Info

Developer wpdesk
Plugin Icon 128x128 Flexible Shipping for WooCommerce
Version 4.0.9
Comparing to
See all releases

Code changes from version 4.0.8 to 4.0.9

assets/css/rules-settings.css CHANGED
@@ -1 +1 @@
1
- .common-css tfoot tr,.common-css thead tr,div.flexible-shipping-rules-settings table.widefat tfoot tr,div.flexible-shipping-rules-settings table.widefat thead tr,tr.flexible-shipping-rule-row tfoot tr,tr.flexible-shipping-rule-row thead tr{background-color:#f8f8f8}.common-css tbody tr td,div.flexible-shipping-rules-settings table.widefat tbody tr td,tr.flexible-shipping-rule-row tbody tr td{padding-top:15px}.common-css tbody tr:nth-child(2n),div.flexible-shipping-rules-settings table.widefat tbody tr:nth-child(2n),tr.flexible-shipping-rule-row tbody tr:nth-child(2n){background-color:#f8f8f8}.common-css tr.current td,div.flexible-shipping-rules-settings table.widefat tr.current td,tr.flexible-shipping-rule-row tr.current td{background-color:inherit}.common-css td,.common-css th,div.flexible-shipping-rules-settings table.widefat td,div.flexible-shipping-rules-settings table.widefat th,tr.flexible-shipping-rule-row td,tr.flexible-shipping-rule-row th{border-right:none;width:auto;vertical-align:top;background-color:transparent}.common-css td.conditions,.common-css th.conditions,div.flexible-shipping-rules-settings table.widefat td.conditions,div.flexible-shipping-rules-settings table.widefat th.conditions,tr.flexible-shipping-rule-row td.conditions,tr.flexible-shipping-rule-row th.conditions{min-width:368px}.common-css td.conditions .condition select.condition,.common-css th.conditions .condition select.condition,div.flexible-shipping-rules-settings table.widefat td.conditions .condition select.condition,div.flexible-shipping-rules-settings table.widefat th.conditions .condition select.condition,tr.flexible-shipping-rule-row td.conditions .condition select.condition,tr.flexible-shipping-rule-row th.conditions .condition select.condition{min-width:155px;max-width:155px}.common-css td.conditions ul li div.add-icon,.common-css th.conditions ul li div.add-icon,div.flexible-shipping-rules-settings table.widefat td.conditions ul li div.add-icon,div.flexible-shipping-rules-settings table.widefat th.conditions ul li div.add-icon,tr.flexible-shipping-rule-row td.conditions ul li div.add-icon,tr.flexible-shipping-rule-row th.conditions ul li div.add-icon{display:none}.common-css td.conditions ul li:last-child div.add-icon,.common-css th.conditions ul li:last-child div.add-icon,div.flexible-shipping-rules-settings table.widefat td.conditions ul li:last-child div.add-icon,div.flexible-shipping-rules-settings table.widefat th.conditions ul li:last-child div.add-icon,tr.flexible-shipping-rule-row td.conditions ul li:last-child div.add-icon,tr.flexible-shipping-rule-row th.conditions ul li:last-child div.add-icon{display:block}.common-css td.costs,.common-css th.costs,div.flexible-shipping-rules-settings table.widefat td.costs,div.flexible-shipping-rules-settings table.widefat th.costs,tr.flexible-shipping-rule-row td.costs,tr.flexible-shipping-rule-row th.costs{min-width:170px;padding-right:15px}.common-css td.costs ul,.common-css th.costs ul,div.flexible-shipping-rules-settings table.widefat td.costs ul,div.flexible-shipping-rules-settings table.widefat th.costs ul,tr.flexible-shipping-rule-row td.costs ul,tr.flexible-shipping-rule-row th.costs ul{display:inline-block;vertical-align:top}.common-css td.special-actions,.common-css th.special-actions,div.flexible-shipping-rules-settings table.widefat td.special-actions,div.flexible-shipping-rules-settings table.widefat th.special-actions,tr.flexible-shipping-rule-row td.special-actions,tr.flexible-shipping-rule-row th.special-actions{padding-right:20px!important}.common-css tbody td,div.flexible-shipping-rules-settings table.widefat tbody td,tr.flexible-shipping-rule-row tbody td{border-bottom:0;padding-right:0;padding-left:10px}.common-css td.cb,.common-css td.drag-handle,.common-css th.cb,.common-css th.drag-handle,div.flexible-shipping-rules-settings table.widefat td.cb,div.flexible-shipping-rules-settings table.widefat td.drag-handle,div.flexible-shipping-rules-settings table.widefat th.cb,div.flexible-shipping-rules-settings table.widefat th.drag-handle,tr.flexible-shipping-rule-row td.cb,tr.flexible-shipping-rule-row td.drag-handle,tr.flexible-shipping-rule-row th.cb,tr.flexible-shipping-rule-row th.drag-handle{min-width:20px;text-align:center;vertical-align:middle;padding-right:10px!important;padding-left:15px}.common-css td.drag-handle,div.flexible-shipping-rules-settings table.widefat td.drag-handle,tr.flexible-shipping-rule-row td.drag-handle{vertical-align:middle}.common-css span.drag-handle,div.flexible-shipping-rules-settings table.widefat span.drag-handle,tr.flexible-shipping-rule-row span.drag-handle{cursor:move}.common-css span.drag-handle:before,div.flexible-shipping-rules-settings table.widefat span.drag-handle:before,tr.flexible-shipping-rule-row span.drag-handle:before{display:block;width:28px;height:28px;border:1px solid #ccd0d4;border-radius:50%;line-height:28px;counter-increment:section;content:counter(section)}.common-css td.cb input,.common-css th.cb input,div.flexible-shipping-rules-settings table.widefat td.cb input,div.flexible-shipping-rules-settings table.widefat th.cb input,tr.flexible-shipping-rule-row td.cb input,tr.flexible-shipping-rule-row th.cb input{margin:0}.common-css td.costs div.MuiFormControl-root,div.flexible-shipping-rules-settings table.widefat td.costs div.MuiFormControl-root,tr.flexible-shipping-rule-row td.costs div.MuiFormControl-root{margin-left:0;padding-left:0}.common-css div.MuiFormControl-root.condition,div.flexible-shipping-rules-settings table.widefat div.MuiFormControl-root.condition,tr.flexible-shipping-rule-row div.MuiFormControl-root.condition{margin-right:15px}.common-css input[type=checkbox],div.flexible-shipping-rules-settings table.widefat input[type=checkbox],tr.flexible-shipping-rule-row input[type=checkbox]{border:1px solid #7e8993;background-color:transparent}.common-css div.rule-buttons,div.flexible-shipping-rules-settings table.widefat div.rule-buttons,tr.flexible-shipping-rule-row div.rule-buttons{float:right}.common-css div.dashicons,div.flexible-shipping-rules-settings table.widefat div.dashicons,tr.flexible-shipping-rule-row div.dashicons{padding:5px 10px;color:transparent;display:block}.common-css tr:hover div.dashicons,div.flexible-shipping-rules-settings table.widefat tr:hover div.dashicons,tr.flexible-shipping-rule-row tr:hover div.dashicons{color:#666}.common-css ul,div.flexible-shipping-rules-settings table.widefat ul,tr.flexible-shipping-rule-row ul{padding:0;margin:0}.common-css ul li,div.flexible-shipping-rules-settings table.widefat ul li,tr.flexible-shipping-rule-row ul li{border-bottom:1px solid #dfdfdf;padding:5px 0 10px;min-height:65px;margin-bottom:0;margin-top:0}.common-css ul li:last-child,div.flexible-shipping-rules-settings table.widefat ul li:last-child,tr.flexible-shipping-rule-row ul li:last-child{border-bottom:none}.common-css tr:hover div.delete-icon,div.flexible-shipping-rules-settings table.widefat tr:hover div.delete-icon,tr.flexible-shipping-rule-row tr:hover div.delete-icon{color:red}.common-css .add-icon:before,div.flexible-shipping-rules-settings table.widefat .add-icon:before,tr.flexible-shipping-rule-row .add-icon:before{content:"\F10F"}.common-css .delete-icon:before,div.flexible-shipping-rules-settings table.widefat .delete-icon:before,tr.flexible-shipping-rule-row .delete-icon:before{content:"\F14F"}.common-css tr:hover div.add-icon,div.flexible-shipping-rules-settings table.widefat tr:hover div.add-icon,tr.flexible-shipping-rule-row tr:hover div.add-icon{color:#00669b}.common-css .MuiFormControl-root,div.flexible-shipping-rules-settings table.widefat .MuiFormControl-root,tr.flexible-shipping-rule-row .MuiFormControl-root{padding:0 5px 0 0;margin-left:0}.common-css div.parameter_max,.common-css div.parameter_min,div.flexible-shipping-rules-settings table.widefat div.parameter_max,div.flexible-shipping-rules-settings table.widefat div.parameter_min,tr.flexible-shipping-rule-row div.parameter_max,tr.flexible-shipping-rule-row div.parameter_min{max-width:145px}.common-css div.cost_per_order,div.flexible-shipping-rules-settings table.widefat div.cost_per_order,tr.flexible-shipping-rule-row div.cost_per_order{max-width:140px}.common-css div.additional-cost-cost,div.flexible-shipping-rules-settings table.widefat div.additional-cost-cost,tr.flexible-shipping-rule-row div.additional-cost-cost{min-width:175px}.common-css div.additional-cost-per,div.flexible-shipping-rules-settings table.widefat div.additional-cost-per,tr.flexible-shipping-rule-row div.additional-cost-per{max-width:80px}.common-css div.costs-buttons,div.flexible-shipping-rules-settings table.widefat div.costs-buttons,tr.flexible-shipping-rule-row div.costs-buttons{float:right}.common-css ul li div.costs-buttons div.add-icon,div.flexible-shipping-rules-settings table.widefat ul li div.costs-buttons div.add-icon,tr.flexible-shipping-rule-row ul li div.costs-buttons div.add-icon{display:none}.common-css ul li:last-child div.costs-buttons div.add-icon,div.flexible-shipping-rules-settings table.widefat ul li:last-child div.costs-buttons div.add-icon,tr.flexible-shipping-rule-row ul li:last-child div.costs-buttons div.add-icon{display:inline-block}.common-css div.single-condition div.wc-enhanced-select,div.flexible-shipping-rules-settings table.widefat div.single-condition div.wc-enhanced-select,tr.flexible-shipping-rule-row div.single-condition div.wc-enhanced-select{width:300px;display:inline-block}.common-css div.single-condition div.wc-enhanced-select input.MuiAutocomplete-input:first-child,div.flexible-shipping-rules-settings table.widefat div.single-condition div.wc-enhanced-select input.MuiAutocomplete-input:first-child,tr.flexible-shipping-rule-row div.single-condition div.wc-enhanced-select input.MuiAutocomplete-input:first-child{width:100%;padding:0}.common-css div.single-condition div.wc-enhanced-select.multiple input.MuiAutocomplete-input,div.flexible-shipping-rules-settings table.widefat div.single-condition div.wc-enhanced-select.multiple input.MuiAutocomplete-input,tr.flexible-shipping-rule-row div.single-condition div.wc-enhanced-select.multiple input.MuiAutocomplete-input{min-width:30px!important;width:0!important}.common-css div.single-condition div.wc-enhanced-select.Mui-focused input.MuiAutocomplete-input,div.flexible-shipping-rules-settings table.widefat div.single-condition div.wc-enhanced-select.Mui-focused input.MuiAutocomplete-input,tr.flexible-shipping-rule-row div.single-condition div.wc-enhanced-select.Mui-focused input.MuiAutocomplete-input{max-width:unset;width:100%}.common-css p.MuiFormHelperText-root,div.flexible-shipping-rules-settings table.widefat p.MuiFormHelperText-root,tr.flexible-shipping-rule-row p.MuiFormHelperText-root{color:rgba(0,0,0,.54);font-size:.75rem;margin:3px 0 0;text-align:left;font-family:Roboto,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.66;letter-spacing:.03333em}.common-css input,div.flexible-shipping-rules-settings table.widefat input,tr.flexible-shipping-rule-row input{padding:0;border:0;outline:0}.common-css select,div.flexible-shipping-rules-settings table.widefat select,tr.flexible-shipping-rule-row select{min-height:32px;background-color:transparent}.common-css input::-webkit-inner-spin-button,.common-css input::-webkit-outer-spin-button,div.flexible-shipping-rules-settings table.widefat input::-webkit-inner-spin-button,div.flexible-shipping-rules-settings table.widefat input::-webkit-outer-spin-button,tr.flexible-shipping-rule-row input::-webkit-inner-spin-button,tr.flexible-shipping-rule-row input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.common-css input[type=number],div.flexible-shipping-rules-settings table.widefat input[type=number],tr.flexible-shipping-rule-row input[type=number]{-moz-appearance:textfield}div.flexible-shipping-rules-settings{counter-reset:section}div.flexible-shipping-rules-settings table.widefat{width:auto;min-width:560px}tr.flexible-shipping-rule-row{cursor:-webkit-grabbing;cursor:grabbing}tr.flexible-shipping-rule-row span.drag-handle:before{content:"?"}
1
+ .common-css tfoot tr,.common-css thead tr,div.flexible-shipping-rules-settings table.widefat tfoot tr,div.flexible-shipping-rules-settings table.widefat thead tr,tr.flexible-shipping-rule-row tfoot tr,tr.flexible-shipping-rule-row thead tr{background-color:#f8f8f8}.common-css tbody tr td,div.flexible-shipping-rules-settings table.widefat tbody tr td,tr.flexible-shipping-rule-row tbody tr td{padding-top:15px}.common-css tbody tr:nth-child(2n),div.flexible-shipping-rules-settings table.widefat tbody tr:nth-child(2n),tr.flexible-shipping-rule-row tbody tr:nth-child(2n){background-color:#f8f8f8}.common-css tr.current td,div.flexible-shipping-rules-settings table.widefat tr.current td,tr.flexible-shipping-rule-row tr.current td{background-color:inherit}.common-css td,.common-css th,div.flexible-shipping-rules-settings table.widefat td,div.flexible-shipping-rules-settings table.widefat th,tr.flexible-shipping-rule-row td,tr.flexible-shipping-rule-row th{border-right:none;width:auto;vertical-align:top;background-color:transparent}.common-css td.conditions,.common-css th.conditions,div.flexible-shipping-rules-settings table.widefat td.conditions,div.flexible-shipping-rules-settings table.widefat th.conditions,tr.flexible-shipping-rule-row td.conditions,tr.flexible-shipping-rule-row th.conditions{min-width:368px}.common-css td.conditions .condition select.condition,.common-css th.conditions .condition select.condition,div.flexible-shipping-rules-settings table.widefat td.conditions .condition select.condition,div.flexible-shipping-rules-settings table.widefat th.conditions .condition select.condition,tr.flexible-shipping-rule-row td.conditions .condition select.condition,tr.flexible-shipping-rule-row th.conditions .condition select.condition{min-width:155px;max-width:155px}.common-css td.conditions ul li div.add-icon,.common-css th.conditions ul li div.add-icon,div.flexible-shipping-rules-settings table.widefat td.conditions ul li div.add-icon,div.flexible-shipping-rules-settings table.widefat th.conditions ul li div.add-icon,tr.flexible-shipping-rule-row td.conditions ul li div.add-icon,tr.flexible-shipping-rule-row th.conditions ul li div.add-icon{display:none}.common-css td.conditions ul li:last-child div.add-icon,.common-css th.conditions ul li:last-child div.add-icon,div.flexible-shipping-rules-settings table.widefat td.conditions ul li:last-child div.add-icon,div.flexible-shipping-rules-settings table.widefat th.conditions ul li:last-child div.add-icon,tr.flexible-shipping-rule-row td.conditions ul li:last-child div.add-icon,tr.flexible-shipping-rule-row th.conditions ul li:last-child div.add-icon{display:block}.common-css td.costs,.common-css th.costs,div.flexible-shipping-rules-settings table.widefat td.costs,div.flexible-shipping-rules-settings table.widefat th.costs,tr.flexible-shipping-rule-row td.costs,tr.flexible-shipping-rule-row th.costs{min-width:170px;padding-right:15px}.common-css td.costs ul,.common-css th.costs ul,div.flexible-shipping-rules-settings table.widefat td.costs ul,div.flexible-shipping-rules-settings table.widefat th.costs ul,tr.flexible-shipping-rule-row td.costs ul,tr.flexible-shipping-rule-row th.costs ul{display:inline-block;vertical-align:top}.common-css td.special-actions,.common-css th.special-actions,div.flexible-shipping-rules-settings table.widefat td.special-actions,div.flexible-shipping-rules-settings table.widefat th.special-actions,tr.flexible-shipping-rule-row td.special-actions,tr.flexible-shipping-rule-row th.special-actions{padding-right:20px!important}.common-css tbody td,div.flexible-shipping-rules-settings table.widefat tbody td,tr.flexible-shipping-rule-row tbody td{border-bottom:0;padding-right:0;padding-left:10px}.common-css td.cb,.common-css td.drag-handle,.common-css th.cb,.common-css th.drag-handle,div.flexible-shipping-rules-settings table.widefat td.cb,div.flexible-shipping-rules-settings table.widefat td.drag-handle,div.flexible-shipping-rules-settings table.widefat th.cb,div.flexible-shipping-rules-settings table.widefat th.drag-handle,tr.flexible-shipping-rule-row td.cb,tr.flexible-shipping-rule-row td.drag-handle,tr.flexible-shipping-rule-row th.cb,tr.flexible-shipping-rule-row th.drag-handle{min-width:20px;text-align:center;vertical-align:middle;padding-right:10px!important;padding-left:15px}.common-css td.drag-handle,div.flexible-shipping-rules-settings table.widefat td.drag-handle,tr.flexible-shipping-rule-row td.drag-handle{vertical-align:middle}.common-css span.drag-handle,div.flexible-shipping-rules-settings table.widefat span.drag-handle,tr.flexible-shipping-rule-row span.drag-handle{cursor:move}.common-css span.drag-handle:before,div.flexible-shipping-rules-settings table.widefat span.drag-handle:before,tr.flexible-shipping-rule-row span.drag-handle:before{display:block;width:28px;height:28px;border:1px solid #ccd0d4;border-radius:50%;line-height:28px;counter-increment:section;content:counter(section)}.common-css td.cb input,.common-css th.cb input,div.flexible-shipping-rules-settings table.widefat td.cb input,div.flexible-shipping-rules-settings table.widefat th.cb input,tr.flexible-shipping-rule-row td.cb input,tr.flexible-shipping-rule-row th.cb input{margin:0}.common-css td.costs div.MuiFormControl-root,div.flexible-shipping-rules-settings table.widefat td.costs div.MuiFormControl-root,tr.flexible-shipping-rule-row td.costs div.MuiFormControl-root{margin-left:0;padding-left:0}.common-css div.MuiFormControl-root.condition,div.flexible-shipping-rules-settings table.widefat div.MuiFormControl-root.condition,tr.flexible-shipping-rule-row div.MuiFormControl-root.condition{margin-right:15px}.common-css input[type=checkbox],div.flexible-shipping-rules-settings table.widefat input[type=checkbox],tr.flexible-shipping-rule-row input[type=checkbox]{border:1px solid #7e8993;background-color:transparent}.common-css div.rule-buttons,div.flexible-shipping-rules-settings table.widefat div.rule-buttons,tr.flexible-shipping-rule-row div.rule-buttons{float:right}.common-css div.dashicons,div.flexible-shipping-rules-settings table.widefat div.dashicons,tr.flexible-shipping-rule-row div.dashicons{padding:5px 10px;color:transparent;display:block}.common-css tr:hover div.dashicons,div.flexible-shipping-rules-settings table.widefat tr:hover div.dashicons,tr.flexible-shipping-rule-row tr:hover div.dashicons{color:#666}.common-css ul,div.flexible-shipping-rules-settings table.widefat ul,tr.flexible-shipping-rule-row ul{padding:0;margin:0}.common-css ul li,div.flexible-shipping-rules-settings table.widefat ul li,tr.flexible-shipping-rule-row ul li{border-bottom:1px solid #dfdfdf;padding:5px 0 10px;min-height:65px;margin-bottom:0;margin-top:0}.common-css ul li:last-child,div.flexible-shipping-rules-settings table.widefat ul li:last-child,tr.flexible-shipping-rule-row ul li:last-child{border-bottom:none}.common-css tr:hover div.delete-icon,div.flexible-shipping-rules-settings table.widefat tr:hover div.delete-icon,tr.flexible-shipping-rule-row tr:hover div.delete-icon{color:red}.common-css .add-icon:before,div.flexible-shipping-rules-settings table.widefat .add-icon:before,tr.flexible-shipping-rule-row .add-icon:before{content:"\F10F"}.common-css .delete-icon:before,div.flexible-shipping-rules-settings table.widefat .delete-icon:before,tr.flexible-shipping-rule-row .delete-icon:before{content:"\F14F"}.common-css tr:hover div.add-icon,div.flexible-shipping-rules-settings table.widefat tr:hover div.add-icon,tr.flexible-shipping-rule-row tr:hover div.add-icon{color:#00669b}.common-css .MuiFormControl-root,div.flexible-shipping-rules-settings table.widefat .MuiFormControl-root,tr.flexible-shipping-rule-row .MuiFormControl-root{padding:0 5px 0 0;margin-left:0}.common-css div.parameter_max,.common-css div.parameter_min,div.flexible-shipping-rules-settings table.widefat div.parameter_max,div.flexible-shipping-rules-settings table.widefat div.parameter_min,tr.flexible-shipping-rule-row div.parameter_max,tr.flexible-shipping-rule-row div.parameter_min{max-width:145px}.common-css div.cost_per_order,div.flexible-shipping-rules-settings table.widefat div.cost_per_order,tr.flexible-shipping-rule-row div.cost_per_order{max-width:140px}.common-css div.additional-cost-cost,div.flexible-shipping-rules-settings table.widefat div.additional-cost-cost,tr.flexible-shipping-rule-row div.additional-cost-cost{min-width:175px}.common-css div.additional-cost-per,div.flexible-shipping-rules-settings table.widefat div.additional-cost-per,tr.flexible-shipping-rule-row div.additional-cost-per{max-width:80px}.common-css div.costs-buttons,div.flexible-shipping-rules-settings table.widefat div.costs-buttons,tr.flexible-shipping-rule-row div.costs-buttons{float:right}.common-css ul li div.costs-buttons div.add-icon,div.flexible-shipping-rules-settings table.widefat ul li div.costs-buttons div.add-icon,tr.flexible-shipping-rule-row ul li div.costs-buttons div.add-icon{display:none}.common-css ul li:last-child div.costs-buttons div.add-icon,div.flexible-shipping-rules-settings table.widefat ul li:last-child div.costs-buttons div.add-icon,tr.flexible-shipping-rule-row ul li:last-child div.costs-buttons div.add-icon{display:inline-block}.common-css div.single-condition div.wc-enhanced-select,div.flexible-shipping-rules-settings table.widefat div.single-condition div.wc-enhanced-select,tr.flexible-shipping-rule-row div.single-condition div.wc-enhanced-select{width:300px;display:inline-block}.common-css div.single-condition div.wc-enhanced-select input.MuiAutocomplete-input:first-child,div.flexible-shipping-rules-settings table.widefat div.single-condition div.wc-enhanced-select input.MuiAutocomplete-input:first-child,tr.flexible-shipping-rule-row div.single-condition div.wc-enhanced-select input.MuiAutocomplete-input:first-child{width:100%;padding:0}.common-css div.single-condition div.wc-enhanced-select.multiple input.MuiAutocomplete-input,div.flexible-shipping-rules-settings table.widefat div.single-condition div.wc-enhanced-select.multiple input.MuiAutocomplete-input,tr.flexible-shipping-rule-row div.single-condition div.wc-enhanced-select.multiple input.MuiAutocomplete-input{min-width:30px!important;width:0!important}.common-css div.single-condition div.wc-enhanced-select.Mui-focused input.MuiAutocomplete-input,div.flexible-shipping-rules-settings table.widefat div.single-condition div.wc-enhanced-select.Mui-focused input.MuiAutocomplete-input,tr.flexible-shipping-rule-row div.single-condition div.wc-enhanced-select.Mui-focused input.MuiAutocomplete-input{max-width:unset;width:100%}.common-css p.MuiFormHelperText-root,div.flexible-shipping-rules-settings table.widefat p.MuiFormHelperText-root,tr.flexible-shipping-rule-row p.MuiFormHelperText-root{color:rgba(0,0,0,.54);font-size:.75rem;margin:3px 0 0;text-align:left;font-family:Roboto,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.66;letter-spacing:.03333em}.common-css input,div.flexible-shipping-rules-settings table.widefat input,tr.flexible-shipping-rule-row input{padding:0;border:0;outline:0}.common-css select,div.flexible-shipping-rules-settings table.widefat select,tr.flexible-shipping-rule-row select{min-height:32px;background-color:transparent}.common-css input::-webkit-inner-spin-button,.common-css input::-webkit-outer-spin-button,div.flexible-shipping-rules-settings table.widefat input::-webkit-inner-spin-button,div.flexible-shipping-rules-settings table.widefat input::-webkit-outer-spin-button,tr.flexible-shipping-rule-row input::-webkit-inner-spin-button,tr.flexible-shipping-rule-row input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.common-css input[type=number],div.flexible-shipping-rules-settings table.widefat input[type=number],tr.flexible-shipping-rule-row input[type=number]{-moz-appearance:textfield}div.flexible-shipping-rules-settings{counter-reset:section}div.flexible-shipping-rules-settings table.widefat{width:auto;min-width:560px}tr.flexible-shipping-rule-row{cursor:-webkit-grabbing;cursor:grabbing}tr.flexible-shipping-rule-row span.drag-handle:before{content:"?"}body.rtl #method_rules .costs-buttons{float:left}body.rtl #method_rules .MuiInputLabel-formControl{right:0}body.rtl #method_rules tbody td{border:0}body.rtl #method_rules .MuiChip-deleteIconSmall{margin-left:4px;margin-right:-4px}body.rtl #method_rules .MuiFormControl-root.special-action{margin-top:5px}body.rtl #method_rules .MuiAutocomplete-root.shipping-class .MuiInputLabel-formControl{right:60px}body.rtl #method_rules .MuiAutocomplete-root.shipping-class .MuiInputLabel-formControl.MuiInputLabel-shrink{right:0}
classes/class-flexible-shipping-plugin.php CHANGED
@@ -62,7 +62,7 @@ class Flexible_Shipping_Plugin extends AbstractPlugin implements HookableCollect
62
  *
63
  * @var string
64
  */
65
- private $scripts_version = FLEXIBLE_SHIPPING_VERSION . '.218';
66
 
67
  /**
68
  * Admin notices.
62
  *
63
  * @var string
64
  */
65
+ private $scripts_version = FLEXIBLE_SHIPPING_VERSION . '.220';
66
 
67
  /**
68
  * Admin notices.
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.0.8
7
  * Author: WP Desk
8
  * Author URI: https://flexibleshipping.com/?utm_source=plugin-list&utm_medium=link&utm_campaign=flexible-shipping-plugin-list
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.0.8';
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.0.9
7
  * Author: WP Desk
8
  * Author URI: https://flexibleshipping.com/?utm_source=plugin-list&utm_medium=link&utm_campaign=flexible-shipping-plugin-list
9
  * Text Domain: flexible-shipping
38
  } // Exit if accessed directly
39
 
40
  /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
41
+ $plugin_version = '4.0.9';
42
 
43
  $plugin_name = 'Flexible Shipping';
44
  $product_id = 'Flexible Shipping';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://flexibleshipping.com/table-rate/
4
  Tags: table rate, table rate shipping, conditional shipping, shipping method, woocommerce shipping, flexible shipping, woocommerce table rate shipping, cart based shipping, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes, shipping, free shipping, advanced shipping
5
  Requires at least: 4.5
6
  Tested up to: 5.6
7
- Stable tag: 4.0.8
8
  Requires PHP: 7.0
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -53,6 +53,9 @@ These are only a few examples of the Flexible Shipping usage, however, its possi
53
  * All free features
54
  * **Shipping classes support**
55
  * Shipping costs based on products' quantity and/or cart line item count
 
 
 
56
  * Additional costs for price, weight, item, cart line item
57
  * Stopping a rule (if the rule is matched the following rules will not be calculated)
58
  * Cancelling a rule (if the rule is matched it will remain hidden and not be displayed among the shipping methods at the checkout)
@@ -163,6 +166,10 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
163
 
164
  == Changelog ==
165
 
 
 
 
 
166
  = 4.0.8 - 2021-01-21 =
167
  * Fixed free shipping calculation when shipping classes used
168
  * Fixed scripts for hebrew installations
4
  Tags: table rate, table rate shipping, conditional shipping, shipping method, woocommerce shipping, flexible shipping, woocommerce table rate shipping, cart based shipping, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes, shipping, free shipping, advanced shipping
5
  Requires at least: 4.5
6
  Tested up to: 5.6
7
+ Stable tag: 4.0.9
8
  Requires PHP: 7.0
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
53
  * All free features
54
  * **Shipping classes support**
55
  * Shipping costs based on products' quantity and/or cart line item count
56
+ * Shipping cost based on the product's maximal dimension
57
+ * Shipping cost based on the volume of the products in the cart
58
+ * Enable/disable shipping method based on the Time of the Day and Day of the week
59
  * Additional costs for price, weight, item, cart line item
60
  * Stopping a rule (if the rule is matched the following rules will not be calculated)
61
  * Cancelling a rule (if the rule is matched it will remain hidden and not be displayed among the shipping methods at the checkout)
166
 
167
  == Changelog ==
168
 
169
+ = 4.0.9 - 2021-02-03 =
170
+ * Fixed debug input data for None rule
171
+ * Added support for RTL in Table Rate interface
172
+
173
  = 4.0.8 - 2021-01-21 =
174
  * Fixed free shipping calculation when shipping classes used
175
  * Fixed scripts for hebrew installations
src/WPDesk/FS/TableRate/Rule/Condition/None.php CHANGED
@@ -44,4 +44,20 @@ class None extends AbstractCondition {
44
  return array();
45
  }
46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  }
44
  return array();
45
  }
46
 
47
+ /**
48
+ * @param array $condition_settings .
49
+ * @param bool $condition_matched .
50
+ * @param string $input_data .
51
+ *
52
+ * @return string
53
+ */
54
+ protected function format_for_log( array $condition_settings, $condition_matched, $input_data ) {
55
+ // Translators: condition name.
56
+ $formatted_for_log = ' ' . sprintf( __( 'Condition: %1$s;', 'flexible-shipping' ), $this->get_name() );
57
+ // Translators: matched condition.
58
+ $formatted_for_log .= sprintf( __( ' matched: %1$s', 'flexible-shipping' ), $condition_matched ? __( 'yes', 'flexible-shipping' ) : __( 'no', 'flexible-shipping' ) );
59
+
60
+ return $formatted_for_log;
61
+ }
62
+
63
  }
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInited23db096a8365c6883e6439e1d780da::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit82906ae01553d7cabb6e07b21b9860d4::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInited23db096a8365c6883e6439e1d780da
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInited23db096a8365c6883e6439e1d780da
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInited23db096a8365c6883e6439e1d780da', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInited23db096a8365c6883e6439e1d780da', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInited23db096a8365c6883e6439e1d780da::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInited23db096a8365c6883e6439e1d780da
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInited23db096a8365c6883e6439e1d780da::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequireed23db096a8365c6883e6439e1d780da($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequireed23db096a8365c6883e6439e1d780da($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit82906ae01553d7cabb6e07b21b9860d4
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit82906ae01553d7cabb6e07b21b9860d4', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit82906ae01553d7cabb6e07b21b9860d4', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit82906ae01553d7cabb6e07b21b9860d4::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInit82906ae01553d7cabb6e07b21b9860d4::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire82906ae01553d7cabb6e07b21b9860d4($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire82906ae01553d7cabb6e07b21b9860d4($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInited23db096a8365c6883e6439e1d780da
8
  {
9
  public static $files = array (
10
  '0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
@@ -596,10 +596,10 @@ class ComposerStaticInited23db096a8365c6883e6439e1d780da
596
  public static function getInitializer(ClassLoader $loader)
597
  {
598
  return \Closure::bind(function () use ($loader) {
599
- $loader->prefixLengthsPsr4 = ComposerStaticInited23db096a8365c6883e6439e1d780da::$prefixLengthsPsr4;
600
- $loader->prefixDirsPsr4 = ComposerStaticInited23db096a8365c6883e6439e1d780da::$prefixDirsPsr4;
601
- $loader->fallbackDirsPsr4 = ComposerStaticInited23db096a8365c6883e6439e1d780da::$fallbackDirsPsr4;
602
- $loader->classMap = ComposerStaticInited23db096a8365c6883e6439e1d780da::$classMap;
603
 
604
  }, null, ClassLoader::class);
605
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit82906ae01553d7cabb6e07b21b9860d4
8
  {
9
  public static $files = array (
10
  '0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
596
  public static function getInitializer(ClassLoader $loader)
597
  {
598
  return \Closure::bind(function () use ($loader) {
599
+ $loader->prefixLengthsPsr4 = ComposerStaticInit82906ae01553d7cabb6e07b21b9860d4::$prefixLengthsPsr4;
600
+ $loader->prefixDirsPsr4 = ComposerStaticInit82906ae01553d7cabb6e07b21b9860d4::$prefixDirsPsr4;
601
+ $loader->fallbackDirsPsr4 = ComposerStaticInit82906ae01553d7cabb6e07b21b9860d4::$fallbackDirsPsr4;
602
+ $loader->classMap = ComposerStaticInit82906ae01553d7cabb6e07b21b9860d4::$classMap;
603
 
604
  }, null, ClassLoader::class);
605
  }