Skip to content

Commit

Permalink
2.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fahadmahmood8 committed Jan 21, 2024
1 parent 804a07f commit 7716cd4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ On settings page you can define a number. If location stock value will be less t


== Changelog ==
= 2.6.2 =
- Fix: Quantity always 0 - https://wordpress.org/support/topic/quantity-always-0/. [Thanks to mrmelson][21/01/2024]

= 2.6.1 =
- New: Stock location enable/disable tooltip help for stock value update with the input field. [Thanks to dennebar][07/01/2024]

Expand Down
4 changes: 2 additions & 2 deletions src/src/classes/class-slw-stock-locations-tab.php
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,8 @@ public static function update_product_stock( $id, $product_stock_location_terms,
}


$manage_stock = get_post_meta($id, '_manage_stock', true) === 'yes';
if( ! $manage_stock ) {

if( !get_post_meta($id, '_manage_stock', true) ) { // 21/01/2024 @mrmelson
return $stock_ret;
}

Expand Down
2 changes: 1 addition & 1 deletion src/stock-locations-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@

class SlwMain{
// versions
public $version = '2.6.0';
public $version = '2.6.2';
public $import_export_addon_version = '1.1.1';

// others
Expand Down

0 comments on commit 7716cd4

Please sign in to comment.