firepages
Forum Replies Created
-
Forum: Plugins
In reply to: [Stock Locations for WooCommerce] Location Stock MismatchHi Fahad,
The problem is that on a busy site, one order can place an item out of stock in the stock locations but still showing as availble to purchase because the main stock level has not been updated.
Forum: Plugins
In reply to: [Stock Locations for WooCommerce] Location Stock MismatchBut does that mean we have to run the cron job every time there is a new order ?
Forum: Plugins
In reply to: [Stock Locations for WooCommerce] Location Stock MismatchHi Fahad,
That’s the message that your plugin generates. I just copied and pasted it.
No – I have not tried the cron jobs because this is happening on every single order, so that’s not workable.
I can fix each product by going to the product edit screen and just pressing update.
Again – we can’t really do this for every product on every order – something has changed in Woocommerce 7.1 that seems to have broken your plugin. if I roll back to 7.0.1, then it’s fine – stock is decremeneted properley after each order but not with 7.1
Regards
SimonForum: Plugins
In reply to: [Stock Locations for WooCommerce] Allocation Proirites Not WorkingHi,
Is there any update on this please ?
We are also seeing problems with refunds – stock is not updated when the option to put items back into stock is ticked.
Thanks
SimonForum: Plugins
In reply to: [Stock Locations for WooCommerce] Allocation Proirites Not WorkingHi,
Yes – no problem.
Regards
SimonForum: Plugins
In reply to: [Stock Locations for WooCommerce] Allocation Proirites Not WorkingHi Gordon,
Yes – I got the same results, although I didn’t try back orders.
Regards
SimonForum: Plugins
In reply to: [Stock Locations for WooCommerce] Allocation Proirites Not WorkingHi,
I beleive that I have managed to fix this by modifying the following lines in helper-slw-stock-allocation.php (public_html/wp-content/plugins/stock-locations-for-woocommerce/src/helpers)
// Sort uasort($locations, function($a, $b) { $a_priority = isset($a->slw_location_priority) ?: $a->term_id; $b_priority = isset($b->slw_location_priority) ?: $b->term_id; if ($a_priority == $b_priority) { return 0; } return ($a_priority < $b_priority) ? -1 : 1; });
to
// Sort uasort($locations, function($a, $b) { $a_priority = isset($a->slw_location_priority) ?$a->slw_location_priority: $a->term_id; $b_priority = isset($b->slw_location_priority) ?$b->slw_location_priority: $b->term_id; if ($a_priority == $b_priority) { return 0; } return ($a_priority < $b_priority) ? -1 : 1; });
Forum: Plugins
In reply to: [Sequential Order Number for WooCommerce] Not working anymoreOK – thanks for your help with this.
Forum: Plugins
In reply to: [Sequential Order Number for WooCommerce] Not working anymoreHi,
I don’t think this is resolved. Since the last update we have problems wuith order numbers skipping on several sites.