PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

wc-ajax=get_refreshed_fragments called twice

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I just realised that when the plugin is ON, the ?wc-ajax=get_refreshed_fragments post request is duplicated.
When plugin is activated, two requested are made, when plugin is off just one (default) is made.
Why does it happen? Could you fix it so the plugin doesn’t make a new ?wc-ajax=get_refreshed_fragments request and uses the default one?
Having this request duplicated is bad for page speed.
Thanks

Hello

This is required for some themes

Try  to  add in  functions.php

add_filter('woocs_redraw_cart', function($do){

return 0;

});

Hello Pablo, unfortunetly it does not work.

I mean, with or without the function ?wc-ajax=get_refreshed_fragments is duplicated.

Only when i deactivate the plugin the duplicate request is gone.

Hello

I mean, with or without the function ? - I understood you.  this code should fix it - https://c2n.me/4btGNeT.png Please clear  all cache

What plugin version number are you using?

Sorry if it wasnt clear Pablo.

What i mean is that this function does not work.

The result is the same when I add the function or if the function is not there.

What I mean is, if the function is there, wc-ajax=get_refreshed_fragments is loaded twice too.

So it the function does not change anything unfortunatley.

The plugin version I have is WOOCS v.2.3.4.1

thanks

Hello

Please paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png and  wp-admin+FTP access - https://c2n.me/42BAoj4.png