• Hi,

    I found an issue.
    Many of my products are variations.

    For example:
    Variation of one piece and a pack of 10 pieces.
    If the stock quantity of one piece is 20, then I should be able to order two packs.
    First won’t work, if I want to add 15 I got a modal message “Order quantity will be adjusted […] Available quantity […] is 12.”.
    I don’t know why 12?!
    If I want to add 20, the same message apperas but with 14 “Available quantity […] is 14.”, totally weird.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter qhiliqq

    (@qhiliqq)

    I changed line 169 in classes/class-otfw-ajax.php
    to if ($product->managing_stock() and false == $variation_product) {.

    Now it seems to work again.

    Plugin Author arosoft

    (@arosoft)

    Hi,
    first I need to mention that the stock level is at the “package” level. (not piece level)
    I have tried to replicate the issue without succsess, so I am interested in how you have set up the stock management. For example, the stock level for a variation product can be managed at both variation and product levels.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Product quantity failure in variation articles’ is closed to new replies.