Changeset 2850327
- Timestamp:
- 01/18/2023 09:25:25 AM (3 years ago)
- Location:
- delyvax/trunk
- Files:
-
- 4 edited
-
changelog.txt (modified) (1 diff)
-
delyvax.php (modified) (2 diffs)
-
functions.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
delyvax/trunk/changelog.txt
r2804159 r2850327 5 5 This file contains older changelog entries, so we can keep the size of the standard WordPress readme.txt file reasonable. 6 6 For the latest changes, please see the "Changelog" section of the [readme.txt file](https://plugins.svn.wordpress.org/delyvax/trunk/readme.txt). 7 8 = 1.1.34 = 9 *Release Date - 29th October 2022* 10 11 * Free shipping feature. 12 13 = 1.1.33 = 14 *Release Date - 25th October 2022* 15 16 * Bug-fixes for volumetric weight calculation. 17 18 = 1.1.32 = 19 *Release Date - 16th October 2022* 20 21 * Bug-fixes. 22 23 = 1.1.31 = 24 *Release Date - 14th October 2022* 25 26 * Fixed create delivery order issue for sub-order. 27 28 = 1.1.30 = 29 *Release Date - 2nd June 2022* 30 31 * Fix warning message. 32 33 = 1.1.29 = 34 *Release Date - 29th March 2022* 35 36 * Enable display rates on the Cart page. 37 38 = 1.1.28 = 39 *Release Date - 28th March 2022* 40 41 * Can exclude description in the note. 42 43 = 1.1.27 = 44 *Release Date - 8th March 2022* 45 46 * Change order status to Package is Ready after delivery order has been created. 7 47 8 48 = 1.1.26 = -
delyvax/trunk/delyvax.php
r2848883 r2850327 4 4 Plugin URI: https://delyva.com 5 5 description: The official Delyva plugin helps store owners to integrate WooCommerce with [Delyva](https://delyva.com) for seamless service comparison and order processing. 6 Version: 1.1.4 06 Version: 1.1.41 7 7 Author: Delyva 8 8 Author URI: https://delyva.com … … 13 13 defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); 14 14 define('DELYVAX_API_ENDPOINT', 'https://api.delyva.app/'); 15 define('DELYVAX_PLUGIN_VERSION', '1.1.4 0');15 define('DELYVAX_PLUGIN_VERSION', '1.1.41'); 16 16 17 17 require_once plugin_dir_path(__FILE__) . 'functions.php'; -
delyvax/trunk/functions.php
r2848883 r2850327 1029 1029 $weight_unit = get_option('woocommerce_weight_unit'); 1030 1030 // convert other unit into kg 1031 if ($weight_unit != 'kg') { 1032 if ($weight_unit == 'g') { 1033 return $weight * 0.001; 1034 } else if ($weight_unit == 'lbs') { 1035 return $weight * 0.453592; 1036 } else if ($weight_unit == 'oz') { 1037 return $weight * 0.0283495; 1031 1032 if($weight > 0) 1033 { 1034 if ($weight_unit != 'kg') { 1035 if ($weight_unit == 'g') { 1036 return $weight * 0.001; 1037 } else if ($weight_unit == 'lbs') { 1038 return $weight * 0.453592; 1039 } else if ($weight_unit == 'oz') { 1040 return $weight * 0.0283495; 1041 } 1038 1042 } 1039 1043 } … … 1045 1049 { 1046 1050 $dimension_unit = get_option('woocommerce_dimension_unit'); 1051 1047 1052 // convert other units into cm 1048 if ($dimension_unit != 'cm') { 1049 if ($dimension_unit == 'm') { 1050 return $length * 100; 1051 } else if ($dimension_unit == 'mm') { 1052 return $length * 0.1; 1053 } else if ($dimension_unit == 'in') { 1054 return $length * 2.54; 1055 } else if ($dimension_unit == 'yd') { 1056 return $length * 91.44; 1053 if($length > 0) 1054 { 1055 if ($dimension_unit != 'cm') { 1056 if ($dimension_unit == 'm') { 1057 return $length * 100; 1058 } else if ($dimension_unit == 'mm') { 1059 return $length * 0.1; 1060 } else if ($dimension_unit == 'in') { 1061 return $length * 2.54; 1062 } else if ($dimension_unit == 'yd') { 1063 return $length * 91.44; 1064 } 1057 1065 } 1058 1066 } -
delyvax/trunk/readme.txt
r2848883 r2850327 33 33 == Changelog == 34 34 35 = 1.1.41 = 36 *Release Date - 18th January 2023* 37 38 * Bug-fixes for non-numeric or empty dimension or weight. 39 35 40 = 1.1.40 = 36 41 *Release Date - 16th January 2023* … … 63 68 * Better support for COD & Insurance Cover. 64 69 65 = 1.1.34 =66 *Release Date - 29th October 2022*67 68 * Free shipping feature.69 70 = 1.1.33 =71 *Release Date - 25th October 2022*72 73 * Bug-fixes for volumetric weight calculation.74 75 = 1.1.32 =76 *Release Date - 16th October 2022*77 78 * Bug-fixes.79 80 = 1.1.31 =81 *Release Date - 14th October 2022*82 83 * Fixed create delivery order issue for sub-order.84 85 = 1.1.30 =86 *Release Date - 2nd June 2022*87 88 * Fix warning message.89 90 = 1.1.29 =91 *Release Date - 29th March 2022*92 93 * Enable display rates on the Cart page.94 95 = 1.1.28 =96 *Release Date - 28th March 2022*97 98 * Can exclude description in the note.99 100 = 1.1.27 =101 *Release Date - 8th March 2022*102 103 * Change order status to Package is Ready after delivery order has been created.104 105 70 For older changelog entries, please see the [additional changelog.txt file](https://plugins.svn.wordpress.org/delyvax/trunk/changelog.txt) delivered with the plugin.
Note: See TracChangeset
for help on using the changeset viewer.