Change Log

Version 1

PREVNEXT
VERSION 1.2.1.5
PREVNEXT

2019-06-21

Fixes

  • Fixed sale prices dates' behaviour in variation products.
  • CSS fixes.

VERSION 1.2.1.4
PREVNEXT

2019-06-14

Fixes

  • Fixed wrong calculations in orders when using non-standard decimal separators.

VERSION 1.2.1.3
PREVNEXT

2019-06-13

Changes

  • Changed stock on hold formula.

Fixes

  • Fixed Inventory Logs showing wrong total when taxes were applied.
  • Fixed date format in Inventory model.
  • Prevent some payment gateWays to re-add inventory items to orders that were already processed.
  • Fixed error on some cases when the "show out of stock" option is enabled.
  • Fixed inventory data being displayed as unsaved when no changes were made.
  • Fixed location/region removals and changes.
  • Fixed cache conflict when chaging the shipping address in the checkout.
  • Refactory.

VERSION 1.2.1.2
PREVNEXT

2019-06-03

Fixes

  • Fixed prices being saved incorrectly when not using dots as decimal points.
  • Refactory.

VERSION 1.2.1.1
PREVNEXT

2019-05-24

Fixes

  • Prevent saving and showing Multi-Inventory's data within WPML translations.
  • Refactory.

VERSION 1.2.1
PREVNEXT

2019-05-18

Changes

  • Added exclude path to TypeScript config.
  • Check product compatibility before applying the multi-price logic.
  • Hide Multi-Inventory fields and data for incompatible product types.

Fixes

  • Fixed error when duplicating a product.
  • Avoid conflicts with jQuery UI's datepicker.
  • Rebind the DateTimePickers when cloning an inventory.
  • Fixed DateTimePicker options object.
  • Fixed prices not able to set empty values for the main inventories on Stock Central.
  • Fixed inventories sorting not working on variations.
  • Fixed issue when saving a WPML translation that was removing the inventories data.
  • Fixed casting error on WPML integration.
  • Fixed cart item total for Product Bundles when Multi Price is enabled.
  • Fixed wrong stock status on bundled items with Multi-Inventory enabled.
  • Fixed Supplier fields that were displayed in all producs when Multi-Inventory plugin was activated.
  • Fixed wrong discounts being displayed for bundled items within orders.
  • Fixed order items for bundled products.
  • Fixed PHP notice when adding a Composite product to the cart.
  • CSS fixes.
  • Refactory.

VERSION 1.2.0.1
PREVNEXT

2019-05-08

Fixes

  • Fixed SQL syntax error.
  • Refactory.
  • CSS recompilation.

VERSION 1.2.0
PREVNEXT

2019-04-18

Features

  • Performance improvement: reduced number of db queries performed in Stock Central to the half.
  • Performance improvement: added new key indexes to Multi-Inventory tables.
  • Added all the calculated MI columns to Stock Central.

Changes

  • Moved the Multi-Inventory tables creation to the Upgrade class.
  • Moved the new MI columns to the inventories table.
  • Added the inventory order items when the orders are created instead of when the stock is reduced.

Fixes

  • Added the correct name when cloning an inventory, and open first one by default.
  • Allow to calculate the proper stock when executing a non-ATUM Ajax action.
  • SQL bug fix.
  • Added all the calculated MI columns to Stock Central.
  • Fixed blank cells showing on Sales Last Days column.
  • Fixed decimal numbers issue when adding inventories to an order.
  • Fixed wrong stock saved in products when WPML was active.
  • WPML fix: prevent re-adding actions if they weren't added before.
  • Fixed refund message not shown.
  • Refactory.

VERSION 1.1.3
PREVNEXT

2019-04-06

Features

  • Completed JS Refactory to TypeScript.

Changes

  • Removed woocommerce_admin dependency.
  • Show Set Purchase Price only in Purcahse Orders.

