Hi Team,
I have a similar request. I have both the cart and checkout on the same page, and I’ve added the following line at the end of the POST action, similar to how the native WooCommerce ajax functionality works.
if ( $( '.woocommerce-checkout' ).length ) $( document.body ).trigger( 'update_checkout' );
Please ensure that this is added into future revisions.
Thanks.
Ok.
Thanks a lot.
Greatly appreciate your help.
Right, I see what you mean. Thanks a lot for that.
(there are 170k meta records ….)
Can I change my query as you suggest while still using the WP function syntax?
Or would I need to write my query now manually in raw SQL?