• I’ve been using Cart Stock Reducer and WooCommerce Waitlist together for a long time. It used to be that once all stock of a product was carted, the product page would display message “item not available due to pending orders. Check back…”, and then when all stock had actually been purchased, the “join waitlist” button would appear in place of the “add to cart” button. Now “join waitlist” appears along with the “item not available…” message. I’d like to restore the previous behavior if possible. I created a support ticket for the Waitlist plugin, and this was their response:

    The default behaviour for our plugin is to display the waitlist only when a product has it’s status set to “out of stock”. It would appear that a change ?has occurred, probably with an update, causing this stock status to be set at a different time now, do you know if this is the case?
    ?
    Is there a way to determine whether the product is indeed out of stock/carted? If there is a set status or similar you could use this to only show the waitlist when required using some filters in our plugin. You may need to disable waitlists across the board and just show according to these filters, however. Let us know if that’s something you need more information on.
    ?
    You may also wish to contact the developer of the other plugin and enquire as to what changes have been made and how the product is tagged as carted. They may have a solution on hand for the issue you are facing.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author James Golovich

    (@jamesgol)

    There haven’t really been any changes to the code here in a long time. WooCommerce is a moving target, so there might have been a change made there that is causing it.

    Do you know when it worked the way you expect? and what version of WordPress, theme, and plugins were active at the time?

    If you send me a copy of the Waitlist plugin I can do a quick test to see if there’s any obvious issue.

    Thread Starter clayj

    (@clayj)

    Thanks for the quick reply. Honestly, I don’t know exactly when this started. I’ll send you the plugin.

    Has there been a fix for this? I’m having the same conflict with the waitlist plugin.

    Plugin Author James Golovich

    (@jamesgol)

    I believe adding the following to your child theme’s functions.php or some other place will solve the issue:

    add_filter( 'wc_csr_whitelist_get_stock_status', 'add_whitelist_function' );
    function add_whitelist_function( $functions ) {
           $functions[] = 'wcwl_waitlist_should_show';
           return $functions;
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WooCommerce Waitlist issue’ is closed to new replies.