jamesgol / woocommerce-cart-stock-reducer

Allow WooCommerce inventory stock to be reduced when adding items to cart
GNU General Public License v2.0
58 stars 19 forks source link

Broken after upgrade to WP 4.8.3 #53

Closed hyvellasse closed 7 years ago

hyvellasse commented 7 years ago

After upgrading to WP 4.8.3, all products get the status that they are in a cart and are not available. If I disable Cart Stock Reducer in woocommerce the problem disappear. Ok I know that is not tested for 4.8.3 but Cart Stock Reducer is a very good feature. Especially when you have products that exists only in one copy.

Best regards

jamesgol commented 7 years ago

Thanks for the report, I haven't had a chance to test with the released 4.8.3 but I know I did some testing while it was in development. I'll have to track that down when I get a chance.

jamesgol commented 7 years ago

I just tested with WordPress 4.8.3 and the latest WooCommerce and don't see any problems. I tested with this plugin dev version and 2.10. Are you using different versions?

hyvellasse commented 7 years ago

I also have Woocommerce 3.2.2 and Cart Stock Reducer 2.10.

jamesgol commented 7 years ago

Which message are you getting? I tried reproducing with some other settings and haven't been able to get it to fail

hyvellasse commented 7 years ago

When I open a product I get the messages that I have configured in the Woocommerce configuration/Integration "Pending Order Text" And I get this on all products.

jamesgol commented 7 years ago

Odd that I can't reproduce this. Can you try clearing the WooCommerce sessions/carts?

hyvellasse commented 7 years ago

Ok how do I do that. :-)

jamesgol commented 7 years ago

WooCommerce (menu)->Status (submenu)->Tools (Tab)->Clear customer sessions (button)

hyvellasse commented 7 years ago

Ok I think this helped I can't see the problem any more after i have turned on the Cart Stock Reducer. I also tested to add a product to the basket and remove it. And all seems to be working. I get the "Pending Order Text" when adding. And the "Pending Order Text" disappear when removing the product from the basket.

Thanks for the help.

jamesgol commented 7 years ago

Glad it's working. If you run into any more issues please open up another ticket.