woodmart add to cart very slow
-
After adding to the cart, 7-8 seconds later it performs the add to cart process. It doesn’t do this in a different theme.
Attachments:
You must be
logged in to view attached files.
Hello,
Try to add the following PHP code snippet to the child theme functions.php file to fix this
add_filter( 'woodmart_update_fragments_fix', '__return_true' );
Kind Regards
In which field should I add this PHP code snippet in the function.php file?
Attachments:
You must be
logged in to view attached files.
You need to use the child theme for such modifications. Read our documentation about child theme here https://xtemos.com/docs-topic/setup-child-theme/
I installed the child theme as you said. Then I added the code you specified to the function.php file. But the problem still persists. There was very little acceleration. Also, after adding the child theme, my site speed dropped.
Attachments:
You must be
logged in to view attached files.
As we can see, your add-to-cart time now is ~300-700ms which is quite fast. And in general, the child theme doesn’t affect your website performance anyhow.
Add to cart as you said yes. But after installing the child theme, my site speed dropped from 98% to 57%. Also, there was a problem in the tag manager. I can’t access the live chat I added.
It is not related to the child theme since it doesn’t add any styles or scripts to your website. You can switch to the parent theme and see that the speed will be the same.