This topic has 8 replies, 2 voices, and was last updated 2 days, 9 hours ago ago by Abdul Moiz
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
Credentials in private area
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!
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
Hi @Abdul Moiz,
We’ve updated the custom code a little bit.
Could you please check again?
Thank you!
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.
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
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
You must be logged in to reply to this topic.Log in/Sign up