This topic has 11 replies, 4 voices, and was last updated 4 months ago ago by Andrew Mitchell
Hello,
Is it possible to reduce the numbers of admin-ajax.php POST requests?
They are causing slow website loadings. Which theme function is responsible for the (see attached Image)
etheme_check_product_in_cart and etheme_elementor_menu_cart_fragments are loaded several times per page. Dosn’t it cause delays?
Hello MEXESS,
Thank you for contacting us and for using XStore.
Please provide temporary wp-admin and FTP access, we need to check the situation on your site more deeply.
To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.
For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.
Best Regards,
8Theme’s Team
Hi,
I noticed that when i use header created via Elementor it creates additional cart check admin-ajax request (about 3 identical requests).
Now i turned off the Elementor header and i customized my header via Customize theme options. I can say that the admin-ajax requests are now reduced i my store loads much faster.
Currently it creates action: etheme_check_product_in_cart twice. Is this wrong and could it be solved?
Also i have some additional questions:
1. How can i change the font style and size at the slider/dropdown cart? I can’t find these settings anywhere.
2. How can i remove the gray background on the munu (hamburger icon)? See attached image.
Hello MEXESS,
We hope this message finds you well. We kindly request that you provide us with temporary wp-admin and FTP access to facilitate our ongoing collaboration.
For any new inquiries, please initiate separate discussion threads at our support forum: https://www.8theme.com/forums/xstore-wordpress-support-forum/
Thank you for your attention to this matter.
Best Regards,
8Theme’s Team
Private section
Dear @MEXESS,
I hope this message finds you well. We have recently made some modifications to a few files and would appreciate it if you could review these changes at your earliest convenience. Additionally, please note that these adjustments will be incorporated in the upcoming theme update.
Thank you for your attention to this matter.
Best Regards,
Jack Richardson
8Theme’s Team
Hi,
I see now some admin-ajax are not loading which reduce the page loading.
Will these modification still work if i switch my header built with Elementor?
I did quic test with Elementor built header.
Unfortunately action: etheme_elementor_menu_cart_fragments was called 6 time which slows the loading.
Dear @MEXESS,
I hope this message finds you well. I am writing to inform you that the AJAX actions associated with the Cart, Wishlist, and Compare elements in your website’s Header Builder are configured to recognize different parameters to identify the current element being requested.
Upon reviewing the Elementor header on your website, it is evident that there are at least six such elements that trigger these AJAX actions. You can view these elements at the following link: https://www.awesomescreenshot.com/image/49721180?key=fb70b6f4073d0d38e79252e092eef0db.
Should you wish to minimize the frequency of these AJAX calls, we recommend the following steps:
1. Consider removing the Wishlist/Compare options from the mobile menu. This adjustment can be reviewed here: https://gyazo.com/3cfa67be2fa976f5c298a3517d35c6af.
2. Please refer to the solutions suggested in the following discussion for optimizing the Wishlist functionality via AJAX: https://www.8theme.com/topic/how-to-make-wishlist-work-via-ajax-loading-now-the-urls-are-generated/#post-387615.
3. Reconstruct the content of your header to minimize or eliminate any duplications of the same elements (Cart, Wishlist, Compare), ensuring each is added only once.
We trust these recommendations will assist you in enhancing the performance and user experience of your website. Should you require further assistance or have any questions, please do not hesitate to contact us.
Best regards,
Jack Richardson
8Theme’s Team
As per your advice i have reduced the admin-ajax calls to minimum. Now it’s bit better. Thanks for your support!
Dear MEXESS,
Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?
Click here to share your insights: https://themeforest.net/downloads
Your support fuels our journey, and we appreciate it more than words can express.
Best Regards,
The 8Theme Team
The issue related to '‘Wbsite loads slow / Reduce admin-ajax.php’' has been successfully resolved, and the topic is now closed for further responses