Home Forums WoodMart support forum New feature Wait list

New feature Wait list

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #591264

    bv
    Participant

    Hi there,

    I am testing a new feature “Wait list”. I can see how everything is working without a manual (I think), except how do customers are noticed when the item is back in stock…
    – I enabled the feature,
    – made the changes to the emails in Woocommerce -> Settings -> Emails.
    – made an user which subscribed to the item which is out of stock.
    – verify subscription

    But when I set the item back in stock – I do not receive any emails from the system regarding the info about back in stock for the item I subscribed?

    Am I missing something?

    Regards,
    Brane

    #591309

    Artem Temos
    Keymaster

    Hello,

    Try to add the following PHP code snippet to the child theme functions.php while testing emails and let me know how it works

    add_filter(
        'woodmart_waitlist_schedule_time',
        function() {
            return MINUTE_IN_SECONDS;
        }
    )

    Kind Regards

    #591329

    bv
    Participant

    Hi Artem,

    I am getting fatal error:
    Parse error: syntax error, unexpected end of file in /www/staging/wp-content/themes/woodmart-child/functions.php on line 177
    with your code…

    Regards,
    Brane

    #591339

    Kate M.
    Keymaster

    Sorry, try to replace previous custom code with following code snippet

    add_filter(
        'woodmart_waitlist_schedule_time',
        function() {
            return MINUTE_IN_SECONDS;
        }
    );

    Regards.

    #591341

    bv
    Participant

    OK, now the website is working with this new code – but what should I do after this?

    Regards,
    Brane

    #591431

    Artem Temos
    Keymaster

    Now you should get emails when the product is back in stock without delays. Let me know if it works.

    #591497

    bv
    Participant

    Hello Artem,

    Unfortunately but still not not working. I checked several times.

    Regards,
    Brane

    #591656

    Artem Temos
    Keymaster

    Hello,

    It looks like it is broken because of server authentication. Please try to disable it manually and test how it works.

    Kind Regards

    #591736

    bv
    Participant

    Hello,

    Note that I am able to receive verification email from the server when I join to Wait list, so I don’t think it is problem with server authentication.

    But just for the record, I have deleted server authentication. But still not working.
    Server authentication is still disable – so u can try it yourself.

    Regards,
    Branislav

    #591788

    Artem Temos
    Keymaster

    Hello,

    It seems like the problem is caused by locked cron jobs on your website https://monosnap.com/file/1OK6CMOgBiixLmQd7bnNzWz3y5oTPG
    When we remove this code, it starts working correctly https://monosnap.com/file/tAm4wLgmt004057lfed73g2CLncjeI

    Kind Regards

    #591857

    bv
    Participant

    I can confirm that it is working now.
    Thank you.

    #591944

    Artem Temos
    Keymaster

    Great, we are glad that you sorted it out. Feel free to contact us if you have any further questions.

Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘New feature Wait list’ is closed to new replies.