• Hello!

    Issue:
    1. Searching variation by SKU & changing stock: https://prntscr.com/r3kf54
    2. Save button generates JS errors & save fails (no change done, white screen only): https://prntscr.com/r3khwp

    Same stock change runs succesfull for the same SKU if you dont use search, just by scrolling down & searching manually with your eyes ??

    Plugin version: 2.0.2 (latest)
    Let me know if you need anything else to investigate the issue further.

    Regards:
    Tom

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author storeapps

    (@storeapps)

    Hi,

    Sorry for the delayed response.

    As checked, we were unable to reproduce the same issue as per the steps described by you.

    Could you please try to reproduce the same issue by having only WooCommerce Stock Manager and WooCommerce plugins active on your store to rule out any possible plugin conflict issue and then do let me know your views.

    Further, if still the issue persists, then please reach out to us from here (along with a mention of this thread).

    I ran into this same problem. Here are the steps I took that make it not work.

    1. I searched for the SKU of a variation in a variable product.
    2. Just the variation came up in the search results
    3. I changed the number under stock.
    4. When I clicked out of the field the Save All Changes button appeared.
    5. When I clicked on the Save All Changes button the screen went blank with just the WooCommerce Stock Manager header and there were 3 JS errors saying TypeError: “e.images is undefined”
    6. I clicked on WooCommerce Stock Manager on the left menu to get back into the tool and the stock for that item was not updated.
    7. I then searched for the product by name and the whole variable product came up in the results.
    8. I clicked on the Variable product gray box in the Product type column
    9. I went to change the stock in the same variation (that did not work when just the variation came up) and saved it and the stock was updated.

    So it looks like there is a problem updating a variation when you search for just the variation, but it updates when you have the whole variable product there. I just updated to the latest 2.1.0 and it is acting like this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Saving variations stock after search makes JS error’ is closed to new replies.