• Resolved andrew

    (@urchindesign)


    We are having issues with variable products, stock management and orders. We are using the default WooCommerce stock settings.

    In some instances an order will show the product variation details and sku in the details and remove the stock from the variation product.

    In other instances the order will show the product parent sku and will not remove the stock from the variation that was order.

    In some instances this happens with all products in the order, in other instances it is only some of the products in the order.

    The issue seems fairly random and doesn’t happen with every order or every product. All products are set up the same way and when inspecting the products there doesn’t appear to be a difference in how they were set up.

    The main issue is that most of the products have limited stock and aren’t products that can be easily bought. As such the product stock is important and we don’t allow back orders. This means, if people order an out of stock product, or more of a product we have stock of, we need to process refunds. This obviously annoys our customers.

    Here is an example in the same order – see the details and the notes.
    There were multiple variable products ordered but only two of them had stock reduced.




    Here is an example set up of a variable product. The parent SKU is used to add the products via an import with WP All Import.

    Screenshots of the top inventory, attributes and variation settings. This is the same for all variable products however we have these inconsistencies with the orders.

    • This topic was modified 4 months, 4 weeks ago by andrew.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support omarfpg a11n

    (@omarfpg)

    Hi Andrew @urchindesign,

    This one is certainly puzzling, but I do love a good puzzle! Let’s help you troubleshoot this one.

    First, though, the screenshots didn’t come through. The forums don’t allow for direct pasting of images. You could use a service like https://snipboard.io/ to paste them there and share the link here (or embed them with the /image block!).

    That being said, the issue seems fairly random and intermittent, but there are still certain strings we can pull to learn more.

    1st, can you tell us if the products that present this issue always present this issue, or is it even intermittent for the same product? I’m thinking this is product specific, but please confirm if you can!

    2nd, are the products that present the issue imported with WP All Import? Do you have products created manually? Have those presented issues?

    Additionally, are your WooCommerce, WordPress, theme, and payment gateway all up to date?

    Finally for now, can you check for errors in your WooCommerce > Status > Logs, please? If you find any fatal error logs, kindly share them here via https://gist.github.com/.

    Cheers!
    -OP

    Thread Starter andrew

    (@urchindesign)

    Thanks for getting back to me.

    I eventually figured out our issues. In the end it related to an issue with the theme layout in our search results.

    Because we have a parent SKU and only the variations have stock management turned on we had issues with the ‘add to cart’ button allowing users to add products to the cart without first selecting the variation.

    This was an issue on our end relating to our search results which showed an add to cart button instead of a button to the product. This meant the users were able to add products to the cart without selecting the variation. Essentially ordering the parent product.

    I’ve fixed this in our search results template.

    Hey, @urchindesign!

    I’m glad to hear you were able to solve the issue ??

    Thank you for sharing the solution here and contributing to the WooCommerce Community. This might help other users in the future.

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Have a wonderful day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.