Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 3200

Critical Conflict: Astra Update breaking Custom Checkout

$
0
0

Subject: Critical Conflict: Astra Update breaking Custom Checkout Fields & Shipping Calculation

Message: Hello Support Team,

I am facing a breaking issue on my WooCommerce checkout immediately following the latest Astra Theme update. I am using CartFlows with a child theme for an Algerian store.

The Problem: I use custom PHP/JS to convert the billing_city and shipping_city fields into Dropdown Selects (standard requirement for Algerian logistics).

Since the update, two critical things are failing:

  1. Field Hijacking: Astra’s JavaScript is aggressively forcing these fields back into standard Text Inputs after the page loads. It appears to be re-rendering the DOM, destroying my custom <select> elements and bypassing even a JavaScript MutationObserver.
  2. Broken Shipping Zones: Because of this conflict, the standard WooCommerce AJAX triggers (update_checkout) are failing or being blocked. This results in Shipping Zones not matching correctly, causing shipping rates to freeze, show “Free Shipping” incorrectly, or fail to update when the State/Wilaya is changed.

What I have tried:

  • Disabling Astra’s Woo integration via add_filter( 'astra_enable_woocommerce_integration', '__return_false' ); (Did not work).
  • Using high-priority JS to force the dropdowns (Blocked by Astra).
  • Reverting to the “Old” plugin method (Also blocked by Astra).

My Request: Please provide a filter or snippet to completely disable Astra’s “Modern Checkout” JavaScript handling for form fields. I need Astra to stop manipulating the DOM elements of the checkout form so that standard WooCommerce/CartFlows hooks can function correctly again.

Thank you.


Viewing all articles
Browse latest Browse all 3200

Trending Articles