Fixes

  • Fixed Inventory Log notes were no reflecting stock inventory changes.
  • Fixed duplicate status when the status changes in MI's product panel.
  • Show correct message when writte off is marked/unmarked.
  • Fixed inventory cloning.
  • Change to correct status when clicked remove icon (write off) from an inventory.
  • Fixed selling priority functionality and hide out stock threshold field when manage stock is enabled.
  • Fixed min/max date in BBE date field.
  • Fixed tooltip hiding in Inventory Logs.

VERSION 1.1.2
PREVNEXT

2019-03-29

Features

  • JS Refactory to TypeScript (work in progress).

Fixes

  • Fixed Inventory Logs to take correct price when a product has multi price enabled.
  • Fixed WC orders to show correct price when a product hass multi price enabled.
  • Fixed bookable product prices shown if Multi-Inventory is active.
  • Fixed drag control in inventory list inserted twice.
  • Fixed compounded stock for variable products in Stock Central.
  • Fixed Stock Central's checkboxes selection behaviour.
  • Fixed issue in cart total price when Inventory Iteration is "Show out of stock".
  • Fixed issue getting inventories with multi-price.
  • Refactory.

VERSION 1.1.1.1
PREVNEXT

2019-03-13

Features

  • Allow to set distinct purchase prices for distinct inventories on Purchase Orders if multi-price is enabled.

Changes

  • Delete all the Multi-inventory data when the option in ATUM settings is enabled.
  • Purchase Order takes the first inventory's purchase price if multi-price is enabled.

Fixes

  • Added subscription price when MI is enabled.
  • Fixed stock not being dicounted properly when WPML is active.
  • Fixed some hidden select2 when they shouldn't.
  • Fixed missing notice argument in orders.
  • Refactory.

VERSION 1.1.1
PREVNEXT

2019-03-08

Features

  • Performance improvements: reduced the number of db queries using cache.

Fixes

  • Avoid CSS conflicts with other plugins using Select2.
  • Avoid problems with file_get_contents getting the stylesheet from the file system.

VERSION 1.1.0.1
PREVNEXT

2019-03-01

Changes

  • Cache refactoring.
  • Added compatibility to order refunds when using Product Levels with BOM Stock Control enabled.

Fixes

  • Fixed adding regular price to subscription products.

VERSION 1.1.0
PREVNEXT

2019-02-22

Features

  • Added compatibility between Multi-Inventory and WC Product Bundles.
  • Add MI UI when a product bundle is added to a WC order.
  • Improved performance using cache.
  • Added WC Subscription products compatibility.

Changes

  • Updated MI section title style for variations.

Fixes

  • Fixed get stock value returning availabe stock.
  • Fixed Geo Prompt's infinite loop for logged-in users with no address fields set.
  • Fixed using "wc_get_low_stock_amount" in WooCommerce versions lower than 3.5.
  • Fixed cache not being removed when saving metaboxes.
  • Adapted JS to the new ATUM model.
  • CSS fixes.
  • Refactory.

VERSION 1.0.7.6
PREVNEXT

2019-01-31

Fixes

  • Fixed: Frontend product stock status doesn't change when it runs out of stock and the first inventory is the Main inventory.

VERSION 1.0.7.5
PREVNEXT

2019-01-30

Fixes

  • Fixed "Allow backorders" field not saved properly in Inventories.
  • Fixed "can be backordered" message not shown in the frontend when it should.
  • Fixed max quantity a product can be bought not set properly in the frontend.

VERSION 1.0.7.4
PREVNEXT

2019-01-18

Changes

  • Moved bootstrap datetimepicker to ATUM.

Fixes

  • Fixed Stock Central totalizers for products with MI enabled.
  • Prevent "get_order_item_subtotal" to access items from other order types.
  • Fixed bug when calculating quantities in Orders.
  • Update the db for inventory order items set before this fix.
  • Prevent Upgrade from running several times.
  • Refactory.
  • CSS fixes.

VERSION 1.0.7.3
PREVNEXT

2018-12-20

Fixes

  • Fixed undefined variable error.
  • Fixed GeoPrompt CSS.
  • Fixed inventories table creation SQL.
  • Minor CSS fixes.

