All Questions
Tagged with admin-ajax woocommerce
7
questions
0
votes
0
answers
33
views
Woocommerce ajax return empty shipping packages
Am trying to get the shipping packages with ajax but its always returning empty value.
same issue while trying to call get the zones with: WC_Shipping_Zones::get_zones();
am using the same code in ...
0
votes
1
answer
118
views
Wordpress Ajax returning full html of same page
Am trying to run Ajax call in my Woocommerce checkout page, but am always getting the full html of same page return.
add_action( 'wp_enqueue_scripts', 'theme_scripts' );
function theme_scripts() {
...
0
votes
0
answers
334
views
nopriv actions not working when not logged in
I'm redoing a client's WP/WooCommerce site and I'm having trouble with admin-ajax actions when the customer is not logged in.
I don't believe the nopriv actions are being found by the ajax call.
If ...
1
vote
1
answer
1k
views
Wordpress ajax-admin.php waiting time too long
My wordpress admin dashboard is loading slowly and taking too much time to load. The wordpress homepage loading time is okay. But when I logged in, and move to admin dashboard, all activities loaded ...
1
vote
2
answers
359
views
Can't use WC_Order in admin-ajax.php
I'm trying to retrieve order information within the admin-ajax.php request, but it is returning protected objects with no data. Is there a way to access this?
I'm using this:
$data = new WC_Order($...
1
vote
0
answers
957
views
Why is admin-ajax.php being called so many times
On my WooCommerce site, can anyone tell me why admin-ajax.php is being called so many times, because it's killing my site load times.
I read about the admin-ajax/heartbeat api issue and tried ...
2
votes
0
answers
2k
views
Set Woocommerce woocommerce_get_refreshed_fragments call admin-ajax.php run after page loads
I optimzed my site with cahce and it speeds to about 2 sec load time.
The problem is that even that everything is done loading, but there are is 2 ajax call to admin-ajax.php with a action called ...