• Resolved JapeNZ

    (@japenz)


    Hi there,
    When I update variable stock levels in Woocommerce I see the following error message:

    The stock has not been updated because the value has changed since editing. Product ****** has * units in stock.

    * represent product number and changed stock level

    To replicate:
    Create a variable product with 2 or more product variations,

    Status: Published
    Visibility: Public
    Catalog visibility: Shop and search results, Featured

    Change stock quantity of any product variation and update.

    Are you able to test on your end and see if you get the same error message please?

    I’ve tested on a staging site with just Woocommerce and Rank Math SEO active.

    Thank you for your help!

    • This topic was modified 1 year, 2 months ago by JapeNZ.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter JapeNZ

    (@japenz)

    Hello again,

    After a little extra testing, it seems it’s PHP related.

    I’m seeing the error with PHP 8.2 and 8.0, but not with 7.4.

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @japenz,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    We have tested this on our end but can’t replicate the issue. This is our current setup:

    PHP: 8.0.0 / 8.2
    WordPress: 6.3
    Woocommerce: 8.0.3
    Rank Math: 1.0.122 and 3.0.43

    Please see video screencast:
    https://i.rankmath.com/v/CCRAn1

    Please check if the issue you are experiencing isn’t coming from a plugin conflict. To determine that, please follow this guide: https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thread Starter JapeNZ

    (@japenz)

    Hi @rankmathteam,

    Thank you for looking into this and sending through the video, really helpful!

    Can you change the variation stock amount and hit update, rather than save changes then update please?

    I’m seeing the same result as you when I ‘save changes’ then update the product, but when I just update (which runs the ‘save changes’ as part of the update) I’m seeing the error previosuly mentioned.

    This is with only Rank Math and Woocommerce active, and the same Rank Math, WP, WC and PHP (8.2) as you.

    I’m testing with the Storefront theme.

    Thanks again!

    • This reply was modified 1 year, 2 months ago by JapeNZ.
    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @japenz,

    We are able to replicate the issue on our end. This has been forwarded to the devs and we will inform you as soon as we have an update.

    We really appreciate your patience in the meantime.

    Thank you.

    Thread Starter JapeNZ

    (@japenz)

    Hi @rankmathteam,

    Has there been any movement on this?

    Thank you for your help.

    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @japenz,

    Our developers are working on this, and we will let you know once we release an update with a fix.

    We really appreciate your patience. Please do not hesitate to let us know if you need our assistance with anything else in the meantime.

    Thank you.

    Hello,

    @rankmathsupport.

    Do you have any update regarding the issue describe above. We can replicate also on our live website.

    Thanks.

    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @nvr21,

    Thank you so much for getting in touch.

    Unfortunately, we don’t have an update with regards to this yet and we don’t have an ETA on when we will add the fix.

    You can keep an eye on our changelog to get notified when we release this improvement in an update: https://rankmath.com/changelog/

    We appreciate your time and patience in the meantime.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Woocommerce conflict with variable product stock level changes’ is closed to new replies.