Changeset 2974880
- Timestamp:
- 10/04/2023 06:57:22 PM (2 years ago)
- Location:
- shipworks-e-commerce-bridge/trunk
- Files:
-
- 3 edited
-
controler.php (modified) (2 diffs)
-
model/Item.class.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shipworks-e-commerce-bridge/trunk/controler.php
r2945703 r2974880 4 4 * Plugin URI: https://adv.design 5 5 * Description: ShipWorks Connector will connect your E-Commerce site (such as WooCommerce) and ShipWorks. 6 * Version: 5.0. 76 * Version: 5.0.8 7 7 * Author: AdvancedCreation 8 8 * Author URI: https://adv.design … … 10 10 * Domain Path: /languages 11 11 * WC requires at least: 2.0 12 * WC tested up to: 7.9.012 * WC tested up to: 8.1.1 13 13 License: GPL2 14 14 */ 15 15 if ( ! defined( 'ABSPATH' ) ) exit; 16 16 17 if (!defined('SHIPWORKSWORDPRESS_VERSION')) define('SHIPWORKSWORDPRESS_VERSION','5.0. 6');17 if (!defined('SHIPWORKSWORDPRESS_VERSION')) define('SHIPWORKSWORDPRESS_VERSION','5.0.8'); 18 18 if (!defined('SHIPWORKSWORDPRESS_HOME')) define('SHIPWORKSWORDPRESS_HOME','https://adv.design/'); 19 19 if (!defined('PLUGIN_URL_SHIPWORKSWORDPRESS')) define( 'PLUGIN_URL_SHIPWORKSWORDPRESS', plugin_dir_url( __FILE__ ) ); -
shipworks-e-commerce-bridge/trunk/model/Item.class.php
r2814638 r2974880 246 246 $this->price = getItemInfo( $this->row, '_line_total' ); 247 247 $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; 249 250 250 251 // On regarde si il y a le plugin woocommerce-bulk-discount woocommerce-bulk-discount.php -
shipworks-e-commerce-bridge/trunk/readme.txt
r2945703 r2974880 4 4 Tags: shipworks, woocommerce, shipping, order manager, shipping manager, woocommerce shipping, shipment tracking, Woocommerce Composite Products, Woocommerce Sequential Order Numbers, Woocommerce Shipping Multiple Addresses 5 5 Requires at least: 3.0.1 6 Tested up to: 6. 2.27 Stable tag: 5.0. 56 Tested up to: 6.3.1 7 Stable tag: 5.0.7 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 24 24 25 25 = 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 ) 27 27 28 28 = 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) 30 30 * Shipworks 3.0 (or minimum version you have) 31 31 … … 139 139 140 140 == Changelog == 141 = 5.0.8 = 142 * Fixed issue with empty orders 141 143 = 5.0.6 = 142 144 * Fixed issue with Shipping Line Item
Note: See TracChangeset
for help on using the changeset viewer.