saulodefaria
Forum Replies Created
-
So, what was the solution? I’m kind of having the same issue.
Thanks!Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Edit comment_post_ID on ReviewHi @ivole! Thanks for the answer.
Maybe I wasn’t clear. Let’s say I have a product X. I have created 2 products, Y and Z, where Y is two units of X and Z is 4 units of X. Now, when they buy Y or Z, they will make a review for Y and Z. What I want is to programmatically change the reviews from Y and Z to X, because in the end, it’s just X that I sell.
Makes sense?
Thanks!!Just an update on this.
On the file classes\Inc\Helpers.php, if I replace on line 1853:
if ( is_null( $inbound_stock ) || $force ) {
with
if ( 1 ) {
The inbound stock updates in the table.
So I guess it’s related to Atum cache.
Hi Salva,
I use WP Rocket and have some server caching. But I think it’s not only in my installation. I just created a demo on your site (https://demo.productlevels.stockmanagementlabs.com/) and it’s happening the same thing, inbound and warehouse are not updating. I double checked and PO is “ordered” and inventory logs is “pending”.
I see that there’s some caching in the plugin’s code, like AtumCache::set_cache. Could this be the cause?
Thanks!
Hi Salva! Thanks for the answer.
Yes, that’s the case.
Take a look at the pictures, please:
This is stock central: https://ibb.co/p2KXSZC
This are the inbound: https://ibb.co/2WwZRdz
And these are the logs: https://ibb.co/pnGLQF7It looks like the table is cached somehow. Because I did have a PO for 300 units of the second product, but now it’s complete, and it keeps showing 300 on Stock Central.
Thanks!
SauloForum: Plugins
In reply to: [OnSale Page for WooCommerce] Add content before the pageThanks! Butt that added the shortcode between the shop grid and the breadcrumb/sorting area. Any hook to place the shortcode before that?