• harryf98

    (@harryf98)


    Hello Everyone,

    I have an issue with the out-of-stock functionality.
    The product gets out of stock on the specified date and becomes unpurchable in the front end. The issue is that the meta-field _stock_status is not updated accordingly. When filtering my products by meta field, I see products that should not be visible.

    I see this as a bug. Is there maybe a function or a cron job I could run to set them correctly?

    Thanks in advance for your help!
    Cheers Harry

Viewing 4 replies - 1 through 4 (of 4 total)
  • I have the same problem. Did you find an solution or workaround for this?

    Thread Starter harryf98

    (@harryf98)

    I purchased the pro version to get support, they explained to me that this is how it should work. They gave me a snippet that did not work for my use case and stopped responding… Maybe you have more luck

    I ended up writing a timer on my own just doing this one thing.
    Works by adding a metabox to products and then adds a wp-cron once a day.

    Posted the code on github here.

    Hi @aprwebdesign,

    I’m trying to use the plugin you created, but it doesn;t seem to be working.

    Is it still working?

    For testing I’ve been setting the date to either the current day, or before and manually running the cron created by the plugin… I’m not having much luck though.

    Any recommendations would be very much appreciated!

    Thank you for your help ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Out of Stock – ISSUE’ is closed to new replies.