qTranslate-Team / woocommerce-qtranslate-x

Enables multilingual framework for plugin "WooCommerce - excelling eCommerce".
GNU General Public License v3.0
11 stars 19 forks source link

Problem with Stock Management #39

Open snyoz opened 7 years ago

snyoz commented 7 years ago

Hi guys, I’ve got a problem with the plugin – maybe you know how to fix it 🙂

The issue affected my stock management in woocommerce.

Let me describe it:

I have a lot of products with a stock of “1” in my shop. I’ve activated the stock management for each product and that they should sold individually. Everything is fine until here.

But after purchasing and going back to the product page of the sold product there is still a green hint which includes “0 IN STOCK” instead of “out of stock”. So the stock status will be not affected but the product is still visible.

How can that happen? Im using the latest woocommerce version and the latest version of this plugin and the main qTranslate Plugin.

FYI: Back Orders are turned off. And I also set a “check” into the checkbox Inventory > Hide Sold-Out Products (in Woocommerce Backend)

When the I turn off the plugin ‘woocommerce-qtranslate-x’ the problem will not appear anymore. Something in the code seems to cause the bug. I love qTranslate very much but this bug makes me very sad.

Maybe someone of you can help me! Thank you guys!

soft79 commented 7 years ago

Try implementing this PR: https://github.com/qTranslate-Team/woocommerce-qtranslate-x/pull/44

nalato commented 7 years ago

This patch works for me. Thanks!