Plugin Directory

Changeset 3045271


Ignore:
Timestamp:
03/04/2024 10:11:08 PM (2 years ago)
Author:
saulmorales
Message:

tagging version 7.0.2

Location:
shipping-servientrega-woocommerce
Files:
4 deleted
3 edited
5 copied

Legend:

Unmodified
Added
Removed
  • shipping-servientrega-woocommerce/tags/7.0.2/includes/class-shipping-servientrega-wc.php

    r3037317 r3045271  
    66{
    77    public $servientrega;
     8
     9    const MIN_WEIGHT_ALLOWED = 3;
    810
    911    public function __construct($instance_id = 0)
     
    349351        }
    350352
    351         $data['weight'] = max(ceil($volume_weight), $data['weight']);
     353        $weight = max(ceil($volume_weight), $data['weight']);
     354        $data['weight'] = $instance->servientrega_product_type === '2' && $weight < self::MIN_WEIGHT_ALLOWED ? self::MIN_WEIGHT_ALLOWED : $weight;
    352355        $data['total_valorization'] = max($data['total_valorization'], $total_min_shipping);
    353356
  • shipping-servientrega-woocommerce/tags/7.0.2/readme.txt

    r3037317 r3045271  
    66Tested up to: 6.4.3
    77Requires PHP: 8.1
    8 Stable tag: 7.0.1
     8Stable tag: 7.0.2
    99License: GNU General Public License v3.0
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5050== Changelog ==
    5151
    52 = 5.0.0 =
    53 * Updated calculate shipping
    54 = 5.0.1 =
    55 * Fixed ssl calculate shipping
    56 = 5.0.2 =
    57 * Fixed special characters of cities
    58 = 5.0.3 =
    59 * Fixed saved origin city and refactor shipping_servientrega_get_shop
    60 = 5.0.4 =
    61 * Fixed default marketplace dokan shipping_servientrega_get_shop
    62 = 5.0.5 =
    63 * Fixed apply_filter servientrega_shipping_calculate_cost
    64 = 5.0.6 =
    65 * Fixed servientrega_product_type in calculate_cost
    66 = 5.0.7 =
    67 * Fixed servientrega_product_type in calculate_cost
    68 = 5.0.8 =
    69 * Fixed ceil dimensions and updated readme version wordpress
    70 = 5.0.9 =
    71 * Fixed function dimensions_weight
    72 = 5.0.10 =
    73 * Fixed settings
    74 = 5.0.11 =
    75 * Fixed generate guide
    76 = 5.0.12 =
    77 * Refactor config.js
    78 = 5.0.13 =
    79 * Updated settings
    80 = 5.0.14 =
    81 * Updated settings
    82 = 5.0.15 =
    83 * Fixed calculate_cost
    84 = 5.0.16 =
    85 * Fixed name_destination, content_column_print_guide
    86 = 5.0.17 =
    87 * Fixed calculate_cost
    88 = 5.0.18 =
    89 * Added register_deactivation_hook
    90 = 5.0.19 =
    91 * Updated wp compatible version
    92 = 5.0.20 =
    93 * Fixed settings
    94 = 5.0.21 =
    95 * Updated supported for multisite
    96 = 5.0.22 =
    97 * Updated prints type options of guide
    98 = 5.0.23 =
    99 * Updated cities, Bogotá
    100 = 5.0.24 =
    101 * Updated wp compatible version
    102 = 5.0.25 =
    103 * Updated guzzlehttp/guzzle
    104 = 5.0.26 =
    105 * Updated call Utils::jsonDecode
    106 = 5.0.27 =
    107 * Fixed non-static method Shipping_Servientrega_WC_Plugin::variation_settings_fields
    108 = 5.0.28 =
    109 * Fixed endpoints WebService
    110 = 5.0.29 =
    111 * Fixed endpoints WebService
    112 = 5.0.30 =
    113 * Fixed options SOAP
    114 = 5.0.31 =
    115 * Fixed SSL SOAP
    116 = 5.0.32 =
    117 * Updated compatible with Multi-vendor
    118 = 5.0.33 =
    119 * Updated class name button generate guide
    120 = 5.0.34 =
    121 * Fixed round weight of pieces
    122 = 5.0.35 =
    123 * Fixed count pieces in calculate_cost
    124 = 5.0.36 =
    125 * Fixed generate guide
    12652= 6.0.0 =
    12753* Added bulk action generate_guides_servientrega
     
    13460= 7.0.1 =
    13561* Updated determine the type of weight to use
     62= 7.0.2 =
     63* Fixed min weight allowed in "mercancia premier"
    13664
    13765== Additional Info ==
     
    13967
    14068== Credits ==
    141 *  [Saul Morales Pacheco](https://saulmoralespa.com) [@saulmoralesp](http://twitter.com/saulmoralesp)
     69*  [Website](https://saulmoralespa.com) [Linkedin](https://www.linkedin.com/in/saulmoralespa/)
  • shipping-servientrega-woocommerce/tags/7.0.2/shipping-servientrega-wc.php

    r3037317 r3045271  
    33 * Plugin Name: Shipping Servientrega Woocommerce
    44 * Description: Shipping Servientrega Woocommerce is available for Colombia
    5  * Version: 7.0.1
     5 * Version: 7.0.2
    66 * Author: Saul Morales Pacheco
    77 * Author URI: https://saulmoralespa.com
     
    1717
    1818if(!defined('SHIPPING_SERVIENTREGA_WC_SS_VERSION')){
    19     define('SHIPPING_SERVIENTREGA_WC_SS_VERSION', '7.0.1');
     19    define('SHIPPING_SERVIENTREGA_WC_SS_VERSION', '7.0.2');
    2020}
    2121
  • shipping-servientrega-woocommerce/trunk/includes/class-shipping-servientrega-wc.php

    r3037317 r3045271  
    66{
    77    public $servientrega;
     8
     9    const MIN_WEIGHT_ALLOWED = 3;
    810
    911    public function __construct($instance_id = 0)
     
    349351        }
    350352
    351         $data['weight'] = max(ceil($volume_weight), $data['weight']);
     353        $weight = max(ceil($volume_weight), $data['weight']);
     354        $data['weight'] = $instance->servientrega_product_type === '2' && $weight < self::MIN_WEIGHT_ALLOWED ? self::MIN_WEIGHT_ALLOWED : $weight;
    352355        $data['total_valorization'] = max($data['total_valorization'], $total_min_shipping);
    353356
  • shipping-servientrega-woocommerce/trunk/readme.txt

    r3037317 r3045271  
    66Tested up to: 6.4.3
    77Requires PHP: 8.1
    8 Stable tag: 7.0.1
     8Stable tag: 7.0.2
    99License: GNU General Public License v3.0
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5050== Changelog ==
    5151
    52 = 5.0.0 =
    53 * Updated calculate shipping
    54 = 5.0.1 =
    55 * Fixed ssl calculate shipping
    56 = 5.0.2 =
    57 * Fixed special characters of cities
    58 = 5.0.3 =
    59 * Fixed saved origin city and refactor shipping_servientrega_get_shop
    60 = 5.0.4 =
    61 * Fixed default marketplace dokan shipping_servientrega_get_shop
    62 = 5.0.5 =
    63 * Fixed apply_filter servientrega_shipping_calculate_cost
    64 = 5.0.6 =
    65 * Fixed servientrega_product_type in calculate_cost
    66 = 5.0.7 =
    67 * Fixed servientrega_product_type in calculate_cost
    68 = 5.0.8 =
    69 * Fixed ceil dimensions and updated readme version wordpress
    70 = 5.0.9 =
    71 * Fixed function dimensions_weight
    72 = 5.0.10 =
    73 * Fixed settings
    74 = 5.0.11 =
    75 * Fixed generate guide
    76 = 5.0.12 =
    77 * Refactor config.js
    78 = 5.0.13 =
    79 * Updated settings
    80 = 5.0.14 =
    81 * Updated settings
    82 = 5.0.15 =
    83 * Fixed calculate_cost
    84 = 5.0.16 =
    85 * Fixed name_destination, content_column_print_guide
    86 = 5.0.17 =
    87 * Fixed calculate_cost
    88 = 5.0.18 =
    89 * Added register_deactivation_hook
    90 = 5.0.19 =
    91 * Updated wp compatible version
    92 = 5.0.20 =
    93 * Fixed settings
    94 = 5.0.21 =
    95 * Updated supported for multisite
    96 = 5.0.22 =
    97 * Updated prints type options of guide
    98 = 5.0.23 =
    99 * Updated cities, Bogotá
    100 = 5.0.24 =
    101 * Updated wp compatible version
    102 = 5.0.25 =
    103 * Updated guzzlehttp/guzzle
    104 = 5.0.26 =
    105 * Updated call Utils::jsonDecode
    106 = 5.0.27 =
    107 * Fixed non-static method Shipping_Servientrega_WC_Plugin::variation_settings_fields
    108 = 5.0.28 =
    109 * Fixed endpoints WebService
    110 = 5.0.29 =
    111 * Fixed endpoints WebService
    112 = 5.0.30 =
    113 * Fixed options SOAP
    114 = 5.0.31 =
    115 * Fixed SSL SOAP
    116 = 5.0.32 =
    117 * Updated compatible with Multi-vendor
    118 = 5.0.33 =
    119 * Updated class name button generate guide
    120 = 5.0.34 =
    121 * Fixed round weight of pieces
    122 = 5.0.35 =
    123 * Fixed count pieces in calculate_cost
    124 = 5.0.36 =
    125 * Fixed generate guide
    12652= 6.0.0 =
    12753* Added bulk action generate_guides_servientrega
     
    13460= 7.0.1 =
    13561* Updated determine the type of weight to use
     62= 7.0.2 =
     63* Fixed min weight allowed in "mercancia premier"
    13664
    13765== Additional Info ==
     
    13967
    14068== Credits ==
    141 *  [Saul Morales Pacheco](https://saulmoralespa.com) [@saulmoralesp](http://twitter.com/saulmoralesp)
     69*  [Website](https://saulmoralespa.com) [Linkedin](https://www.linkedin.com/in/saulmoralespa/)
  • shipping-servientrega-woocommerce/trunk/shipping-servientrega-wc.php

    r3037317 r3045271  
    33 * Plugin Name: Shipping Servientrega Woocommerce
    44 * Description: Shipping Servientrega Woocommerce is available for Colombia
    5  * Version: 7.0.1
     5 * Version: 7.0.2
    66 * Author: Saul Morales Pacheco
    77 * Author URI: https://saulmoralespa.com
     
    1717
    1818if(!defined('SHIPPING_SERVIENTREGA_WC_SS_VERSION')){
    19     define('SHIPPING_SERVIENTREGA_WC_SS_VERSION', '7.0.1');
     19    define('SHIPPING_SERVIENTREGA_WC_SS_VERSION', '7.0.2');
    2020}
    2121
Note: See TracChangeset for help on using the changeset viewer.