VERSION 1.0.7.2
PREVNEXT

2018-12-17

Changes

  • Using autoprefixer when compiling SCSS to CSS.

Fixes

  • Text typo change.
  • CSS fixes.

VERSION 1.0.7.1
PREVNEXT

2018-12-14

Changes

  • Updated order type for Invenory Log items.

Fixes

  • Fixed stock status not updating when changing the Out of Stock Threshold.
  • Fixed minimum versions checks.
  • Fixed some wrong text domains.
  • Fixed icons.
  • CSS fixes.

VERSION 1.0.7
PREVNEXT

2018-12-11

Features

  • Performance improvements using cache.
  • Added the max attribute to MI products' quantity input.
  • Moved MI meta keys to table columns in db.
  • Use Out of stock threshold as max units available for each inventory.
  • Added stock status column to MI management popup in orders.
  • Added unmanaged icons to order item inventories.

Changes

  • Added ATUM 1.5.0 compatibility.
  • Replaced image icons to ATUM icons.
  • Remove region from MI management popup if not needed.
  • Hide "add inventory" button when no more inventories are available to add.
  • Set to 1 the minimum quantity by default when adding a product to an order when using decimals for stock.

Fixes

  • Fixed Regions not being saved in the right format.
  • Fixed Write Off/ Un-write Off for inventories.
  • Fixed PO not changing the MI stock when the status changes.
  • Fixed out of stock threshold for inventories.
  • Fixed product showing as "0 in stock" in front-end.
  • Fixed duplicated "set purchase price" button in Purchase Orders.
  • Fixed dates that cannot be removed after being set.
  • Fixed stock quantities at front-end when some of the product inventories are not managing the stock.

VERSION 1.0.6
PREVNEXT

2018-11-08

Features

  • Added custom decimals to quantity fields.
  • Prevent removing last assigned inventory to any to order line item.
  • Check minimum required versions for PHP, WC and ATUM before loading.

Changes

  • Hide stock quantity from inventory header for inventories with the "Manage Stock" disabled.
  • Add the first available inventory item when adding Multi-Inventory products to orders.

Fixes

  • Fixed forum URLs.
  • Fixed order line totals not being calculated properly.
  • Fixed: changing stock from ATUM orders could cause deleting stock in Main Inventory.
  • Fixed inventory data not being saved from Stock Central.
  • Fixed: Multi-Inventory panel in ATUM order items not being deleted when deleting the associated item.
  • Fixed Inventory::get_metadata to return the full array of meta when no meta_key is passed.
  • Refactory.

VERSION 1.0.5
PREVNEXT

2018-10-31

Fixes

  • Fixed Inventory manage stock field was not saved properly in not main inventories.

VERSION 1.0.4
PREVNEXT

2018-10-31

Features

  • Use cache to improve performance.
  • Added WPML compatibility.

Fixes

  • Fixed limit usage for multi-price item discounts.
  • Refactory: code style.

VERSION 1.0.3
PREVNEXT

2018-10-30

Features

  • Added multi-level inheritable products multi price support when showing prices in the frontend.

Fixes

  • Fixed inheritable products will show price 0 when multi price is disabled.
  • Fixed discounts in multi price items.
  • Fixed multi price products don't include/exclude the taxes when showing the price in the frontend.
  • Fixed Multi price out of stock inventories price not included when showing the price in the frontend.

VERSION 1.0.2
PREVNEXT

2018-10-29

Features

  • Added a privacy page field to Geo Prompt settings when using a WC version older than 3.4.0.
  • Added a privacy page field to User Destination widget settings when using a WC version older than 3.4.0.

Changes

  • Do not show the form confirmation checkbox if the Privacy Text field is empty.

Fixes

  • Fixed compatibility with WooCommerce 3.0.0.

VERSION 1.0.1
PREVNEXT

2018-10-26

Features

  • The first public release of Multi-Inventory add-on. Check the add-on page for more info: https://www.stockmanagementlabs.com/addons/multi-inventory/