@mariebray4 I have already noticed this text appearing on the product page. Don’t worry, just share any product page link here if your website is LIVE. In the next version you will see the improvement.
When I go back into the product via edit and refresh manually it solves the issue for a few mins then comes back.
I have 16 in stock but it keeps saying 10.
https://towngardensandcitypets.com/item/beaphar-dog-flea-shampoo-250ml/
(use post code “HU3 6TA” to view the locations drop down. I had my developer hide it for people who are not local. I had this issue before my developer added this feature.)
I am also getting the “Stock value updated. Please refresh this page.” on the product pages. @fahadmahmood You can view this at https://i.imgur.com/aJj18Js.png . I updated my inventory via a CSV file and got the above message
@fahadmahmood Hi, I checked the method get_all_product_stock_locations_for_selection() on file stock-locations-for-woocommerce\src\helpers\helper-slw-frontend.php, you can see https://i.imgur.com/EnmMX0x.png, then i checked the method get_product_locations_stock_total() on stock-locations-for-woocommerce\src\helpers\helper-slw-product.php, you can see https://i.imgur.com/00qAZj3.png, and i checked the method getProductStockLocations() on stock-locations-for-woocommerce\src\helpers\helper-slw-stock-allocation.php, you can see https://i.imgur.com/fA6abIn.png
I see that, I only get the “Stock value updated. Please refresh this page.” on the variant product page. When I try to refresh the page, stock will be set to 0. Through a few checks on the code, I found the getProductStockLocations() method only works with simple products. I think you update the handling for the variant product in this method so it can work properly
I am releasing a new version which is pending from a few weeks, please try that and confirm the recent status.