Variable Products – stock/inventory issue
-
Hi,
I’ve seen a couple of mentions of similar problems but no definitive resolution:
Scenario:
We have products with variations, some with multiple (e.g. colour and size), others just with one variation (size), but the issue occurs across all of them.
for example:- We have a product, with two size variations. One Variation has a stock quantity of 3, another has a stock quantity of 0.
- In the back-end, the product shows the correct number of items in stock for the product.
- In the front-end, the items shows as ‘In Stock’ for both sizes, even though one of the variations has a zero stock quantity.
- The only way to stop the ‘out of stock’ variation appearing in the front-end is to manually disable it in variations.
- We have ‘manage inventory’ set, we do NOT allow back-orders and setting the ‘Hide Out of Stock Items’ to true makes no difference.
- We are not using a caching plugin, and are on the latest versions of WordPress and Jigoshop.
From a quick look at the product_variations class code, it will set a variation stock quantity to that of the parent product IF there is no stock quantity found for the variation, but as it is set to 0 (zero) that shouldn’t be happening.
Can anyone provide any pointers/suggestions?
thanks
- The topic ‘Variable Products – stock/inventory issue’ is closed to new replies.