Waitlist popup on product page doesn’t close after clicking confirm button

This topic has 13 replies, 3 voices, and was last updated 11 months, 2 weeks ago ago by Family Care

  • Avatar: Family Care
    Family Care
    Participant
    December 30, 2024 at 12:11

    On product page lets say https://familycare.pk/product/d-check-mesh-nebulizer/ when you click add to waitlist and then in popup after clicking confirm, popup doesn’t close but on listing page or in quick view it closes successfully. It should show similar behaviour here as well and close automatically it added to waitlist.
    Check screen recording for explanation: https://monosnap.com/file/wr7k9WYfTbzirvpIYyfcTxkvUeitU7

    12 Answers
    Avatar: Family Care
    Family Care
    Participant
    December 30, 2024 at 12:13

    Credentials in private area

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    December 30, 2024 at 16:30

    Hi @Abdul Moiz,

    Please try adding the following code under functions.php file locates in your child theme:

    
    add_action('wp_footer', 'n2t_wp_footer');
    function n2t_wp_footer() {
        ?>
        <script>
            jQuery(document).on('xstore_waitlist_fragment_refresh', function (){
                jQuery('.et-close-popup').click();
            });
        </script>
        <?php
    }
    

    Hope it helps!

    Avatar: Family Care
    Family Care
    Participant
    December 30, 2024 at 17:20

    I have tried it and put in theme funcitons but it doesn’t work.
    I already shared with you access where you can check yourself.
    in child theme in theme functions file, near the end of file. plz check this code

    Avatar: Justin
    Luca Rossi
    Support staff
    January 1, 2025 at 13:47

    Hi @Abdul Moiz,

    We’ve updated the custom code a little bit.

    Could you please check again?

    Thank you!

    Avatar: Family Care
    Family Care
    Participant
    January 1, 2025 at 13:59

    I have checked it. It isn’t a good fix. It now even closes without checking if I consent checkbox.

    So it has side effects on listing and quick view too. Also if once opened popup and clicked button cannot open again on listing and quick view. Might be some side effects.

    Avatar: Justin
    Luca Rossi
    Support staff
    January 2, 2025 at 10:34

    Dear @Abdul Moiz,

    We hope this message finds you well.

    By default, the popup should automatically be hidden after submitting your email. To address the issue you are experiencing, we kindly request that you remove all custom code to ensure there are no conflicts with the waitlist popup functionality.

    If the issue persists, we recommend testing for potential conflicts with third-party plugins. To do this, please temporarily disable any non-essential third-party plugins that are not part of the XStore theme package. For your reference, you can find the list of included plugins here: https://www.8theme.com/documentation/xstore/plugins/included-plugins/.

    After deactivating the unnecessary plugins, we kindly ask that you clear your browser’s cache and check if the issue has been resolved. This step is important, as conflicts with third-party plugins can sometimes lead to unexpected behavior.

    Should you require further assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: Family Care
    Family Care
    Participant
    January 2, 2025 at 11:50

    Thank you for the update. We have checked and found a custom js which was affecting it. We have removed that and it works fine now on product page.

    But we have found another bug related to it on the listing page which might be theme-wide bug so would request your kind cooperation to fix that.
    On listing page, when out of stock button is showing in list and in quick buy if we open waitlist popup it opens two popups
    check video for details: https://monosnap.com/file/Gg9uVcvyb8AGU1fLuaQwd1bUBQMJ9e

    Avatar: Family Care
    Family Care
    Participant
    January 6, 2025 at 12:10

    Is there any update on this?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 6, 2025 at 17:00

    Dear @Abdul Moiz,

    Thank you for reaching out to us.

    We would like to inform you that we are actively working on resolving the issue you reported. It appears to be a global bug rather than a minor issue, and we are dedicating our efforts to finding a solution as quickly as possible.

    Rest assured, we will notify you as soon as the issue is resolved. We sincerely appreciate your patience and understanding in the meantime.

    If you have any further questions or concerns, please do not hesitate to contact us.

    Best regards,
    The 8Theme Team

    Avatar: Family Care
    Family Care
    Participant
    January 6, 2025 at 18:49

    Thanks for the update.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 7, 2025 at 15:39

    Dear @Abdul Moiz,

    We hope this message finds you well.

    We kindly request you to review the updates made to the waitlist popup on your website. Our team has implemented improvements in the JavaScript files related to the popups and uploaded the updated files to your website. Please note that these changes will also be included in the next theme update.

    Should you have any questions or require further assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: Family Care
    Family Care
    Participant
    January 7, 2025 at 17:42

    yes, now it closes so it looks good. thanks for your support

  • Viewing 13 results - 1 through 13 (of 13 total)

The issue related to '‘waitlist popup on product page doesn’t close after clicking confirm button’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.