Plugin Directory

Changeset 2974880


Ignore:
Timestamp:
10/04/2023 06:57:22 PM (2 years ago)
Author:
AdvancedCreation
Message:

Fixed issue with empty orders

Location:
shipworks-e-commerce-bridge/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • shipworks-e-commerce-bridge/trunk/controler.php

    r2945703 r2974880  
    44* Plugin URI: https://adv.design
    55* Description: ShipWorks Connector will connect your E-Commerce site (such as WooCommerce) and ShipWorks.
    6 * Version: 5.0.7
     6* Version: 5.0.8
    77* Author: AdvancedCreation
    88* Author URI: https://adv.design
     
    1010* Domain Path: /languages
    1111* WC requires at least: 2.0
    12 * WC tested up to: 7.9.0
     12* WC tested up to: 8.1.1
    1313License: GPL2
    1414*/
    1515if ( ! defined( 'ABSPATH' ) ) exit;
    1616
    17 if (!defined('SHIPWORKSWORDPRESS_VERSION')) define('SHIPWORKSWORDPRESS_VERSION','5.0.6');
     17if (!defined('SHIPWORKSWORDPRESS_VERSION')) define('SHIPWORKSWORDPRESS_VERSION','5.0.8');
    1818if (!defined('SHIPWORKSWORDPRESS_HOME')) define('SHIPWORKSWORDPRESS_HOME','https://adv.design/');
    1919if (!defined('PLUGIN_URL_SHIPWORKSWORDPRESS'))  define( 'PLUGIN_URL_SHIPWORKSWORDPRESS', plugin_dir_url( __FILE__ ) );
  • shipworks-e-commerce-bridge/trunk/model/Item.class.php

    r2814638 r2974880  
    246246        $this->price = getItemInfo( $this->row, '_line_total' );
    247247        $this->subTotal = getItemInfo( $this->row, '_line_subtotal' );
    248         $this->unitprice = filtreFloat($this->subTotal / $this->quantity);
     248        if($this->quantity != 0) $this->unitprice = filtreFloat($this->subTotal / $this->quantity);
     249        else $this->unitprice = 0;
    249250
    250251            // On regarde si il y a le plugin woocommerce-bulk-discount woocommerce-bulk-discount.php
  • shipworks-e-commerce-bridge/trunk/readme.txt

    r2945703 r2974880  
    44Tags: shipworks, woocommerce, shipping, order manager, shipping manager, woocommerce shipping, shipment tracking, Woocommerce Composite Products, Woocommerce Sequential Order Numbers, Woocommerce Shipping Multiple Addresses
    55Requires at least: 3.0.1
    6 Tested up to: 6.2.2
    7 Stable tag: 5.0.5
     6Tested up to: 6.3.1
     7Stable tag: 5.0.7
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    2424
    2525= Compatible E-Commmerce software =
    26 * Woocommerce ( Minimum version 2.0, tested up to 7.9.0 )
     26* Woocommerce ( Minimum version 2.0, tested up to 8.1.1 )
    2727
    2828= Minimum Requires: =
    29 * Wordpress 3.0 ( Minimum version 3.0, tested up to 6.2.2)
     29* Wordpress 3.0 ( Minimum version 3.0, tested up to 6.3.1)
    3030* Shipworks 3.0 (or minimum version you have)
    3131
     
    139139
    140140== Changelog ==
     141= 5.0.8 =
     142* Fixed issue with empty orders
    141143= 5.0.6 =
    142144* Fixed issue with Shipping Line Item
Note: See TracChangeset for help on using the changeset viewer.