Plugin Directory

Changeset 3253406


Ignore:
Timestamp:
03/10/2025 03:00:32 PM (12 months ago)
Author:
saulmorales
Message:

tagging version 3.0.34

Location:
shipping-coordinadora-woocommerce
Files:
1 deleted
4 edited
14 copied

Legend:

Unmodified
Added
Removed
  • shipping-coordinadora-woocommerce/tags/3.1.34/includes/class-shipping-coordinadora-wc-admin.php

    r3246808 r3253406  
    1111    public function register_settings(): void
    1212    {
    13 
    1413        $schema = array(
    1514            'type'       => 'object',
     
    155154        printf(
    156155            '<div class="wrap" id="wizard-coordinadora">%s</div>',
    157             esc_html__( 'Cargando…', 'unadorned-announcement-bar' )
     156            esc_html__( 'Cargando…')
    158157        );
    159158        ?>
  • shipping-coordinadora-woocommerce/tags/3.1.34/includes/class-shipping-coordinadora-wc.php

    r3251894 r3253406  
    454454
    455455            $quantity = $item->get_quantity();
     456            $height_product = floatval($_product->get_height());
     457            $weight_product = floatval($_product->get_weight());
    456458
    457459            $namesProducts[] = $_product->get_name();
     
    459461
    460462            $custom_price_product = get_post_meta($_product->get_id(), '_shipping_custom_price_product_smp', true);
     463            $custom_price_product = floatval($custom_price_product);
    461464            $total_valorization += $custom_price_product > 0 ? wc_format_decimal($custom_price_product, 0) : wc_format_decimal($_product->get_price(), 0);
    462465
    463             $height += $_product->get_height() * $quantity;
     466            $height += $height_product * $quantity;
    464467            $length = $_product->get_length() > $length ? $_product->get_length() : $length;
    465             $weight += $_product->get_weight() * $quantity;
     468            $weight += $weight_product * $quantity;
    466469            $width =  $_product->get_width() > $width ? $_product->get_width() : $width;
    467470
  • shipping-coordinadora-woocommerce/tags/3.1.34/readme.txt

    r3251894 r3253406  
    66Tested up to: 6.7.2
    77Requires PHP: 8.1
    8 Stable tag: 3.1.33
     8Stable tag: 3.1.34
    99License: GNU General Public License v3.0
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    122122= 3.1.33 =
    123123* Fixed validation name, SKU of product
     124= 3.1.34 =
     125* Fixed float height, weight
    124126
    125127== Additional Info ==
  • shipping-coordinadora-woocommerce/tags/3.1.34/shipping-coordinadora-wc.php

    r3251894 r3253406  
    33 * Plugin Name: Shipping Coordinadora Woocommerce
    44 * Description: Shipping Coordinadora Woocommerce is available for Colombia
    5  * Version: 3.1.33
     5 * Version: 3.1.34
    66 * Author: Saul Morales Pacheco
    77 * Author URI: https://saulmoralespa.com
     
    1919
    2020if(!defined('SHIPPING_COORDINADORA_WC_CSWC_VERSION')){
    21     define('SHIPPING_COORDINADORA_WC_CSWC_VERSION', '3.1.33');
     21    define('SHIPPING_COORDINADORA_WC_CSWC_VERSION', '3.1.34');
    2222}
    2323
  • shipping-coordinadora-woocommerce/trunk/includes/class-shipping-coordinadora-wc-admin.php

    r3246808 r3253406  
    1111    public function register_settings(): void
    1212    {
    13 
    1413        $schema = array(
    1514            'type'       => 'object',
     
    155154        printf(
    156155            '<div class="wrap" id="wizard-coordinadora">%s</div>',
    157             esc_html__( 'Cargando…', 'unadorned-announcement-bar' )
     156            esc_html__( 'Cargando…')
    158157        );
    159158        ?>
  • shipping-coordinadora-woocommerce/trunk/includes/class-shipping-coordinadora-wc.php

    r3251894 r3253406  
    454454
    455455            $quantity = $item->get_quantity();
     456            $height_product = floatval($_product->get_height());
     457            $weight_product = floatval($_product->get_weight());
    456458
    457459            $namesProducts[] = $_product->get_name();
     
    459461
    460462            $custom_price_product = get_post_meta($_product->get_id(), '_shipping_custom_price_product_smp', true);
     463            $custom_price_product = floatval($custom_price_product);
    461464            $total_valorization += $custom_price_product > 0 ? wc_format_decimal($custom_price_product, 0) : wc_format_decimal($_product->get_price(), 0);
    462465
    463             $height += $_product->get_height() * $quantity;
     466            $height += $height_product * $quantity;
    464467            $length = $_product->get_length() > $length ? $_product->get_length() : $length;
    465             $weight += $_product->get_weight() * $quantity;
     468            $weight += $weight_product * $quantity;
    466469            $width =  $_product->get_width() > $width ? $_product->get_width() : $width;
    467470
  • shipping-coordinadora-woocommerce/trunk/readme.txt

    r3251894 r3253406  
    66Tested up to: 6.7.2
    77Requires PHP: 8.1
    8 Stable tag: 3.1.33
     8Stable tag: 3.1.34
    99License: GNU General Public License v3.0
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    122122= 3.1.33 =
    123123* Fixed validation name, SKU of product
     124= 3.1.34 =
     125* Fixed float height, weight
    124126
    125127== Additional Info ==
  • shipping-coordinadora-woocommerce/trunk/shipping-coordinadora-wc.php

    r3251894 r3253406  
    33 * Plugin Name: Shipping Coordinadora Woocommerce
    44 * Description: Shipping Coordinadora Woocommerce is available for Colombia
    5  * Version: 3.1.33
     5 * Version: 3.1.34
    66 * Author: Saul Morales Pacheco
    77 * Author URI: https://saulmoralespa.com
     
    1919
    2020if(!defined('SHIPPING_COORDINADORA_WC_CSWC_VERSION')){
    21     define('SHIPPING_COORDINADORA_WC_CSWC_VERSION', '3.1.33');
     21    define('SHIPPING_COORDINADORA_WC_CSWC_VERSION', '3.1.34');
    2222}
    2323
Note: See TracChangeset for help on using the changeset viewer.